Joga.Bonito Napisano Luty 28, 2007 Zgłoszenie Share Napisano Luty 28, 2007 Witam, czy ktoś wie jak rozwiązać taki oto problem. Na poprzedniej Fedorze (5) bez problemu mogłem skompilować Peerguardiana, niestety na szóstce już nie polecenie ./configure działa: [tomek@c121-81 pglinux-1.5beta]# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... found checking for working autoconf... found checking for working automake-1.4... found checking for working autoheader... found checking for working makeinfo... found checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for main in -lipq... no checking for main in -lncurses... yes checking for main in -lpthread... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for unistd.h... (cached) yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for working memcmp... yes checking return type of signal handlers... void checking for atexit... yes checking for isascii... yes checking for memset... yes checking for mkfifo... yes checking for socket... yes checking for strcasecmp... yes checking for strchr... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing default-1 commands bez błędów, natomiast polecenie make wywala: [tomek@c121-81 pglinux-1.5beta]# make g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/libipq -g -O2 -c Blocker_Linux.cpp Blocker_Linux.cpp:27:20: error: libipq.h: Nie ma takiego pliku ani katalogu Blocker_Linux.cpp: In function ‘void* PG::BlockerThread(void*)’: Blocker_Linux.cpp:102: error: ‘ipq_create_handle’ was not declared in this scope Blocker_Linux.cpp:109: error: ‘IPQ_COPY_PACKET’ was not declared in this scope Blocker_Linux.cpp:109: error: ‘ipq_set_mode’ was not declared in this scope Blocker_Linux.cpp:124: error: ‘ipq_read’ was not declared in this scope Blocker_Linux.cpp:133: error: ‘ipq_message_type’ was not declared in this scope Blocker_Linux.cpp:135: error: ‘NLMSG_ERROR’ was not declared in this scope Blocker_Linux.cpp:137: error: ‘ipq_get_msgerr’ was not declared in this scope Blocker_Linux.cpp:142: error: ‘ipq_packet_msg_t’ was not declared in this scope Blocker_Linux.cpp:142: error: ‘pkt’ was not declared in this scope Blocker_Linux.cpp:142: error: ‘ipq_get_packet’ was not declared in this scope Blocker_Linux.cpp:187: error: ‘ipq_set_verdict’ was not declared in this scope make: *** [Blocker_Linux.o] Błąd 1 brak libipq, próbowałem znaleźć w sieci ale bez skutku. Mam zainstalowane iptables i też nic. Z góry dzięki za pomoc. Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się