Trouble compiling 4.2.0a1 on Linux

Jerimiah Cole jcole at tbtc.net
Fri Jan 8 15:54:46 UTC 2010


I've gotten it to compile on an Ubuntu 8.04 x86_64 machine (kernel
2.6.24/glibc 2.7), but it fails on:

Gentoo      x86    2.6.30 / glibc 2.9
Gentoo      x86_64 2.6.28 / glibc 2.8
Ubuntu 9.04 x86_64 2.6.28 / glibc 2.8

with:

if gcc -DHAVE_CONFIG_H -I. -I. -I../includes     -g -O2  -Wall -Werror
-fno-strict-aliasing -I../bind/include -MT test.o -MD -MP -MF
".deps/test.Tpo" -c -o test.o test.c; \
	then mv -f ".deps/test.Tpo" ".deps/test.Po"; else rm -f
".deps/test.Tpo"; exit 1; fi
In file included from ../includes/omapip/isclib.h:57,
                  from test.c:43:
../bind/include/isc/socket.h:170: error: field ‘pktinfo’ has incomplete type
make[1]: *** [test.o] Error 1
make[1]: Leaving directory `/root/dhcp-4.2.0a1/omapip'
make: *** [all-recursive] Error 1


I replaced omapip/test.c with a do-nothing main() and it just fails
somewhere else.

Jerimiah




More information about the dhcp-users mailing list