Gregory Hicks on 16 Oct 2003 02:48:02 -0400

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[tcptra-dev] make errors on Solaris 8 box

Has any of you seen this error?  If so, would you have any idea on what
I've done wrong?  Any assistance will be appreciated.  Attached is the
output for the 'configure' run...

metis% make
Making all in include
make  all-recursive
Making all in libnet
Making all in src
Making all in man
Making all in sample
gcc  -g -O2 -Wall  -o arp  arp.o ../src/libnet.a -lnsl -lsocket
Undefined			first referenced
 symbol  			    in file
gethostbyname2                      ../src/libnet.a(libnet_resolve.o)
ld: fatal: Symbol referencing errors. No output written to arp
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `arp'
Current working directory /home/ghicks/traceroute/Libnet-latest/sample
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

Gregory Hicks

Gregory Hicks                        | Principal Systems Engineer
Cadence Design Systems               | Direct:   408.576.3609
555 River Oaks Pkwy M/S 6B1          | Fax:      408.894.3400
San Jose, CA 95134                   | Internet:

"The trouble with doing anything right the first time is that nobody
appreciates how difficult it was."

When a team of dedicated individuals makes a commitment to act as
one...  the sky's the limit.

Just because "We've always done it that way" is not necessarily a good
reason to continue to do so...  Grace Hopper, Rear Admiral, United
States Navy
metis% ./configure --prefix=/usr/local
loading cache ./config.cache
beginning autoconfiguration process for libnet-1.1.0...
checking host system type... sparc-sun-solaris2.8
checking target system type... sparc-sun-solaris2.8
checking build system type... sparc-sun-solaris2.8
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for mawk... (cached) gawk
checking whether make sets ${MAKE}... (cached) yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for style of include used by make... GNU
checking dependency style of gcc... (cached) none
checking for a BSD compatible install... ./install-sh -c
checking for ranlib... (cached) ranlib
checking how to run the C preprocessor... (cached) gcc -E
checking for sys/sockio.h... (cached) yes
checking machine endianess... big
checking if unaligned accesses fail... (cached) yes
checking whether gcc needs -traditional... (cached) no
checking for strerror... (cached) yes
checking link-layer packet interface type... found dlpi
-n scanning available packet construction modules: 
802.1q 802.2 802.3 arp cdp data dhcp dns ethernet icmp igmp ip ipsec isl ntp ospf rip snmp stp tcp udp vrrp 
checking for sys/bufmod.h... (cached) yes
checking for sys/dlpi_ext.h... (cached) no
checking for /dev/dlpi device... no
checking for /dev/dlpi directory... no
checking for socket in -lsocket... (cached) yes
checking for gethostbyname in -lnsl... (cached) yes
creating ./config.status
creating Makefile
creating man/Makefile
creating src/Makefile
creating include/Makefile
creating include/libnet/Makefile
creating sample/Makefile
creating version.h
creating include/libnet.h
creating libnet-config
creating include/config.h
include/config.h is unchanged
Please note this is libnet 1.1.x.  Any code written for 1.0.x will NOT work without porting.  Read the MIGRATION document for more info.
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
# scripts and configure runs.  It is not useful on other systems.
# If it contains results you don't want to keep, you may remove or edit it.
# By default, configure uses ./config.cache as the cache file,
# creating it if it does not exist already.  You can give configure
# the --cache-file=FILE option to use a different cache file; that is
# what configure does when it calls configure scripts in
# subdirectories, so they share the cache.
# Giving --cache-file=/dev/null disables caching, for debugging configure.
# config.status only pays attention to the cache file if you give it the
# --recheck option to rerun configure.
ac_cv_prog_CPP=${ac_cv_prog_CPP='gcc -E'}