[Olsr-users] ifnet.c chk_if_up() tos undeclared
Henning Rogge
(spam-protected)
Tue Jun 22 17:54:40 CEST 2010
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
--
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/20100622/4b5b5b74/attachment.sig>
More information about the Olsr-users
mailing list