Compiling dhcpd 3.1-ESV on AIX 5.3
Gordon A. Lang
glang at goalex.com
Wed Aug 11 18:19:06 UTC 2010
Ignore my previous post with this subject, and please instead read this
one....
I modified the Makefile.conf to use the AIX 4.3 settings for AIX 5.3 and it
helped quite a bit.
But now I am getting some "duplicate symbol" warnings -- see below -- can
anybody shed some light on these warnings?
Making all in server
gmake[1]: Entering directory
`/export/local/netshare/src/dhcp-3.1-ESV/work.aix/server'
gcc -Daix -g -I/export/local/netshare/src/dhcp-3.1-ESV -I/export/local/netshare/src/dhcp-3.1-ESV/includes
-c -o dhcpd.o dhcpd.c
gcc -Daix -g -I/export/local/netshare/src/dhcp-3.1-ESV -I/export/local/netshare/src/dhcp-3.1-ESV/includes
-c -o dhcp.o dhcp.c
gcc -Daix -g -I/export/local/netshare/src/dhcp-3.1-ESV -I/export/local/netshare/src/dhcp-3.1-ESV/includes
-c -o bootp.o bootp.c
gcc -Daix -g -I/export/local/netshare/src/dhcp-3.1-ESV -I/export/local/netshare/src/dhcp-3.1-ESV/includes
-c -o confpars.o confpars.c
gcc -Daix -g -I/export/local/netshare/src/dhcp-3.1-ESV -I/export/local/netshare/src/dhcp-3.1-ESV/includes
-c -o db.o db.c
gcc -Daix -g -I/export/local/netshare/src/dhcp-3.1-ESV -I/export/local/netshare/src/dhcp-3.1-ESV/includes
-c -o class.o class.c
gcc -Daix -g -I/export/local/netshare/src/dhcp-3.1-ESV -I/export/local/netshare/src/dhcp-3.1-ESV/includes
-c -o failover.o failover.c
gcc -Daix -g -I/export/local/netshare/src/dhcp-3.1-ESV -I/export/local/netshare/src/dhcp-3.1-ESV/includes
-c -o omapi.o omapi.c
gcc -Daix -g -I/export/local/netshare/src/dhcp-3.1-ESV -I/export/local/netshare/src/dhcp-3.1-ESV/includes
-c -o mdb.o mdb.c
gcc -Daix -g -I/export/local/netshare/src/dhcp-3.1-ESV -I/export/local/netshare/src/dhcp-3.1-ESV/includes
-c -o stables.o stables.c
gcc -Daix -g -I/export/local/netshare/src/dhcp-3.1-ESV -I/export/local/netshare/src/dhcp-3.1-ESV/includes
-c -o salloc.o salloc.c
gcc -Daix -g -I/export/local/netshare/src/dhcp-3.1-ESV -I/export/local/netshare/src/dhcp-3.1-ESV/includes
-c -o ddns.o ddns.c
gcc -Daix -g -I/export/local/netshare/src/dhcp-3.1-ESV -I/export/local/netshare/src/dhcp-3.1-ESV/includes
-c -o dhcpleasequery.o dhcpleasequery.c
gcc -Daix -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
ld: 0711-224 WARNING: Duplicate symbol: collections
ld: 0711-224 WARNING: Duplicate symbol: default_collection
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
gmake[1]: Leaving directory
`/export/local/netshare/src/dhcp-3.1-ESV/work.aix/server'
Making all in client
gmake[1]: Entering directory
`/export/local/netshare/src/dhcp-3.1-ESV/work.aix/client'
gcc -Daix -g -I/export/local/netshare/src/dhcp-3.1-ESV -I/export/local/netshare/src/dhcp-3.1-ESV/includes
-DCLIENT_PATH='"PATH=/usr/ucb:/usr/bin:/usr/sbin:/bin:/sbin"' -c -o
dhclient.o dhclient.c
gcc -Daix -g -I/export/local/netshare/src/dhcp-3.1-ESV -I/export/local/netshare/src/dhcp-3.1-ESV/includes
-DCLIENT_PATH='"PATH=/usr/ucb:/usr/bin:/usr/sbin:/bin:/sbin"' -c -o
clparse.o clparse.c
gcc -Daix -o dhclient dhclient.o clparse.o ../common/libdhcp.a
../minires/libres.a ../omapip/libomapi.a ../dst/libdst.a
ld: 0711-224 WARNING: Duplicate symbol: local_port
ld: 0711-224 WARNING: Duplicate symbol: remote_port
ld: 0711-341 WARNING: Replaced XTY_CM symbol remote_port requires an
alignment more strict than the alignment of the symbol that replaces
it.
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
gmake[1]: Leaving directory
`/export/local/netshare/src/dhcp-3.1-ESV/work.aix/client'
--
Gordon A. Lang
More information about the dhcp-users
mailing list