RE: v.11 redhat compiling errors
"Christopher Piggott HOME" <[email protected]>
| Newsgroups | gmane.linux.drivers.at76c503a.user |
|---|---|
| Message-ID | <[email protected]> |
A couple of data points on my compiling problem: - It's not the version ... because version 0.12 out of cvs does the same - It's not the compiler ... I downgraded from gcc 3.22 to 2.96 and it's the same. I'm really surprised, I thought this would be it. The main reason I thought so is that, according to the man pages, the behavior of -I is different between the two. One man page says -I appends the search list after standard includes, the other says before. Either way, it wasn't the problem - I tried modifying the makefile to not include /include, then appended it on the end of the list manually and it still behaves the same. What's weird is that it builds on my redhat 7.3 machine, but not the 9.0. Of course that doesn't really help me because they don't have the same kernels. So, still unable to compile at76c503 ... (frown) --Chris -----Original Message----- From: Christopher Piggott HOME [mailto:[email protected]] Sent: Saturday, March 27, 2004 8:41 PM To: [email protected] Subject: v.11 redhat compiling errors 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