Re: Problems compiling 2.1.43

Michael Nelson (nelson@seahunt.imat.com)
Fri, 27 Jun 1997 02:33:52 -0700


On Jun 27, 2:13am, Jamil Salem Barbar wrote:
> Subject: Problems compiling 2.1.43
> Hi
>
> I found problems when compile kernel 2.1.43. The file
> linux/drivers/char/rtc.c have one more ")" in the following line:
> ---------------------------------------------v
> retval = put_user(data, (unsigned long *)buf)) ?: sizeof(unsigned long);

Try removing the extra ")".

> The other problem is when compile the
> file/arch/i386/kernel/linux/trampoline.S . The folowing error occur:
>
> gcc -D__KERNEL__ -I/usr/src/linux-2.1.43/include -D__ASSEMBLY__
> -D__SMP__ -traditional -c trampoline.S -o trampoline.o
> /tmp/cca05186.s: Assembler messages:
> /tmp/cca05186.s:123: Error: Value of ffffffff40000000 too large for
> field of 4 bytes at 000000000000003d
> make[1]: *** [trampoline.o] Error 1
> make[1]: Leaving directory `/usr/src/linux-2.1.43/arch/i386/kernel'
> make: *** [linuxsubdirs] Error 2
>
> What I can to do ?

Update your binutils package.

Michael

-- 
Michael Nelson                                   nelson@seahunt.imat.com
San Francisco, CA                                   michaeln@csd.sgi.com