Kernel compile error

Nejc Skoberne nejc.skoberne at guest.arnes.si
Wed Jun 19 01:32:22 CEST 2002


Zdravo.

V kernel sem vklopil opcijo CONFIG_IP_MULTIPLE_TABLES=y, torej da bi
omogocil iproute2. Zal mi pri prevajanju vrze naslednji error ven:

gcc -D__KERNEL__ -I/usr/src/linux-2.4.18/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586   -DKBUILD_BASENAME=fib_rules  -c -o fib_rules.o fib_rules.c
fib_rules.c: In function `inet_rtm_delrule':
fib_rules.c:132: warning: implicit declaration of function `fib_rule_put'
fib_rules.c: In function `fib_empty_table':
fib_rules.c:147: `fib_tables' undeclared (first use in this function)
fib_rules.c:147: (Each undeclared identifier is reported only once
fib_rules.c:147: for each function it appears in.)
fib_rules.c:148: warning: implicit declaration of function `__fib_new_table'
fib_rules.c:148: warning: return makes pointer from integer without a cast
fib_rules.c: At top level:
fib_rules.c:153: warning: type mismatch with previous implicit declaration
fib_rules.c:132: warning: previous implicit declaration of `fib_rule_put'
fib_rules.c:153: warning: `fib_rule_put' was previously implicitly declared to return `int'
fib_rules.c: In function `fib_rules_policy':
fib_rules.c:256: structure has no member named `r'
fib_rules.c: At top level:
fib_rules.c:311: redefinition of `fib_lookup'
/usr/src/linux-2.4.18/include/net/ip_fib.h:156: `fib_lookup' previously defined here
fib_rules.c: In function `fib_lookup':
fib_rules.c:356: structure has no member named `r'
fib_rules.c: At top level:
fib_rules.c:373: redefinition of `fib_select_default'
/usr/src/linux-2.4.18/include/net/ip_fib.h:164: `fib_select_default' previously defined here
fib_rules.c: In function `fib_select_default':
fib_rules.c:374: structure has no member named `r'
fib_rules.c:374: structure has no member named `r'
fib_rules.c:377: structure has no member named `r'
make[3]: *** [fib_rules.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.18/net/ipv4'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.18/net/ipv4'
make[1]: *** [_subdir_ipv4] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.18/net'
make: *** [_dir_net] Error 2

Kje ga lomim?
Kernel 2.4.18, Slackware 8.0.

-- 
Nejc Skoberne
Grajska ulica 5
SI-5220 Tolmin
E-mail: nejc.skoberne at guest.arnes.si




More information about the lugos-list mailing list