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

Henning Rogge (spam-protected)
Sat Jun 26 14:13:49 CEST 2010


Am Samstag 26 Juni 2010, 14:07:57 schrieb Katharina Haselhorst:
> 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?

There seem to be some glibc version with bad include files out there. 

http://lists.olsr.org/pipermail/olsr-users/2010-June/004072.html

You can fix them by hand or get a different glibc.

Henning
-- 
1) You can't win.
2) You can't break even.
3) You can't leave the game.
— The Laws of Thermodynamics, summarized
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20100626/1dc7545d/attachment.sig>


More information about the Olsr-users mailing list