Compile kernel - stable 6

Zbigniew Komarnicki cblasius at gmail.com
Wed Aug 29 23:58:15 PDT 2007


Hello,

I compile today kernel and obtain the following error. I something missing in 
my kernel file MYKER or is error in file tdfx_linux.c or tdfx_linux.h (see 
below for more):

/usr/src/sys/modules/3dfx_linux/../../dev/tdfx/tdfx_linux.c
In file included from @/dev/tdfx/tdfx_linux.h:36,
                 
from /usr/src/sys/modules/3dfx_linux/../../dev/tdfx/tdfx_linux.c:37:
./machine/../linux/linux_proto.h:744: error: syntax error before "l_timer_t"
./machine/../linux/linux_proto.h:744: error: `l_timer_t' undeclared here (not 
in a function)

The source tree was synced yesterday by csup.
Thanks in advance.

Zbigniew


========= the output ==============
===> 3dfx_linux (all)
cc -O2 -pipe -march=athlon -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE 
-nostdinc -I-   -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src
/sys/MYKER/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=
8000 -fno-common  -I/usr/obj/usr/src/sys/MYKER -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse 
-mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -std=c99 -c 
/usr/src/sys/modules/3dfx_linux/../../dev/tdfx/tdfx_linux.c
In file included from @/dev/tdfx/tdfx_linux.h:36,
                 
from /usr/src/sys/modules/3dfx_linux/../../dev/tdfx/tdfx_linux.c:37:
./machine/../linux/linux_proto.h:744: error: syntax error before "l_timer_t"
./machine/../linux/linux_proto.h:744: error: `l_timer_t' undeclared here (not 
in a function)
./machine/../linux/linux_proto.h:744: error: syntax error before ')' token
./machine/../linux/linux_proto.h:744: error: syntax error before ')' token
./machine/../linux/linux_proto.h:747: error: syntax error before "l_timer_t"
./machine/../linux/linux_proto.h:752: error: syntax error before "l_timer_t"
./machine/../linux/linux_proto.h:756: error: syntax error before "l_timer_t"
./machine/../linux/linux_proto.h:759: error: syntax error before "l_timer_t"
./machine/../linux/linux_proto.h:817: error: syntax error before "l_mqd_t"
./machine/../linux/linux_proto.h:817: error: `l_mqd_t' undeclared here (not in 
a function)
./machine/../linux/linux_proto.h:824: error: syntax error before "l_mqd_t"
./machine/../linux/linux_proto.h:831: error: syntax error before "l_mqd_t"
./machine/../linux/linux_proto.h:835: error: syntax error before "l_mqd_t"
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error


More information about the freebsd-questions mailing list