[vortex] Compile warnings

Joost joost@bingopaleis.com
Mon Mar 10 11:17:11 2003


Thanks for answering, Donald.

> > >
gcc -I/usr/src/kernel-headers-2.2.20/include/ -DMODULE -D__KERNEL__ -O6 -c
> > > 3c59x.c
>
> OK, the 2.2.20 kernel.  Is this from kernel.org, or a vendor-modified
> kernel?

I'm running Debian 3.0 (Woody), standard installation, 2.2.20 kernel. This
doesn't include the kernel headers, so I got those by installing the
'kernel-headers-2.2.20' package
(http://packages.debian.org/stable/devel/kernel-headers-2.2.20.html). I
figured those should be the correct ones for my installation.

> Please try changing line 215 from
>   #if LINUX_VERSION_CODE < 0x20363
> to
>   #if LINUX_VERSION_CODE < 0x20214

Ok, done that, it seems to work. Now when I run
"gcc -I/usr/src/kernel-headers-2.2.20/include/ -DMODULE -D__KERNEL__ -O6 -c
3c59x.c" all that's left of the warnings is:

/tmp/ccCYun8I.s: Assembler messages:
/tmp/ccCYun8I.s:72: Warning: ignoring changed section attributes for
.modinfo

That doesn't say me much though...

Joost