Subject: x_dhclient compile prob
To: None <current-users@netbsd.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 06/22/2001 16:37:48
Somehow dhcpd.h isn't being included during the x_dhclient build, but I can't
spot the difference in the compile lines?! and the ifdef SMALL bit in
dhclient.c is nowhere near the #includes..

works:
cc -O2 -pipe -Werror   -DCLIENT_PATH='"PATH=/usr/bin:/usr/sbin:/bin:/sbin"' -I/usr/src/usr.sbin/dhcp/client/.. -I/usr/src/usr.sbin/dhcp/client/../includes -nostdinc -idirafter /destdir/usr/include -c /usr/src/usr.sbin/dhcp/client/dhclient.c

doesn't work:
cc -O2 -Os -pipe -Werror   -DCLIENT_PATH='"PATH=/usr/bin:/usr/sbin:/bin:/sbin"' -DSMALL -I/usr/src/distrib/utils/x_dhclient/../../../usr.sbin/dhcp -I/usr/src/distrib/utils/x_dhclient/../../../usr.sbin/dhcp/includes -nostdinc -idirafter /destdir/usr/include -c /usr/src/distrib/utils/x_dhclient/../../../usr.sbin/dhcp/client/dhclient.c

Clues?

Cheers,

Patrick