v.11 redhat compiling errors

"Christopher Piggott HOME" <[email protected]>
Newsgroups gmane.linux.drivers.at76c503a.user
Message-ID <[email protected]>
When I try to compile v.11 I get tons and tons of errors.  I read the readme
file and it's not the symlink to the build directory - that part is correct.
The running kernel is 2.4.20 but the version that's in /usr/src/linux-2.4 is
not the running one (the one in /usr/src is built with extra options -- I'm
trying to target this to an embedded Geode board).

So, if KERNEL_SRC and KERNEL_HEADERS are consistent (pointing to
/usr/src/linux-2.4-20.8) then why wouldn't it build?

--Chris


[root@dhcppc1 at76c503-0.11]# make 2>&1 | more
gcc -MD -O2 -Wall -Wstrict-prototypes -pipe -fno-strict-aliasing -fno-common
 -Wno-sign-compare -Wno-unused -D__KER
NEL__ -DMODULE -DEXPORT_SYMTAB -DDRIVER_VERSION=\"v0.11\" -I/lib/modules/2.4
.20-8/build/include -DMODVERSIONS -inc
lude /lib/modules/2.4.20-8/build/include/linux/modversions.h -c at76c503.c
In file included from at76c503.c:78:
/lib/modules/2.4.20-8/build/include/linux/kernel.h:60: invalid suffix on
integer constant
/lib/modules/2.4.20-8/build/include/linux/kernel.h:60: parse error before
numeric constant
/lib/modules/2.4.20-8/build/include/linux/kernel.h:60: warning: function
declaration isn't a prototype
/lib/modules/2.4.20-8/build/include/linux/kernel.h:61: invalid suffix on
integer constant
/lib/modules/2.4.20-8/build/include/linux/kernel.h:61: parse error before
numeric constant
/lib/modules/2.4.20-8/build/include/linux/kernel.h:62: `panic_R_ver_str'
declared as function returning a function
/lib/modules/2.4.20-8/build/include/linux/kernel.h:62: warning: function
declaration isn't a prototype
/lib/modules/2.4.20-8/build/include/linux/kernel.h:68: parse error before
numeric constant
/lib/modules/2.4.20-8/build/include/linux/kernel.h:68:
`simple_strtoul_R_ver_str' declared as function returning a
 function
/lib/modules/2.4.20-8/build/include/linux/kernel.h:68: warning: function
declaration isn't a prototype
/lib/modules/2.4.20-8/build/include/linux/kernel.h:69: invalid suffix on
integer constant
/lib/modules/2.4.20-8/build/include/linux/kernel.h:69: parse error before
numeric constant
/lib/modules/2.4.20-8/build/include/linux/kernel.h:69:
`simple_strtol_R_ver_str' declared as function returning a
function
/lib/modules/2.4.20-8/build/include/linux/kernel.h:69: warning: function
declaration isn't a prototype
/lib/modules/2.4.20-8/build/include/linux/kernel.h:70: invalid suffix on
integer constant
/lib/modules/2.4.20-8/build/include/linux/kernel.h:70: parse error before
numeric constant
/lib/modules/2.4.20-8/build/include/linux/kernel.h:70:
`simple_strtoull_R_ver_str' declared as function returning
a function
/lib/modules/2.4.20-8/build/include/linux/kernel.h:70: warning: function
declaration isn't a prototype
/lib/modules/2.4.20-8/build/include/linux/kernel.h:72: invalid suffix on
integer constant
/lib/modules/2.4.20-8/build/include/linux/kernel.h:72: parse error before
numeric constant
/lib/modules/2.4.20-8/build/include/linux/kernel.h:73: `sprintf_R_ver_str'
declared as function returning a functi
on
/lib/modules/2.4.20-8/build/include/linux/kernel.h:73: warning: function
declaration isn't a prototype
/lib/modules/2.4.20-8/build/include/linux/kernel.h:74: invalid suffix on
integer constant
/lib/modules/2.4.20-8/build/include/linux/kernel.h:74: parse error before
numeric constant
/lib/modules/2.4.20-8/build/include/linux/kernel.h:74: `vsprintf_R_ver_str'
declared as function returning a funct
ion
/lib/modules/2.4.20-8/build/include/linux/kernel.h:74: warning: function
declaration isn't a prototype
/lib/modules/2.4.20-8/build/include/linux/kernel.h:75: invalid suffix on
integer constant
/lib/modules/2.4.20-8/build/include/linux/kernel.h:75: parse error before
numeric constant
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.