[Olsr-users] ifnet.c chk_if_up() tos undeclared -> same problem with different glibc version

Katharina Haselhorst (spam-protected)
Sat Jun 26 14:07:57 CEST 2010


Hello,

I experience the same problem mentioned in 
http://lists.olsr.org/pipermail/olsr-users/2010-June/004067.html:

make aborts with
gcc -march=i686 -mtune=generic -O2 -pipe -ggdb -Isrc  -DUSE_FPM -Dlinux 
-DLINUX_NETLINK_ROUTING -DDEBUG    -c -o src/unix/ifnet.o src/unix/ifnet.c
src/unix/ifnet.c: In function ‘chk_if_up’:
src/unix/ifnet.c:551:20: error: ‘tos’ undeclared (first use in this 
function)
src/unix/ifnet.c:551:20: note: each undeclared identifier is reported 
only once for each function it appears in
make: *** [src/unix/ifnet.o] Error 1

However, I have have a newer version of glibc (2.12-4), you mentioned 
that the problem was fixed in 2.11-2? I tried to compile olsrd both with 
gcc 4.4.3 and gcc 4.5.0 (running on linux 32 bit with kernel 2.6.34) 
without success.
On another system with glibc 2.11-1 and gcc 4.4.3 olsrd compiled just 
fine. Any ideas?

Katharina Haselhorst




More information about the Olsr-users mailing list