lkml.org 
[lkml]   [2002]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Date
From
SubjectRe: make modules fails with 2.5.41 in scsi/ppa
And if I remove #include <linux/tqueue.h> from ppa.h, I get the errors below:

Regarding the error in ppa.c line 56
routine was in (2.5.38) tqueue.h:
struct tq_struct {
struct list_head list; /* linked list of active bh's */
unsigned long sync; /* must be initialized to zero */
void (*routine)(void *); /* function to call */
void *data; /* argument to function */
};

-----------------

make -f drivers/scsi/Makefile
gcc -Wp,-MD,drivers/scsi/.ppa.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -Iarch/i386/mach-generic -nostdinc -iwithprefix include -DMODULE -include include/linux/modversions.h -DKBUILD_BASENAME=ppa -c -o drivers/scsi/ppa.o drivers/scsi/ppa.c
drivers/scsi/ppa.c:32: field `ppa_tq' has incomplete type
drivers/scsi/ppa.c:56: warning: braces around scalar initializer
drivers/scsi/ppa.c:56: warning: (near initialization for `ppa_hosts[0].ppa_tq')
drivers/scsi/ppa.c:56: unknown field `routine' specified in initializer
drivers/scsi/ppa.c:56: invalid initializer
drivers/scsi/ppa.c:56: (near initialization for `ppa_hosts[0].ppa_tq')
drivers/scsi/ppa.c:56: initializer element is not constant
drivers/scsi/ppa.c:56: (near initialization for `ppa_hosts[0].ppa_tq')
drivers/scsi/ppa.c:56: initializer element is not constant
drivers/scsi/ppa.c:56: (near initialization for `ppa_hosts[0]')
drivers/scsi/ppa.c:56: warning: braces around scalar initializer
drivers/scsi/ppa.c:56: warning: (near initialization for `ppa_hosts[1].ppa_tq')
drivers/scsi/ppa.c:56: unknown field `routine' specified in initializer
drivers/scsi/ppa.c:56: invalid initializer
drivers/scsi/ppa.c:56: (near initialization for `ppa_hosts[1].ppa_tq')
drivers/scsi/ppa.c:56: initializer element is not constant
drivers/scsi/ppa.c:56: (near initialization for `ppa_hosts[1].ppa_tq')
drivers/scsi/ppa.c:56: initializer element is not constant
drivers/scsi/ppa.c:56: (near initialization for `ppa_hosts[1]')
drivers/scsi/ppa.c:56: warning: braces around scalar initializer
drivers/scsi/ppa.c:56: warning: (near initialization for `ppa_hosts[2].ppa_tq')
drivers/scsi/ppa.c:56: unknown field `routine' specified in initializer
drivers/scsi/ppa.c:56: invalid initializer
drivers/scsi/ppa.c:56: (near initialization for `ppa_hosts[2].ppa_tq')
drivers/scsi/ppa.c:56: initializer element is not constant
drivers/scsi/ppa.c:56: (near initialization for `ppa_hosts[2].ppa_tq')
drivers/scsi/ppa.c:56: initializer element is not constant
drivers/scsi/ppa.c:56: (near initialization for `ppa_hosts[2]')
drivers/scsi/ppa.c:56: warning: braces around scalar initializer
drivers/scsi/ppa.c:56: warning: (near initialization for `ppa_hosts[3].ppa_tq')
drivers/scsi/ppa.c:56: unknown field `routine' specified in initializer
drivers/scsi/ppa.c:56: invalid initializer
drivers/scsi/ppa.c:56: (near initialization for `ppa_hosts[3].ppa_tq')
drivers/scsi/ppa.c:56: initializer element is not constant
drivers/scsi/ppa.c:56: (near initialization for `ppa_hosts[3].ppa_tq')
drivers/scsi/ppa.c:56: initializer element is not constant
drivers/scsi/ppa.c:56: (near initialization for `ppa_hosts[3]')
drivers/scsi/ppa.c: In function `ppa_interrupt':
drivers/scsi/ppa.c:804: warning: implicit declaration of function `schedule_delayed_work_Rd3dad18a'
drivers/scsi/ppa.c: In function `ppa_queuecommand':
drivers/scsi/ppa.c:989: warning: implicit declaration of function `schedule_work_Rf6a5a6c8'
make[2]: *** [drivers/scsi/ppa.o] Error 1
make[1]: *** [drivers/scsi] Error 2
make: *** [drivers] Error 2




rcliff@panix.com writes:

> slackware-8.1: gcc 2.95.3; intel pentuum4
>
> Here is the error when I do "make modules" from a clean 2.5.41:
>
>
> 05:06pm{/usr/src/linux}# make modules
> .....
> make -f drivers/scsi/Makefile
> gcc -Wp,-MD,drivers/scsi/.ppa.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -Iarch/i386/mach-generic -nostdinc -iwithprefix include -DMODULE -include include/linux/modversions.h -DKBUILD_BASENAME=ppa -c -o drivers/scsi/ppa.o drivers/scsi/ppa.c
> In file included from drivers/scsi/ppa.c:52:
> drivers/scsi/ppa.h:81: linux/tqueue.h: No such file or directory
....
> make[1]: *** [drivers/scsi] Error 2
> make: *** [drivers] Error 2

--
Robert Clifford, ESCC New York City rcliff@panix.com
"I think I've got the hang of it now .... :w :q :wq :wq! ^d X exit X Q
:quitbye CtrlAltDel ~~q :~q logout save/quit :!QUIT ^[zz ^[ZZ ZZZZ ^H ^@ ^L
^[c ^# ^E ^X ^I ^T ? help helpquit ^D^d ^C ^c help exit ?Quit ?q" (Ed Wright)


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:29    [W:0.031 / U:2.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site