Hi.
I am trying to compile IPD 4.1.13 on Gentoo but always getting some
compile error, I would really aprreciate any help you can give me.
Usually I would use any kind of *BSD, but none of them works correctly
with the hardware I got, so I'm stuck with Linux.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# uname -a
Linux gen2 2.6.16-gentoo-r7 #1 SMP Sat May 20 16:32:21 CEST 2006 i686
Intel(R) Celeron(R) CPU 2.40GHz GNU/Linux
When I compile it using either "make linux" (GNU) or "pmake linux" it
starts fine but then I am getting this:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# pmake linux
...lotsof output...
include/linux/hardirq.h:35:27: warning: "NR_IRQS" is not defined
In file included from
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../ipf-linux.h:158,
from
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686//ip_film.c:9:
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../../ip_compat.h:37:5:
warning: "SOLARIS2" is not defined
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../../ip_compat.h:1511:5:
warning: "BSD" is not defined
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../../ip_compat.h:1550:7:
warning: "BSD" is not defined
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../../ip_compat.h:1775:6:
warning: "BSD" is not defined
In file included from
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../ipf-linux.h:159,
from
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686//ip_film.c:9:
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../../ip_fil.h:1213:9:
warning: "_BSDI_VERSION" is not defined
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../../ip_fil.h:1213:38:
warning: "__FreeBSD_version" is not defined
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../../ip_fil.h:1214:8:
warning: "NetBSD" is not defined
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../../ip_fil.h:1250:8:
warning: "BSD" is not defined
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../../ip_fil.h:1297:7:
warning: "__FreeBSD_version" is not defined
In file included from
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../ipf-linux.h:164,
from
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686//ip_film.c:9:
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../../ip_frag.h:73:31:
warning: "BSD" is not defined
In file included from
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../../ip_pool.h:25,
from
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../ipf-linux.h:167,
from
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686//ip_film.c:9:
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../../radix_ipf.h:164:43:
warning: "IRIX" is not defined
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686//ip_film.c: In
function `iplattach':
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686//ip_film.c:141:
warning: assignment from incompatible pointer type
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686//ip_film.c:142:
warning: assignment makes integer from pointer without a cast
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686//ip_film.c: In
function `fr_fastroute':
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686//ip_film.c:786:
error: `ip_finish_output' undeclared (first use in this function)
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686//ip_film.c:786:
error: (Each undeclared identifier is reported only once
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686//ip_film.c:786:
error: for each function it appears in.)
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686//ip_film.c: In
function `fr_ifpaddr':
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686//ip_film.c:819:
warning: implicit declaration of function `__in_dev_get'
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686//ip_film.c:819:
warning: assignment makes pointer from integer without a cast
make[2]: ***
[/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686//ip_film.o] Error 1
make[1]: ***
[_module_/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16-gentoo-r7'
make: *** [ipflkm] Error 2
*** Error code 2
Stop.
pmake: stopped in /root/ip_fil4.1.13
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# make linux
...lots of output...
In file included from
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../ipf-linux.h:158,
from
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686//ip_film.c:9:
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../../ip_compat.h:37:5:
warning: "SOLARIS2" is not defined
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../../ip_compat.h:1511:5:
warning: "BSD" is not defined
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../../ip_compat.h:1550:7:
warning: "BSD" is not defined
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../../ip_compat.h:1775:6:
warning: "BSD" is not defined
In file included from
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../ipf-linux.h:159,
from
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686//ip_film.c:9:
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../../ip_fil.h:1213:9:
warning: "_BSDI_VERSION" is not defined
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../../ip_fil.h:1213:38:
warning: "__FreeBSD_version" is not defined
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../../ip_fil.h:1214:8:
warning: "NetBSD" is not defined
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../../ip_fil.h:1250:8:
warning: "BSD" is not defined
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../../ip_fil.h:1297:7:
warning: "__FreeBSD_version" is not defined
In file included from
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../ipf-linux.h:164,
from
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686//ip_film.c:9:
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../../ip_frag.h:73:31:
warning: "BSD" is not defined
In file included from
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../../ip_pool.h:25,
from
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../ipf-linux.h:167,
from
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686//ip_film.c:9:
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686/../../radix_ipf.h:164:43:
warning: "IRIX" is not defined
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686//ip_film.c: In
function `iplattach':
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686//ip_film.c:141:
warning: assignment from incompatible pointer type
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686//ip_film.c:142:
warning: assignment makes integer from pointer without a cast
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686//ip_film.c: In
function `fr_fastroute':
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686//ip_film.c:786:
error: `ip_finish_output' undeclared (first use in this function)
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686//ip_film.c:786:
error: (Each undeclared identifier is reported only once
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686//ip_film.c:786:
error: for each function it appears in.)
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686//ip_film.c: In
function `fr_ifpaddr':
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686//ip_film.c:819:
warning: implicit declaration of function `__in_dev_get'
/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686//ip_film.c:819:
warning: assignment makes pointer from integer without a cast
make[3]: ***
[/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686//ip_film.o] Error 1
make[2]: ***
[_module_/root/ip_fil4.1.13/Linux/Linux-2.6.16-gentoo-r7-i686] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.16-gentoo-r7'
make[1]: *** [ipflkm] Error 2
make[1]: Leaving directory `/root/ip_fil4.1.13/Linux'