Strony: [1]
Drukuj
Autor Wątek: Dziwny błąd podczas instalacji nmap-3.81  (Przeczytany 114 razy)
0 użytkowników i 2 Gości przegląda ten wątek.
mageboom
Miętowe nasionko
*

Reputacja 0
Offline Offline

Distro: Mint 11
Wiadomości: 2


Zobacz profil
« : Październik 27, 2011, 09:22:08 »

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.
Kod:
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 ?
Zapisane
marcin'82
Globator Moderalny
Pole mięty
*****

Reputacja 2
Offline Offline

Płeć: Mężczyzna
Distro: PCLinuxOS 2012 Xfce | Debian Wheezy (testing) Xfce
Wiadomości: 843


echo "Nic nie działa!" && rm -rf /


Zobacz profil
« Odpowiedz #1 : Październik 27, 2011, 09:36:07 »

Witam.

Zainstaluj po prostu z repozytorium:
Kod:
sudo apt-get install nmap
Wersja jest "grubo" nowsza niż 3.81:
http://packages.ubuntu.com/oneiric/nmap .
A jeśli bardzo zależy Ci na kompilacji, to korzystaj z najnowszych wersji:
http://nmap.org/download.html .
« Ostatnia zmiana: Październik 27, 2011, 09:44:01 wysłana przez marcin'82 » Zapisane

Ko ko ko ko Debian spoko! | marcin'82 ;]
mageboom
Miętowe nasionko
*

Reputacja 0
Offline Offline

Distro: Mint 11
Wiadomości: 2


Zobacz profil
« Odpowiedz #2 : Październik 28, 2011, 07:56:04 »

Dzięki wielkie, ale nadal głowie się na tym problemem. Mam nadzieję, że już go więcej nie spotkam. Uśmiech
Zapisane
Forum Linux Mint
« Odpowiedz #2 : Październik 28, 2011, 07:56:04 »

 Zapisane
Strony: [1]
Drukuj
Skocz do: