lkml.org 
[lkml]   [2000]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectErrors in 2.4-test11 build
Trying to build 2.4.0-test11-pre1 I get the following:

make[1]: Entering directory `/usr/src/linux-2.4.0-test11/arch/i386/kernel'
kgcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux/include -traditional -c
trampoline.S -o trampoline.o
gcc: installation problem, cannot exec `tradcpp0': No such file or directory
make[1]: *** [trampoline.o] Error 1

My egcs does not have a -traditional cpp (Mandrake 7.2, packages egcs and
egcs-cpp).

Is mandatory the -traditional flag in linux/arch/i386/kernel/Makefile ?

If I symlink /usr/lib/gcc-lib/i586-mandrake-linux/egcs-2.91.66/tradcpp0 -> cpp0,
or
remove -traditional:

kgcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux/include -c trampoline.S -o
trampoline.o
trampoline.S:47: unterminated character constant

Code is:
movl $0xA5A5A5A5, trampoline_data - r_base
>>>>> # write marker for master knows we're running

well, remove the comment. Then:

kgcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux/include -c trampoline.S -o
trampoline.o
/tmp/ccg9ZEBO.s: Assembler messages:
/tmp/ccg9ZEBO.s:806: Error: can't handle non absolute segment in `ljmp'

What's going on ??? Build works ok with 2.95.2.
Any idea ?

Thanks for reading...

--
Juan Antonio Magallon Lacarta #> cd /pub
mailto:jamagallon@able.es #> more beer

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.065 / U:4.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site