Linux-Hams archive - February 1998: Problems compiling kernel...

Problems compiling kernel...

Ferry Dave Jaeckel (kfdl@mx.dy.fi)
Sun, 22 Feb 1998 15:58:29 +0100


Hello!

I'm a nebiew to Linux, so I hope I made no crucial errors...

I applied the patch to Kernel 2.0.33 (I also tried 2.0.32) with no error

messages.
But when compiling, I get the following Messages and compiling stops:

>make[3]: Entering
directory`/usr/src/linux-2.0.33.pre.SuSE.3/drivers/net'
>gcc -D__KERNEL__ -I/usr/src/linux-2.0.33.pre.SuSE.3/include
-Wall-Wstrict
>-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe
>-m386 -DCPU=386 -c -o hdlcdrv.o hdlcdrv.c
>hdlcdrv.c:1127: redefinition of `copy_from_user'
>hdlcdrv.c:90: `copy_from_user' previously defined here
>hdlcdrv.c:1136: redefinition of `copy_to_user'
>hdlcdrv.c:99: `copy_to_user' previously defined here
>hdlcdrv.c:1149: redefinition of `dev_init_buffers'
>hdlcdrv.c:112: `dev_init_buffers' previously defined here
>hdlcdrv.c:1182: redefinition of `ax25_bcast'
>hdlcdrv.c:145: `ax25_bcast' previously defined here
>hdlcdrv.c:1184: redefinition of `ax25_test'
> :
> :
> :
>{standard input}: Assembler messages:
>{standard input}:2545: Fatal error: Symbol hdlc_rx_add_bytes already
>defined.
>hdlcdrv.c:3068: redefinition of `hdlcdrv_syms'
>hdlcdrv.c:2031: `hdlcdrv_syms' previously defined here
>hdlcdrv.c:3068: warning: `hdlcdrv_syms' defined but not used
>hdlcdrv.c:3112: output pipe has been closed
>gcc: Internal compiler error: program cc1 got fatal signal 13
>make[3]: *** [hdlcdrv.o] Error 1
>make[3]: Leaving directory
>`/usr/src/linux-2.0.33.pre.SuSE.3/drivers/net'
>make[2]: *** [first_rule] Error 2
>make[2]: Leaving directory
>`/usr/src/linux-2.0.33.pre.SuSE.3/drivers/net'
>make[1]: *** [sub_dirs] Error 2
>make[1]: Leaving directory `/usr/src/linux-2.0.33.pre.SuSE.3/drivers'
>make: *** [linuxsubdirs] Error 2

I applied patch ax-25-module-14f on a S.u.S.E. 2.0.33 Kernel.
I also tried a 2.0.32 Kernel, but then I couldn't even apply the patch
(patch says,
something in sound has already been patched, applying anyway results in
an corrupted menuconfig (the sound menu had no card specific entries),

In this list I read that the patch is OK for 2.0.32 and 2.0.33, so I
have no
idea were the problem is.

Thank you very much for your help!!

Dave,
DC2JFD