Re: Compile warnings

"Joost" <[email protected]>
Newsgroups gmane.linux.drivers.vortex.devel
Message-ID <002501c2e71f$51855450$0700000a@PCJOOST>
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



_______________________________________________
vortex mailing list
[email protected]
http://www.scyld.com/mailman/listinfo/vortex
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.