Error on dsniff install

Jay Chandler lists at sequestered.net
Sat Dec 1 15:53:22 PST 2007


Hmm-- this is odd.  Anyone have a suggestion or two?

-- Jay

bash-3.2# port install dsniff
--->  Fetching libnet
--->  Attempting to fetch libnet-1.0.2a.tar.gz from 
http://www.packetfactory.net/libnet/dist/deprecated/
--->  Verifying checksum(s) for libnet
--->  Extracting libnet
--->  Applying patches to libnet
--->  Configuring libnet
--->  Building libnet 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_libnet/work/Libnet-1.0.2a" 
&& make all " returned error 2
Command output: src/../include/./libnet/libnet-functions.h:500: warning: 
its scope is only this definition or declaration, which is probably not 
what you want
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -I/opt/local/include  
-DHAVE_CONFIG_H -c src/libnet_checksum.c -o src/libnet_checksum.o
In file included from src/../include/libnet.h:81,
                 from src/libnet_checksum.c:37:
src/../include/./libnet/libnet-functions.h:500: warning: 'struct 
ipoption' declared inside parameter list
src/../include/./libnet/libnet-functions.h:500: warning: its scope is 
only this definition or declaration, which is probably not what you want
src/libnet_checksum.c: In function 'libnet_do_checksum':
src/libnet_checksum.c:200: warning: comparison is always false due to 
limited range of data type
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -I/opt/local/include  
-DHAVE_CONFIG_H -c src/libnet_prand.c -o src/libnet_prand.o
In file included from src/../include/libnet.h:81,
                 from src/libnet_prand.c:36:
src/../include/./libnet/libnet-functions.h:500: warning: 'struct 
ipoption' declared inside parameter list
src/../include/./libnet/libnet-functions.h:500: warning: its scope is 
only this definition or declaration, which is probably not what you want
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -I/opt/local/include  
-DHAVE_CONFIG_H -c src/libnet_version.c -o src/libnet_version.o
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -I/opt/local/include  
-DHAVE_CONFIG_H -c src/libnet_write_ip.c -o src/libnet_write_ip.o
In file included from src/../include/libnet.h:81,
                 from src/libnet_write_ip.c:36:
src/../include/./libnet/libnet-functions.h:500: warning: 'struct 
ipoption' declared inside parameter list
src/../include/./libnet/libnet-functions.h:500: warning: its scope is 
only this definition or declaration, which is probably not what you want
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -I/opt/local/include  
-DHAVE_CONFIG_H -c src/libnet_insert_ipo.c -o src/libnet_insert_ipo.o
In file included from src/../include/libnet.h:81,
                 from src/libnet_insert_ipo.c:36:
src/../include/./libnet/libnet-functions.h:500: warning: 'struct 
ipoption' declared inside parameter list
src/../include/./libnet/libnet-functions.h:500: warning: its scope is 
only this definition or declaration, which is probably not what you want
src/libnet_insert_ipo.c:39: warning: 'struct ipoption' declared inside 
parameter list
src/libnet_insert_ipo.c:40: error: conflicting types for 'libnet_insert_ipo'
src/../include/./libnet/libnet-functions.h:500: error: previous 
declaration of 'libnet_insert_ipo' was here
src/libnet_insert_ipo.c: In function 'libnet_insert_ipo':
src/libnet_insert_ipo.c:83: error: dereferencing pointer to incomplete type
make: *** [src/libnet_insert_ipo.o] Error 1

Error: The following dependencies failed to build: libnet libnids
Error: Status 1 encountered during processing.
bash-3.2#



More information about the macports-users mailing list