Linux-Hams archive - February 1998: Re: Problems compiling kernel...
Re: Problems compiling kernel...
Thomas Sailer (kssc@digion.com)
Tue, 24 Feb 1998 13:12:54 +0100
Ferry Dave Jaeckel wrote:
>
> 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'
> > :
Huh... something horribly failed when you applied the
patch. it looks like the file has twice the same content.
hdlcdrv.c should be less than 1100 lines long.
Tom