LinuxPPC Kernel 2.4.2 build (multiple compilations error)

Ken Offer koffer at arlut.utexas.edu
Wed Feb 28 09:16:19 EST 2001


Ken Offer wrote:
>
> Takashi Oe wrote:
> > It's not a gcc problem.  Maybe, wait a day or two and refetch the archive?
>
> I guess I'll have to. :)

A Linux guru here found the problem (thanks Mike D.!!!).

And now for those searching the archives desperately for an answer:

If you run into the "gcc: cannot specify -o with -c or -S and multiple
compilations" error while building a kernel, the following might help.
The environment variable TARGET_ARCH might be set to "ppc" from a
previous build.  Doing an "unset TARGET_ARCH" cleared up the build
problem for me. :)

--
______________________________________________________________
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