Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: Unable to compile nmap v4.00 in Debian (PowerPC; Kernel 2.4.22)...
From: Ismail Donmez <ismail () uludag org tr>
Date: Wed, 1 Feb 2006 02:52:07 +0200

Çar 01 Şub 2006 00:52 tarihinde, Phillip Pi şunları yazmıştı: 
$ uname -a
Linux dustball 2.4.22-pmac-benh-dm-evms_sorta-1 #4 Mon Oct 20 21:58:29 PDT
2003 ppc GNU/Linux

[snippped earlier compilation lines]
make[1]: Leaving directory `/u00/home/ant/download/nmap-4.00/nbase'
Compiling libnsock
cd nsock/src && make
make[1]: Entering directory `/u00/home/ant/download/nmap-4.00/nsock/src'
gcc -c  -g -O2 -Wall  -I../../nbase  -DHAVE_CONFIG_H
-DNSOCK_VERSION=\"0.01\"  -I../include error.c -o error.o
gcc -c  -g -O2 -Wall  -I../../nbase  -DHAVE_CONFIG_H
-DNSOCK_VERSION=\"0.01\"  -I../include filespace.c -o filespace.o
gcc -c  -g -O2 -Wall  -I../../nbase  -DHAVE_CONFIG_H
-DNSOCK_VERSION=\"0.01\"  -I../include gh_list.c -o gh_list.o
gcc -c  -g -O2 -Wall  -I../../nbase  -DHAVE_CONFIG_H
-DNSOCK_VERSION=\"0.01\"  -I../include nsock_connect.c -o nsock_connect.o
nsock_connect.c: In function 'nsi_getlastcommunicationinfo':
nsock_connect.c:291: warning: pointer targets in passing argument 3 of
'getsockname' differ in signedness
gcc -c  -g -O2 -Wall  -I../../nbase  -DHAVE_CONFIG_H
-DNSOCK_VERSION=\"0.01\"  -I../include nsock_core.c -o nsock_core.o
nsock_core.c: In function 'handle_connect_result':
nsock_core.c:232: warning: pointer targets in passing argument 5 of
'getsockopt' differ in signedness
nsock_core.c: In function 'nsock_loop':
nsock_core.c:785: warning: 'loop_timeout.tv_sec' may be used uninitialized
in this function nsock_core.c:785: warning: 'loop_timeout.tv_usec' may be
used uninitialized in this function gcc -c  -g -O2 -Wall  -I../../nbase 
-DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.01\"  -I../include nsock_iod.c -o
gcc -c  -g -O2 -Wall  -I../../nbase  -DHAVE_CONFIG_H
-DNSOCK_VERSION=\"0.01\"  -I../include nsock_read.c -o nsock_read.o
gcc -c  -g -O2 -Wall  -I../../nbase  -DHAVE_CONFIG_H
-DNSOCK_VERSION=\"0.01\"  -I../include nsock_timers.c -o nsock_timers.o
gcc -c  -g -O2 -Wall  -I../../nbase  -DHAVE_CONFIG_H
-DNSOCK_VERSION=\"0.01\"  -I../include nsock_write.c -o nsock_write.o
gcc -c  -g -O2 -Wall  -I../../nbase  -DHAVE_CONFIG_H
-DNSOCK_VERSION=\"0.01\"  -I../include nsock_ssl.c -o nsock_ssl.o
gcc -c  -g -O2 -Wall  -I../../nbase  -DHAVE_CONFIG_H
-DNSOCK_VERSION=\"0.01\"  -I../include nsock_utils.c -o nsock_utils.o
gcc -c  -g -O2 -Wall  -I../../nbase  -DHAVE_CONFIG_H
-DNSOCK_VERSION=\"0.01\"  -I../include nsock_event.c -o nsock_event.o
gcc -c  -g -O2 -Wall  -I../../nbase  -DHAVE_CONFIG_H
-DNSOCK_VERSION=\"0.01\"  -I../include nsock_pool.c -o nsock_pool.o
gcc -c  -g -O2 -Wall  -I../../nbase  -DHAVE_CONFIG_H
-DNSOCK_VERSION=\"0.01\"  -I../include netutils.c -o netutils.o
Compiling libnsock
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
ranlib libnsock.a
make[1]: Leaving directory `/u00/home/ant/download/nmap-4.00/nsock/src'
g++ -c  -Ilibdnet-stripped/include -g -O2 -Wall  -fno-strict-aliasing
-Ilibpcap -Inbase -Insock/include  -DHAVE_CONFIG_H -DNMAP_VERSION=\"4.00\"
-DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://www.insecure.org/nmap/\";
-DNMAPDATADIR=\"/usr/local/share/nmap\" main.cc -o main.o
utils.h: In function 'T box(T, T, T)':
utils.h:181: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.
make: *** [main.o] Error 1

Well this is a compiler bug. Do what it says and report it to gcc bugzilla.


Sent through the nmap-dev mailing list

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]