Podczas standardowej (./configure,make,make install) instalacji nmap-3.81 wystąpił dziwny błąd. Przeszukałem cały internet i nic nie mogłem dopatrzeć się na ten temat. Poniżej wstawiam tekst.
mageboom@hpbook ~/Pulpit/Software/nmap-3.81 $ make
Compiling libpcap
make[1]: Wejście do katalogu `/home/mageboom/Pulpit/Software/nmap-3.81/libpcap-possiblymodified'
make[1]: Nie ma nic do zrobienia w `all'.
make[1]: Opuszczenie katalogu `/home/mageboom/Pulpit/Software/nmap-3.81/libpcap-possiblymodified'
Compiling libpcre
make[1]: Wejście do katalogu `/home/mageboom/Pulpit/Software/nmap-3.81/libpcre'
gcc -c -g -O2 -I. -I. ./maketables.c
gcc -c -g -O2 -I. -I. ./get.c
gcc -c -g -O2 -I. -I. ./study.c
gcc -c -g -O2 -I. -I. -I. ./dftables.c
gcc -g -O2 -o dftables dftables.o
./dftables >./chartables.c
gcc -c -g -O2 -I. -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre.c
rm -f libpcre.a
ar cr libpcre.a maketables.o get.o study.o pcre.o
ranlib libpcre.a
make[1]: Opuszczenie katalogu `/home/mageboom/Pulpit/Software/nmap-3.81/libpcre'
Compiling libnbase
cd nbase && make
make[1]: Wejście do katalogu `/home/mageboom/Pulpit/Software/nmap-3.81/nbase'
make[1]: Nie ma nic do zrobienia w `all'.
make[1]: Opuszczenie katalogu `/home/mageboom/Pulpit/Software/nmap-3.81/nbase'
Compiling libnsock
cd nsock/src && make
make[1]: Wejście do katalogu `/home/mageboom/Pulpit/Software/nmap-3.81/nsock/src'
Compiling libnbase
cd ../../nbase && make
make[2]: Wejście do katalogu `/home/mageboom/Pulpit/Software/nmap-3.81/nbase'
make[2]: Nie ma nic do zrobienia w `all'.
make[2]: Opuszczenie katalogu `/home/mageboom/Pulpit/Software/nmap-3.81/nbase'
make[1]: Opuszczenie katalogu `/home/mageboom/Pulpit/Software/nmap-3.81/nsock/src'
g++ -c -Ilibpcre -g -O2 -Wall -Ilibpcap-possiblymodified -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_VERSION=\"3.81\" -DNMAP_NAME=\"nmap\" -DNMAP_URL=\"http://www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -Ilibpcap-possiblymodified main.cc -o main.o
main.cc: In function ‘int main(int, char**, char**)’:
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:147:31: warning: deprecated conversion from string constant to ‘char*’
main.cc:211:67: warning: deprecated conversion from string constant to ‘char*’
main.cc:215:52: warning: deprecated conversion from string constant to ‘char*’
main.cc:240:60: warning: deprecated conversion from string constant to ‘char*’
main.cc:255:38: warning: deprecated conversion from string constant to ‘char*’
main.cc:299:35: warning: deprecated conversion from string constant to ‘char*’
main.cc:304:35: warning: deprecated conversion from string constant to ‘char*’
main.cc:311:40: warning: deprecated conversion from string constant to ‘char*’
main.cc:316:47: warning: deprecated conversion from string constant to ‘char*’
main.cc:319:51: warning: deprecated conversion from string constant to ‘char*’
main.cc:347:68: warning: deprecated conversion from string constant to ‘char*’
main.cc:364:37: warning: deprecated conversion from string constant to ‘char*’
main.cc:373:53: warning: deprecated conversion from string constant to ‘char*’
main.cc:386:40: warning: deprecated conversion from string constant to ‘char*’
main.cc:390:27: warning: deprecated conversion from string constant to ‘char*’
main.cc:281:23: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
In file included from /usr/include/stdio.h:930:0,
from nmap.h:181,
from main.cc:102:
/usr/include/bits/stdio2.h: In function ‘int snprintf(char*, size_t, const char*, ...)’:
/usr/include/bits/stdio2.h:66:44: error: invalid use of ‘__builtin_va_arg_pack ()’
/usr/include/bits/stdio2.h: In function ‘int printf(const char*, ...)’:
/usr/include/bits/stdio2.h:105:72: error: invalid use of ‘__builtin_va_arg_pack ()’
In file included from /usr/include/fcntl.h:252:0,
from nmap.h:214,
from main.cc:102:
/usr/include/bits/fcntl2.h: In function ‘int open(const char*, int, ...)’:
/usr/include/bits/fcntl2.h:44:7: error: invalid use of ‘__builtin_va_arg_pack_len ()’
/usr/include/bits/fcntl2.h:42:1: error: invalid use of ‘__builtin_va_arg_pack_len ()’
/usr/include/bits/fcntl2.h:60:57: error: invalid use of ‘__builtin_va_arg_pack ()’
make: *** [main.o] Błąd 1
mageboom@hpbook ~/Pulpit/Software/nmap-3.81 $
Czy ktoś już spotkał się z takim problem lub jest w stanie mi pomóc ?