linux-2.6.0-test1 compile error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi friends,
I am trying to compile linux-2.6.0-test1 and I did the following.
 
make mrproper
make menuconfig
make bzImage
all fine till here..
but "make modules" fails with the following error
 

make -f scripts/Makefile.build obj=drivers/char/mwave

make -f scripts/Makefile.build obj=drivers/char/pcmcia

(many such lines)

last few lines
----------------------------------------------------

gcc -Wp,-MD,drivers/char/.riscom8.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc -iwithprefix include -DMODULE -DKBUILD_BASENAME=riscom8 -DKBUILD_MODNAME=riscom8 -c -o drivers/char/.tmp_riscom8.o drivers/char/riscom8.c

In file included from drivers/char/riscom8.c:51:

drivers/char/riscom8.h:84: field `tqueue' has incomplete type

drivers/char/riscom8.h:85: field `tqueue_hangup' has incomplete type

drivers/char/riscom8.c:84: warning: type defaults to `int' in declaration of `DECLARE_TASK_QUEUE'

drivers/char/riscom8.c:84: warning: parameter names (without types) in function declaration

drivers/char/riscom8.c:135: confused by earlier errors, bailing out

make[2]: *** [drivers/char/riscom8.o] Error 1

make[1]: *** [drivers/char] Error 2

make: *** [drivers] Error 2

 
----------------------------------------------------
 
Obviously , there is an error in riscom8.c
gcc version is not 2.95.3 (2.96 if I remember) Do I _have_ to use 2.95.3.?
 
Is there something I have missed with the new kernel?
If anyone can point me in the right direction, it will be much appreciated.
 
Thanks in advance.
vijay
 
 


Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux