Try adding this line in Makefile

 INCLUDE+=-I</path/to/kernel/source>

On Wed, Apr 2, 2008 at 11:10 AM, Allan T. Parreno
<[EMAIL PROTECTED]> wrote:
>
>  Hello,
>
>  Im having problem compiling the ipp2p, any idea to resolve this error?
>
>  [EMAIL PROTECTED] ipp2p-0.8.2]# make
>  make -C /lib/modules/2.6.24/build SUBDIRS=/home/allan/ipp2p-0.8.2 modules
>  make[1]: Entering directory `/usr/src/linux-2.6.24'
>    CC [M]  /home/allan/ipp2p-0.8.2/ipt_ipp2p.o
>    Building modules, stage 2.
>    MODPOST 1 modules
>    CC      /home/allan/ipp2p-0.8.2/ipt_ipp2p.mod.o
>    LD [M]  /home/allan/ipp2p-0.8.2/ipt_ipp2p.ko
>  make[1]: Leaving directory `/usr/src/linux-2.6.24'
>  gcc -O3 -Wall -DIPTABLES_VERSION=\"1.4.0\"
>  -I/usr/src/iptables-1.4.0/include -fPIC -c libipt_ipp2p.c
>  In file included from /usr/src/iptables-1.4.0/include/libiptc/libiptc.h:7,
>                   from /usr/src/iptables-1.4.0/include/iptables.h:5,
>                   from libipt_ipp2p.c:9:
>  /usr/src/iptables-1.4.0/include/linux/netfilter_ipv4/ip_tables.h:18:28:
>  error: linux/compiler.h: No such file or directory
>  In file included from /usr/src/iptables-1.4.0/include/libiptc/libiptc.h:7,
>                   from /usr/src/iptables-1.4.0/include/iptables.h:5,
>                   from libipt_ipp2p.c:9:
>  /usr/src/iptables-1.4.0/include/linux/netfilter_ipv4/ip_tables.h:190:
>  error: expected :, ,, ;, } or __attribute__ before * token
>  make: *** [libipt_ipp2p.so] Error 1
>  [EMAIL PROTECTED] ipp2p-0.8.2]#
>
>  Thanks in advance.
>
>
>  _________________________________________________
>  Philippine Linux Users' Group (PLUG) Mailing List
>  [email protected] (#PLUG @ irc.free.net.ph)
>  Read the Guidelines: http://linux.org.ph/lists
>  Searchable Archives: http://archives.free.net.ph
>
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to