Nmap Development mailing list archives

5.05BETA1 svn -r 15851 compile error


From: Jan Reister <Jan.Reister () unimi it>
Date: Mon, 19 Oct 2009 14:04:14 +0200

Some ten days ago my subversion checkout stopped compiling. It both
fails on Debian Lenny and Ubuntu Jaunty.

Where should I look for more info, besides the list archives?

Jan

~/nmap# svn info
Percorso: .
URL: svn://svn.insecure.org/nmap
Repository: svn://svn.insecure.org
UUID del Repository: e0a8ed71-7df4-0310-8962-fdc924857419
Revisione: 15875
Tipo di Nodo: directory
Azione: normale
Autore dell'Ultimo Cambiamento: david
Revisione dell'Ultimo Cambiamento: 15851
Data dell'Ultimo Cambiamento: 2009-10-14 18:07:47 +0200 (mer, 14 ott 2009)


Debian Lenny make output ends so:

make[1]: Entering directory `/root/nmap/ncat'
gcc -I../libpcap -DHAVE_CONFIG_H
-DNCAT_DATADIR="\"/usr/local/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I..
-I../nsock/include/ -I../nbase -g -O2 -Wall -c ncat_connect.c -o
ncat_connect.o
ncat_connect.c: In function ‘ncat_connect’:
ncat_connect.c:239: warning: unused variable ‘rc’
ncat_connect.c: At top level:
ncat_connect.c:309: error: expected identifier or ‘(’ before ‘else’
ncat_connect.c:418: warning: data definition has no type or storage class
ncat_connect.c:418: warning: type defaults to ‘int’ in declaration of ‘rc’
ncat_connect.c:418: error: ‘mypool’ undeclared here (not in a function)
ncat_connect.c:418: error: initializer element is not constant
ncat_connect.c:420: error: expected identifier or ‘(’ before ‘if’
ncat_connect.c:429: warning: data definition has no type or storage class
ncat_connect.c:429: warning: type defaults to ‘int’ in declaration of
‘nsp_delete’
ncat_connect.c:429: warning: parameter names (without types) in function
declaration
ncat_connect.c:429: error: conflicting types for ‘nsp_delete’
../nsock/include/nsock.h:201: error: previous declaration of
‘nsp_delete’ was here
ncat_connect.c:431: error: expected identifier or ‘(’ before ‘return’
ncat_connect.c:432: error: expected identifier or ‘(’ before ‘}’ token
make[1]: *** [ncat_connect.o] Error 1
make[1]: Leaving directory `/root/nmap/ncat'
make: *** [ncat_build] Error 2

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

Current thread: