Share

iptables-p2p

Tracker: Bugs

5 Doesn't compile on 2.6.10 with gcc 3.2.3 - ID: 1146418
Last Update: Comment added ( midg3t )

Dunno why but on my Slackware 9.1 box it won't compile.
Previous versions did (using older kernels then). Here
is the make output:

root@indica:~/iptables-p2p-0.3.0a# make
make -C iptables
/bin/sh: line 1: /sbin/iptables: No such file or directory
make[1]: Entering directory
`/root/iptables-p2p-0.3.0a/iptables'
gcc -O2 -Wall -DIPTABLES_VERSION=\"\" -I../common -c
-o libipt_p2p.o libipt_p2p.c
libipt_p2p.c:73: warning: initialization makes integer
from pointer without a cast
libipt_p2p.c:73: initializer element is not computable
at load time
libipt_p2p.c:73: (near initialization for `p2p.revision')
libipt_p2p.c:74: warning: initialization makes pointer
from integer without a cast
libipt_p2p.c:76: warning: initialization makes integer
from pointer without a cast
libipt_p2p.c:77: warning: initialization from
incompatible pointer type
libipt_p2p.c:78: warning: initialization from
incompatible pointer type
libipt_p2p.c:79: warning: initialization from
incompatible pointer type
libipt_p2p.c:80: warning: initialization from
incompatible pointer type
libipt_p2p.c:81: warning: initialization from
incompatible pointer type
libipt_p2p.c:83: warning: initialization from
incompatible pointer type
make[1]: *** [libipt_p2p.o] Error 1
make[1]: Leaving directory
`/root/iptables-p2p-0.3.0a/iptables'
make: *** [linux-2.6] Error 2
root@indica:~/iptables-p2p-0.3.0a#


If you know a quick fix for this please email
sinthetek@mentalcases.net with it. I'm not a very
experienced coder and what few things i've tried have
been unsuccessful. Thank you


Nobody/Anonymous ( nobody ) - 2005-02-22 17:14

5

Open

None

Nobody/Anonymous

None

None

Public


Comment ( 1 )




Date: 2005-03-31 11:16
Sender: midg3tSourceForge.net Donor

Logged In: YES
user_id=1011928

Have a look at my fix in the Patches section. It fixes
compilation, but leaves a couple of symbols undefined (and
thus the module can't be loaded).

It gets it closer to working, anyway.

http://sourceforge.net/tracker/index.php?func=detail&aid=1173952&group_id=96453&atid=614831


Log in to comment.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.