"Dan Kegel" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 'make modules' in red hat 7.1 fails for me like this:
>
> make[2]: Entering directory `/usr/src/linux-2.4.2/drivers/net'
>
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fom
it-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe
> -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h -c -o dummy.o dummy.c
> In file included from /usr/src/linux/include/linux/spinlock.h:35,
> from /usr/src/linux/include/linux/module.h:11,
> from dummy.c:34:
> /usr/src/linux/include/asm/spinlock.h:8: nondigits in number and not
hexadecimal
> /usr/src/linux/include/asm/spinlock.h:8: nondigits in number and not
hexadecimal
> /usr/src/linux/include/asm/spinlock.h:8: parse error before `1b7d4074'
> /usr/src/linux/include/asm/spinlock.h:9: `printk_R_ver_str' declared as
function returning a function
> /usr/src/linux/include/asm/spinlock.h:9: warning: function declaration
isn't a prototype
> In file included from dummy.c:34:
> /usr/src/linux/include/linux/module.h:173: nondigits in number and not
hexadecimal
> /usr/src/linux/include/linux/module.h:173: nondigits in number and not
hexadecimal
> /usr/src/linux/include/linux/module.h:173: nondigits in number and not
hexadecimal
> /usr/src/linux/include/linux/module.h:173: nondigits in number and not
hexadecimal
> /usr/src/linux/include/linux/module.h:173: parse error before `62dada05'
> /usr/src/linux/include/linux/module.h:173:
`inter_module_register_R_ver_str' declared as function returning a function
>
> etc.
>
> Others have reported this problem, e.g.
> http://www.redhat.com/mailing-lists/redhat-devel-list/msg02374.html
> http://boudicca.tux.org/mhonarc/ma-linux/2001-Feb/msg00538.html
> but nobody as far as I can see has posted the solution.
>
> Anyone have a clue they can lend me?
did you do a make mrproper before starting ?
then a make xconfig or one of the other configurations?
and then make dep before you do make modules?
_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list