Problem with LinuxPPC Kernel 2.4.2 build

Ken Offer koffer at arlut.utexas.edu
Wed Feb 28 03:36:45 EST 2001


Hi all,

I downloaded the latest kernel and attempted to build it (i.e.
ftp://ftp.fsmlabs.com/pub/linuxppc/linuxppc_2_4.snap.tar.bz2  20117 Kb
Tue Feb 27 06:07:00 2001).  After a while, along comes the curious
error:

make[1]: Entering directory `/usr/src/linuxppc_2_4_2/arch/ppc/coffboot'
gcc  -D__KERNEL__ -I/usr/src/linux/include -D__powerpc__  -c -o
coffcrt0.o coffcrt0.S
gcc -D__KERNEL__ -I/usr/src/linux/include -D__powerpc__ -O -fno-builtin
-D__KERNEL__ -I/usr/src/linux/include -D__powerpc__ ppc -c -o start.o
start.c
gcc: cannot specify -o with -c or -S and multiple compilations
make[1]: *** [start.o] Error 1
make[1]: Leaving directory `/usr/src/linuxppc_2_4_2/arch/ppc/coffboot'
make: *** [zImage] Error 2

I am using gcc 2.95.3.  Should I be using another version of the
compiler that can handle the "-c" and "-S" options together, or is there
a bug in the Makefile?

--
______________________________________________________________
Kenneth Ray Offer, II
Sr. Systems Analyst
Applied Research Laboratories/SDD
University of Texas at Austin
Office (512) 835-3859   FAX (512) 835-3259

Any opinions expressed above are mine and not necessarily
those of my employer.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/






More information about the Linuxppc-dev mailing list