LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 01-27-2009, 07:43 PM   #1
Nibbl3r
LQ Newbie
 
Registered: Dec 2008
Location: Zuerich, Switzerland
Distribution: Fedora Core/Debian
Posts: 28

Rep: Reputation: 16
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
 
Old 01-27-2009, 08:06 PM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,658
Blog Entries: 3

Rep: Reputation: 224Reputation: 224Reputation: 224
I read you other link and this was the pronlem
Quote:
cd . && /root/Desktop/pglinux-1.5beta/missing automake-1.4 --gnu Makefile
WARNING: `automake-1.4' is missing on your system. You should only need it if
you modified `Makefile.am', `acinclude.m4' or `configure.in'.
You might want to install the `Automake' and `Perl' packages.
Grab them from any GNU archive site.
cd . \
as for fc you may have up dated but you never installed your development libraries to build it.
 
Old 01-27-2009, 08:34 PM   #3
Nibbl3r
LQ Newbie
 
Registered: Dec 2008
Location: Zuerich, Switzerland
Distribution: Fedora Core/Debian
Posts: 28

Original Poster
Rep: Reputation: 16
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.

Last edited by Nibbl3r; 01-27-2009 at 08:37 PM.
 
Old 01-28-2009, 06:27 PM   #4
Nibbl3r
LQ Newbie
 
Registered: Dec 2008
Location: Zuerich, Switzerland
Distribution: Fedora Core/Debian
Posts: 28

Original Poster
Rep: Reputation: 16
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.
 
  


Reply

Tags
fedora 10, installation


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
So many errors when I typed the "make" and "make install" command Niceman2005 Linux - Software 23 07-22-2009 03:33 PM
"make headers_check" gives errors during "5.5.1 Installation of Linux API headers " void_man() Linux From Scratch 3 09-26-2007 10:16 PM
compile errors "no such file" with vsftpd and SSL on suse 10 todman Suse/Novell 4 02-28-2006 12:01 PM
Constant errors during "make" or "make install" with SUSE 10.1 Alpha 4 TehFlyingDutchman Linux - Software 3 12-30-2005 07:25 PM
snort compile errors "C compiler cannot create executables" RKris Linux - Software 2 11-07-2003 03:08 AM


All times are GMT -5. The time now is 07:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration