public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* AIC7XXX Question
@ 2001-10-10  2:23 war
  2001-10-11 14:17 ` Mircea Damian
  0 siblings, 1 reply; 2+ messages in thread
From: war @ 2001-10-10  2:23 UTC (permalink / raw)
  To: linux-kernel

What exactly (besides commenting out that line) do I need to do to fix
this problem?

gcc -D__KERNEL__ -I/usr/src/linux-2.4.11/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686    -c -o aic7xxx_old.o aic7xxx_old.c
aic7xxx_old.c:11966: parse error before string constant
aic7xxx_old.c:11966: warning: type defaults to `int' in declaration of
`MODULE_LICENSE'
aic7xxx_old.c:11966: warning: function declaration isn't a prototype
aic7xxx_old.c:11966: warning: data definition has no type or storage
class
make[3]: *** [aic7xxx_old.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.11/drivers/scsi'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.11/drivers/scsi'
make[1]: *** [_subdir_scsi] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.11/drivers'
make: *** [_dir_drivers] Error 2
[root@war linux]#




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: AIC7XXX Question
  2001-10-10  2:23 AIC7XXX Question war
@ 2001-10-11 14:17 ` Mircea Damian
  0 siblings, 0 replies; 2+ messages in thread
From: Mircea Damian @ 2001-10-11 14:17 UTC (permalink / raw)
  To: war; +Cc: linux-kernel

You need to include linux/module.h to get the definition.

On Tue, Oct 09, 2001 at 10:23:12PM -0400, war wrote:
> What exactly (besides commenting out that line) do I need to do to fix
> this problem?
> 
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.11/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
> -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
> -march=i686    -c -o aic7xxx_old.o aic7xxx_old.c
> aic7xxx_old.c:11966: parse error before string constant
> aic7xxx_old.c:11966: warning: type defaults to `int' in declaration of
> `MODULE_LICENSE'
> aic7xxx_old.c:11966: warning: function declaration isn't a prototype
> aic7xxx_old.c:11966: warning: data definition has no type or storage
> class
> make[3]: *** [aic7xxx_old.o] Error 1
> make[3]: Leaving directory `/usr/src/linux-2.4.11/drivers/scsi'
> make[2]: *** [first_rule] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.4.11/drivers/scsi'
> make[1]: *** [_subdir_scsi] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.11/drivers'
> make: *** [_dir_drivers] Error 2
> [root@war linux]#
> 
> 
> 
> -
> 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/

-- 
Mircea Damian
E-mails: dmircea@kappa.ro, dmircea@roedu.net
WebPage: http://taz.mania.k.ro/~dmircea/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-10-11 14:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-10  2:23 AIC7XXX Question war
2001-10-11 14:17 ` Mircea Damian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox