Nmap Development mailing list archives

SVN 11833 OSX 10.5.6 Compile Error


From: Chris Clements <cclements () flatearth net>
Date: Fri, 23 Jan 2009 16:20:09 -0600

Getting the following error while trying to compile:

Compiling libnsock
cd nsock/src && make
gcc -c -g -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION= \"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap nsock_core.c -o nsock_core.o gcc -c -g -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION= \"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap nsock_iod.c - o nsock_iod.o gcc -c -g -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION= \"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap nsock_iod.c - o nsock_iod.o gcc -c -g -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION= \"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap nsock_read.c -o nsock_read.o gcc -c -g -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION= \"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap nsock_read.c -o nsock_read.o gcc -c -g -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION= \"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap nsock_timers.c -o nsock_timers.o gcc -c -g -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION= \"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap nsock_timers.c -o nsock_timers.o gcc -c -g -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION= \"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap nsock_write.c -o nsock_write.o gcc -c -g -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION= \"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap nsock_write.c -o nsock_write.o gcc -c -g -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION= \"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap nsock_ssl.c - o nsock_ssl.o gcc -c -g -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION= \"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap nsock_ssl.c - o nsock_ssl.o gcc -c -g -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION= \"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap nsock_utils.c -o nsock_utils.o gcc -c -g -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION= \"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap nsock_utils.c -o nsock_utils.o gcc -c -g -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION= \"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap nsock_event.c -o nsock_event.o gcc -c -g -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION= \"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap nsock_event.c -o nsock_event.o
nsock_event.c: In function 'msevent_cancel':
nsock_event.c:244: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'struct gh_list *' nsock_event.c:244: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'struct gh_list *' nsock_event.c:244: warning: format '%x' expects type 'unsigned int', but argument 6 has type 'struct gh_list *'
nsock_event.c: In function 'msevent_cancel':
nsock_event.c:244: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'struct gh_list *' nsock_event.c:244: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'struct gh_list *' nsock_event.c:244: warning: format '%x' expects type 'unsigned int', but argument 6 has type 'struct gh_list *' gcc -c -g -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION= \"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap nsock_pool.c -o nsock_pool.o gcc -c -g -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION= \"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap nsock_pool.c -o nsock_pool.o gcc -c -g -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION= \"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap netutils.c - o netutils.o gcc -c -g -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION= \"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap netutils.c - o netutils.o gcc -c -g -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION= \"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap nsock_pcap.c -o nsock_pcap.o gcc -c -g -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION= \"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap nsock_pcap.c -o nsock_pcap.o
rm -f libnsock.a
ar cr libnsock.a error.o filespace.o gh_list.o nsock_connect.o nsock_core.o nsock_iod.o nsock_read.o nsock_timers.o nsock_write.o nsock_ssl.o nsock_utils.o nsock_event.o nsock_pool.o netutils.o nsock_pcap.o
rm -f libnsock.a
ranlib: ar cr libnsock.a error.o filespace.o gh_list.o nsock_connect.o nsock_core.o nsock_iod.o nsock_read.o nsock_timers.o nsock_write.o nsock_ssl.o nsock_utils.o nsock_event.o nsock_pool.o netutils.o nsock_pcap.o
file: libnsock.a(nsock_utils.o) has no symbols
ranlib: file: libnsock.a is not writable (No such file or directory)
ar: internal ranlib command failed
make[2]: *** [libnsock.a] Error 1
make[1]: *** [../nsock/src/libnsock.a] Error 2
make: *** [ncat_build] Error 2
make: *** Waiting for unfinished jobs....
ranlib: file: libnsock.a(nsock_utils.o) has no symbols
ranlib libnsock.a
ranlib: file: libnsock.a(nsock_utils.o) has no symbols


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: