#13271 closed defect (fixed)
dhcp 3.1.0 fails to build on Mac OS X 10.5 Leopard
Reported by: | frysco-macports@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.5.0 |
Keywords: | Cc: | blair (Blair Zajac), jon.passki@… | |
Port: |
Description
I am unable to compile dhcp from macports on 10.5.0 using the latest version. The compilation falls over with undefined symbols. I've tried this using a completely blank ports installation and it always fails in the same place.
Below is the compilation attempt: gryphon:~ root# date Mon Nov 12 16:45:10 PST 2007 gryphon:~ root# port installed No ports are installed. gryphon:~ root# port selfupdate MacPorts base version 1.520 installed Downloaded MacPorts base version 1.520 The MacPorts installation is not outdated and so was not updated selfupdate done! gryphon:~ root# port install dhcp ---> Fetching dhcp ---> Verifying checksum(s) for dhcp ---> Extracting dhcp ---> Configuring dhcp ---> Building dhcp with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dhcp/work/dhcp-3.1.0" && make all " returned error 2 Command output: gcc -g -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dhcp/work/dhcp-3.1.0 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dhcp/work/dhcp-3.1.0/includes -D_PATH_DHCPD_DB="\"/opt/local/var/db/dhcpd/dhcpd.leases\"" -D_PATH_DHCPD_CONF="\"/opt/local/etc/dhcp/dhcpd.conf\"" -D_PATH_DHCPD_PID="\"/opt/local/var/run/dhcpd.pid\"" -c -o mdb.o mdb.c gcc -g -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dhcp/work/dhcp-3.1.0 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dhcp/work/dhcp-3.1.0/includes -D_PATH_DHCPD_DB="\"/opt/local/var/db/dhcpd/dhcpd.leases\"" -D_PATH_DHCPD_CONF="\"/opt/local/etc/dhcp/dhcpd.conf\"" -D_PATH_DHCPD_PID="\"/opt/local/var/run/dhcpd.pid\"" -c -o stables.o stables.c gcc -g -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dhcp/work/dhcp-3.1.0 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dhcp/work/dhcp-3.1.0/includes -D_PATH_DHCPD_DB="\"/opt/local/var/db/dhcpd/dhcpd.leases\"" -D_PATH_DHCPD_CONF="\"/opt/local/etc/dhcp/dhcpd.conf\"" -D_PATH_DHCPD_PID="\"/opt/local/var/run/dhcpd.pid\"" -c -o salloc.o salloc.c gcc -g -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dhcp/work/dhcp-3.1.0 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dhcp/work/dhcp-3.1.0/includes -D_PATH_DHCPD_DB="\"/opt/local/var/db/dhcpd/dhcpd.leases\"" -D_PATH_DHCPD_CONF="\"/opt/local/etc/dhcp/dhcpd.conf\"" -D_PATH_DHCPD_PID="\"/opt/local/var/run/dhcpd.pid\"" -c -o ddns.o ddns.c gcc -g -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dhcp/work/dhcp-3.1.0 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dhcp/work/dhcp-3.1.0/includes -D_PATH_DHCPD_DB="\"/opt/local/var/db/dhcpd/dhcpd.leases\"" -D_PATH_DHCPD_CONF="\"/opt/local/etc/dhcp/dhcpd.conf\"" -D_PATH_DHCPD_PID="\"/opt/local/var/run/dhcpd.pid\"" -c -o dhcpleasequery.o dhcpleasequery.c gcc -o dhcpd dhcpd.o dhcp.o bootp.o confpars.o db.o class.o failover.o omapi.o mdb.o stables.o salloc.o ddns.o dhcpleasequery.o ../common/libdhcp.a ../minires/libres.a ../omapip/libomapi.a ../dst/libdst.a Undefined symbols:
"_trace_mr_send$UNIX2003", referenced from:
_MRres_nsend in libres.a(res_send.o)
"_trace_mr_select$UNIX2003", referenced from:
_MRres_nsend in libres.a(res_send.o)
"_trace_mr_recvfrom$UNIX2003", referenced from:
_MRres_nsend in libres.a(res_send.o)
"_trace_mr_close$UNIX2003", referenced from:
_MRres_nsend in libres.a(res_send.o) _MRres_nclose in libres.a(res_send.o)
"_trace_mr_read$UNIX2003", referenced from:
_MRres_nsend in libres.a(res_send.o) _MRres_nsend in libres.a(res_send.o) _MRres_nsend in libres.a(res_send.o)
"_trace_mr_connect$UNIX2003", referenced from:
_MRres_nsend in libres.a(res_send.o) _MRres_nsend in libres.a(res_send.o)
"_trace_mr_bind$UNIX2003", referenced from:
_MRres_nsend in libres.a(res_send.o)
ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: * [dhcpd] Error 1 make[1]: * [all] Error 1 make: * [all] Error 2
Error: Status 1 encountered during processing.
Change History (9)
comment:1 Changed 17 years ago by nox@…
Summary: | Unable to compile dhcp - Undefined symbols → dhcp fails to build on Mac OS X 10.5 Leopard |
---|
comment:2 Changed 17 years ago by blair (Blair Zajac)
comment:3 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jon.passki@… added |
---|---|
Summary: | dhcp fails to build on Mac OS X 10.5 Leopard → dhcp 3.1.0 fails to build on Mac OS X 10.5 Leopard |
comment:4 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | blair@… added |
---|
comment:5 Changed 17 years ago by synfinatic@…
Hi Blair, any chance you can commit that fix soon? This bug is killing me.
comment:6 Changed 17 years ago by jon.passki@…
Blair,
I would really appreciate it too if you could commit the bug change. Anything I can do to help out, such as testing it?
Jon
comment:7 Changed 17 years ago by dlb@…
Blair,
This is also holding me up and I would be willing to help text the fix if that will help get it committed.
Thanks - David
comment:8 Changed 17 years ago by blair (Blair Zajac)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r32412.
I have a fix for that that I'll commit in the next few days.