Why is my Moblock getting errors when i "make" compile it
I downloaded Moblock from Berlios,
i inputed make... on some other sites it says i have to include some .h C library but i have no idea really what i gotta do. Tell me if you need further information and what i can do to fix this. Thanks alot! Running Fedora 10 with all updates Tried to install Moblock according to that guide http://forums.phoenixlabs.org/showthread.php?t=11395 Updating-Installing worked for the side programms which are needed but not for moblock. _______________________________________________________ [root@localhost MoBlock-0.8]# make gcc -Wall -O2 -march=i586 -mtune=i686 -fomit-frame-pointer -ffast-math -D_GNU_SOURCE -DNFQUEUE -L/usr/include/libipq -c -o MoBlock.o MoBlock.c In file included from MoBlock.c:35: /usr/include/linux/netfilter_ipv4.h:53: error: âINT_MINâ undeclared here (not in a function) /usr/include/linux/netfilter_ipv4.h:64: error: âINT_MAXâ undeclared here (not in a function) make: *** [MoBlock.o] Error 1 |
I read you other link and this was the pronlem
Quote:
|
Thanks alot for the answer i will test it...
Stupid does i thougt this must be included already while i had to load wget for example seperately ! :-) Thanks alot so far! i Will post if it works! ----> Still doesnt work!! After i did yum install Perl* automake It is still giving me the same error out. |
Ok i found a solution,
Edit the MoBlock.c file with Vi for example and input #include <limits.h> into the include list on the top but make sure it is inserted before the <linux/netfilter_ipv4.h> Hope this helps everybody who had the same problem/or will have the same problem. |
All times are GMT -5. The time now is 08:22 PM. |