Re: Redhat compilation woes
Joerg Albert <[email protected]>
| Newsgroups | gmane.linux.drivers.at76c503a.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, On Mon, 29 Mar 2004, Christopher Piggott HOME wrote: > ... > Step 3: go into /usr/local/linux-2.4.20-8 and type: > make clean && make dep && make > to build the kernel from source. AFAIR RedHat requires to copy the correct config file from /boot/*config* into /usr/local/linux-2.4.20-8/.config. I'd call "make oldconfig" afterwards to get autoconf.h and the symbol versions right; followed by "make dep", "make bzImage", ... > 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 The last one looks like the modules' symbol versions weren't calc. correctly. No idea about the former ones. > /lib/modules/2.4.20-8/build/include/linux/kernel.h:62: warning: function > declaration isn't a prototype > > The offending section reads: > > 58: struct completion; > 59: > 60: extern struct notifier_block *panic_notifier_list; > 61: NORET_TYPE void panic(const char * fmt, ...) > 62: __attribute__ ((NORET_AND format (printf, 1, 2))); > P.S. Jörg, I'd be happy to let you log on to this computer if it would help. No problem - private mail follows. /Jörg