Snort mailing list archives
Re: I cannot compile libnet successfully in order to compile snort, please help me
From: Jeff Nathan <jeff () snort org>
Date: Sat, 26 Oct 2002 01:28:39 -0700
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Snort doesn't use libnet 1.1.x, it uses version 1.0.2a for sp_respond and sp_react. For questions regarding libnet, please direct them to the libnet mailing list provided by securityfocus. Regards, - -Jeff - --On Friday, October 25, 2002 20:18:36 -0700 Ha Tu <whmi2002 () yahoo com> wrote:
Hello, I compiled the libnet that I got from the http://www.packetfactory.net/libnet , but there are some error messages. How can I compile the libnet successfully? I need your help indeed. Please help me. I am working on a Sun Solaris machine. I give you the error messages when compiling libnet ./configure 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) nawk 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. 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 /export/home/tu/Libnet-latest/sample *** Error code 1 make: Fatal error: Command failed for target `all-recursive' __________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site
- -- http://www.snort.org/~jeff (pgp key available) "Great spirits have always encountered violent opposition from mediocre minds." - - Albert Einstein -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (OpenBSD) iD8DBQE9ulI7Eqr8+Gkj0/0RAudzAKCQkE8kFDggvxsRDHEzM6sx4FoL9ACePuO4 60kJsd80AENzn8lSpwoy7Oo= =7fMC -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com _______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.php3?list=snort-users
Current thread:
- I cannot compile libnet successfully in order to compile snort, please help me Ha Tu (Oct 25)
- Re: I cannot compile libnet successfully in order to compile snort, please help me Jeff Nathan (Oct 26)