*** From dhcp-server -- To unsubscribe, see the end of this message. ***

Ted Lemon wrote:

> > Has anyone compiled DHCP on Apple's OSX Server?  Any help would be
> > great. Thanks in advance.
>
> Nobody's mentioned it here.   Have you tried just doing it?   It might
> well build using the Rhapsody configuration files.
>
>                                _MelloN_

I tried to compile it- but still with no success... This is what I've
done so far:

---------------
[osxserver:/usr/local/dhcp-2.0b1pl26] root# ./configure
System Type: rhapsody
[osxserver:/usr/local/dhcp-2.0b1pl26] root# make
Making all in common
cc -g  -I.. -I../includes -Wall -Wno-unused -Wno-implicit -Wno-comment
-Wno-unin
itialized -Werror -pipe   -c raw.c
../includes/tree.h:82: undefined type, found `TIME'
../includes/tree.h:89: undefined type, found `TIME'
../includes/dhcpd.h:85: undefined type, found `TIME'
../includes/dhcpd.h:92: undefined type, found `TIME'
../includes/dhcpd.h:125: undefined type, found `TIME'
../includes/dhcpd.h:154: undefined type, found `TIME'
../includes/dhcpd.h:198: undefined type, found `TIME'
../includes/dhcpd.h:199: undefined type, found `TIME'
../includes/dhcpd.h:200: undefined type, found `TIME'
../includes/dhcpd.h:201: undefined type, found `TIME'
../includes/dhcpd.h:263: undefined type, found `TIME'
../includes/dhcpd.h:301: undefined type, found `TIME'
../includes/dhcpd.h:304: undefined type, found `TIME'
../includes/dhcpd.h:306: undefined type, found `TIME'
../includes/dhcpd.h:310: undefined type, found `TIME'
../includes/dhcpd.h:313: undefined type, found `TIME'
../includes/dhcpd.h:316: undefined type, found `TIME'
../includes/dhcpd.h:341: undefined type, found `TIME'
../includes/dhcpd.h:342: undefined type, found `TIME'
../includes/dhcpd.h:387: undefined type, found `TIME'
../includes/dhcpd.h:486: undefined type, found `TIME'
../includes/dhcpd.h:526: undefined type, found `TIME'
../includes/dhcpd.h:535: undefined type, found `TIME'
../includes/dhcpd.h:538: undefined type, found `TIME'
../includes/dhcpd.h:564: syntax error, found `TIME'
../includes/dhcpd.h:564: illegal function definition, found `)'
../includes/dhcpd.h:608: undefined type, found `VOIDPTR'
../includes/dhcpd.h:609: syntax error, found `char'
../includes/dhcpd.h:609: illegal function definition, found `)'
../includes/dhcpd.h:814: syntax error, found `void'
../includes/dhcpd.h:814: illegal function definition, found `)'
../includes/dhcpd.h:814: illegal external declaration, missing `;' after
`*'
../includes/dhcpd.h:814: illegal external declaration, missing `;' after
`*'
../includes/dhcpd.h:926: undefined type, found `jmp_buf'
../includes/dhcpd.h:927: undefined type, found `jmp_buf'
../includes/dhcpd.h:928: undefined type, found `jmp_buf'
../includes/dhcpd.h:929: undefined type, found `jmp_buf'
../includes/dhcpd.h:930: undefined type, found `jmp_buf'
../includes/dhcpd.h:931: undefined type, found `jmp_buf'
../includes/dhcpd.h:932: undefined type, found `jmp_buf'
../includes/dhcpd.h:933: undefined type, found `jmp_buf'
../includes/dhcpd.h:934: undefined type, found `jmp_buf'
../includes/dhcpd.h:935: undefined type, found `jmp_buf'
../includes/dhcpd.h:936: undefined type, found `jmp_buf'
../includes/dhcpd.h:937: undefined type, found `jmp_buf'
../includes/dhcpd.h:938: undefined type, found `jmp_buf'
../includes/dhcpd.h:939: undefined type, found `jmp_buf'
../includes/dhcpd.h:940: undefined type, found `jmp_buf'
../includes/dhcpd.h:941: undefined type, found `jmp_buf'
../includes/dhcpd.h:942: undefined type, found `jmp_buf'
../includes/dhcpd.h:943: undefined type, found `jmp_buf'
../includes/dhcpd.h:944: undefined type, found `jmp_buf'
../includes/dhcpd.h:945: undefined type, found `jmp_buf'
../includes/dhcpd.h:946: undefined type, found `jmp_buf'
make[1]: *** [raw.o] Error 1
make: *** [all] Error 1
---------------

I found that TIME was declared within the rhapsody.h config file. For
some reason it was not included during the make procedure...  So I added
the line #include "cf/rhapsody.h" to dhcpd.h. Then I got these results:

---------------
[osxserver:/usr/local/dhcp-2.0b1pl26] root# make
Making all in common
cc -g  -I.. -I../includes -Wall -Wno-unused -Wno-implicit -Wno-comment
-Wno-unin
itialized -Werror -pipe   -c raw.c
cc -g  -I.. -I../includes -Wall -Wno-unused -Wno-implicit -Wno-comment
-Wno-unin
itialized -Werror -pipe   -c parse.c
cc -g  -I.. -I../includes -Wall -Wno-unused -Wno-implicit -Wno-comment
-Wno-unin
itialized -Werror -pipe   -c nit.c
cc -g  -I.. -I../includes -Wall -Wno-unused -Wno-implicit -Wno-comment
-Wno-unin
itialized -Werror -pipe   -c icmp.c
cc -g  -I.. -I../includes -Wall -Wno-unused -Wno-implicit -Wno-comment
-Wno-unin
itialized -Werror -pipe   -c dispatch.c
cc -g  -I.. -I../includes -Wall -Wno-unused -Wno-implicit -Wno-comment
-Wno-unin
itialized -Werror -pipe   -c conflex.c
cc -g  -I.. -I../includes -Wall -Wno-unused -Wno-implicit -Wno-comment
-Wno-unin
itialized -Werror -pipe   -c upf.c
cc -g  -I.. -I../includes -Wall -Wno-unused -Wno-implicit -Wno-comment
-Wno-unin
itialized -Werror -pipe   -c bpf.c
cc -g  -I.. -I../includes -Wall -Wno-unused -Wno-implicit -Wno-comment
-Wno-unin
itialized -Werror -pipe   -c socket.c
cc -g  -I.. -I../includes -Wall -Wno-unused -Wno-implicit -Wno-comment
-Wno-unin
itialized -Werror -pipe   -c lpf.c
cc -g  -I.. -I../includes -Wall -Wno-unused -Wno-implicit -Wno-comment
-Wno-unin
itialized -Werror -pipe   -c packet.c
cc -g  -I.. -I../includes -Wall -Wno-unused -Wno-implicit -Wno-comment
-Wno-unin
itialized -Werror -pipe   -c memory.c
cc -g  -I.. -I../includes -Wall -Wno-unused -Wno-implicit -Wno-comment
-Wno-unin
itialized -Werror -pipe   -c print.c
cc -g  -I.. -I../includes -Wall -Wno-unused -Wno-implicit -Wno-comment
-Wno-unin
itialized -Werror -pipe   -c options.c
cc -g  -I.. -I../includes -Wall -Wno-unused -Wno-implicit -Wno-comment
-Wno-unin
itialized -Werror -pipe   -c inet.c
cc -g  -I.. -I../includes -Wall -Wno-unused -Wno-implicit -Wno-comment
-Wno-unin
itialized -Werror -pipe   -c convert.c
cc -g  -I.. -I../includes -Wall -Wno-unused -Wno-implicit -Wno-comment
-Wno-unin
itialized -Werror -pipe   -c tree.c
cc -g  -I.. -I../includes -Wall -Wno-unused -Wno-implicit -Wno-comment
-Wno-unin
itialized -Werror -pipe   -c tables.c
cc -g  -I.. -I../includes -Wall -Wno-unused -Wno-implicit -Wno-comment
-Wno-unin
itialized -Werror -pipe   -c hash.c
cc -g  -I.. -I../includes -Wall -Wno-unused -Wno-implicit -Wno-comment
-Wno-unin
itialized -Werror -pipe   -c alloc.c
cc -g  -I.. -I../includes -Wall -Wno-unused -Wno-implicit -Wno-comment
-Wno-unin
itialized -Werror -pipe   -c errwarn.c
cc -g  -I.. -I../includes -Wall -Wno-unused -Wno-implicit -Wno-comment
-Wno-unin
itialized -Werror -pipe   -c inet_addr.c
cc -g  -I.. -I../includes -Wall -Wno-unused -Wno-implicit -Wno-comment
-Wno-unin
itialized -Werror -pipe   -c dlpi.c
rm -f libdhcp.a
ar cruv libdhcp.a raw.o parse.o nit.o icmp.o dispatch.o conflex.o upf.o
bpf.o so
cket.o lpf.o packet.o memory.o print.o options.o inet.o convert.o tree.o
tables.
o hash.o alloc.o errwarn.o inet_addr.o dlpi.o
a - raw.o
a - parse.o
a - nit.o
a - icmp.o
a - dispatch.o
a - conflex.o
a - upf.o
a - bpf.o
a - socket.o
a - lpf.o
a - packet.o
a - memory.o
a - print.o
a - options.o
a - inet.o
a - convert.o
a - tree.o
a - tables.o
a - hash.o
a - alloc.o
a - errwarn.o
a - inet_addr.o
a - dlpi.o
ranlib libdhcp.a
Making all in server
cc -g  -I.. -I../includes -Wall -Wno-unused -Wno-implicit -Wno-comment
-Wno-unin
itialized -Werror -pipe   -c dhcpd.c
cc -g  -I.. -I../includes -Wall -Wno-unused -Wno-implicit -Wno-comment
-Wno-unin
itialized -Werror -pipe   -c dhcp.c
cc -g  -I.. -I../includes -Wall -Wno-unused -Wno-implicit -Wno-comment
-Wno-unin
itialized -Werror -pipe   -c bootp.c
cc -g  -I.. -I../includes -Wall -Wno-unused -Wno-implicit -Wno-comment
-Wno-unin
itialized -Werror -pipe   -c confpars.c
cc -g  -I.. -I../includes -Wall -Wno-unused -Wno-implicit -Wno-comment
-Wno-unin
itialized -Werror -pipe   -c db.c
cc  -o dhcpd dhcpd.o dhcp.o bootp.o confpars.o db.o ../common/libdhcp.a
/usr/bin/ld: Undefined symbols:
_can_unicast_without_arp
_send_packet
_if_register_receive
_if_register_send
_if_reinitialize_receive
_if_reinitialize_send
_maybe_setup_fallback
_receive_packet
make[1]: *** [dhcpd] Error 1
make: *** [all] Error 1
---------------

I'm stuck. It seems to me its almost there, or maybe not- because I have
no idea what I'm doing.. :)

Any ideas from here?


Steve Burke





------------------------------------------------------------------------------
To unsubscribe from this list, please visit http://www.fugue.com/dhcp/lists
If you are without web access, or if you are having trouble with the web page,
please send mail to [EMAIL PROTECTED]   Please try to use the web
page first - it will take a long time for your request to be processed by hand.
------------------------------------------------------------------------------

Reply via email to