problem s kompilovanim kernelu - hatm driver

icovnik icovnik at gmail.com
Mon Mar 8 16:38:26 CET 2010


Ahojte,

Snazim sa skompilovat kenrel na FBSD 8.0 s podporou ATM, ale nedari sa
mi. Podla manualu (`man hatm`) pridam do configu pozadovane parametre:

device hatm
device utopia
device atm
options NATM

ale kompilovanie zhavaruje:

cc -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc
-I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000  -mno-align-long-strings
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
-mno-sse3 -ffreestanding -fstack-protector -Werror
/usr/src/sys/netinet/if_atm.c
/usr/src/sys/netinet/if_atm.c: In function 'atm_rtrequest':
/usr/src/sys/netinet/if_atm.c:232: error: 'struct rtentry' has no
member named 'rt_llinfo'
/usr/src/sys/netinet/if_atm.c:258: error: 'struct rtentry' has no
member named 'rt_llinfo'
/usr/src/sys/netinet/if_atm.c:276: error: 'struct rtentry' has no
member named 'rt_llinfo'
/usr/src/sys/netinet/if_atm.c:278: error: 'struct rtentry' has no
member named 'rt_llinfo'
*** Error code 1

Az taky dobry v C nie som, aby som presne vedel tuto chybu opravit.
Vedeli by ste mi niekto pomoct?

Len pre upresnenie dodam, ze presne toto iste mi fungovalo v FBSD 6.2,
7.0 a 7.2, teraz v 8.0 mi to prvykrat nejde skompilovat. Zeby dajaky
bug?

Dikes

ico


More information about the Users-l mailing list