[Olsr-users] ifnet.c chk_if_up() tos undeclared

Michael Rack (spam-protected)
Tue Jun 22 20:11:01 CEST 2010


  Thanks for tracking down my problem.

As you rightly observed, glibc header-file netinet/ip.h was changed 
since glibc-2.11.2.

I've installed the master-git version of glibc, because glibc was not 
able to compile correct on i686 plattforms without patching some files. 
I thought the problem of glibc is solved in the current developer tree, 
but it is not. Now i did compile glibc-2.11.2 from source. Now olsrd is 
compile just fine.

Liebe Grüße aus Freilassing,

Michael Rack
RSM Freilassing
-- 
RSM Freilassing                 Tel.: +49 8654 607110
Nocksteinstr. 13                Fax.: +49 8654 670438
D-83395 Freilassing            www.rsm-freilassing.de


Am 22.06.2010 17:54, schrieb Henning Rogge:
> Am Montag 21 Juni 2010, 19:09:50 schrieb Michael Rack:
>>    # ./make/guess_os.sh
>> linux
>>
>> It is linux of course ;-)
>> i686, Gentoo 2010.06 snapshot, Linux Kernel Vanilla 2.6.34, gcc 4.4.3
> Using the SSH access you provided I was able to track down your problem. Your
> build system does not work correct, especially one of the include files
> contains an error:
>
> /usr/include/netinet/ip.h line 197
> #define IPTOS_CLASS(class)              ((tos)&  IPTOS_CLASS_MASK)
>
> /usr/include/netinet/ip.h line 225
> #define IPTOS_PREC(tos)                 IPTOS_CLASS(tos)
>
> As you can see, the first macro is definitely wrong. That's where your error
> is coming from. Please check the version of the glibc ebuild you are using.
>
> I'm using this one:
> equery b /usr/include/netinet/ip.h
>   * Searching for /usr/include/netinet/ip.h ...
> sys-libs/glibc-2.11.2 (/usr/include/netinet/ip.h)
>
> Henning Rogge
>




More information about the Olsr-users mailing list