[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: strip: warning : Output file cannot represent architectureUNKNOWN



Thanks for your response. I am explicitly setting strip to xscale_be-strip.
But Make warns in different files each time.
and the warning is strip: warning : Output file cannot represent
architecture UNKNOWN.
Is there any place I need to check while doing Make?

Padmini

----- Original Message -----
From: "David Meggy" <dmeggy@techsol.ca>
To: "Padmini Krishnamurthy" <padmini@intoto.com>
Cc: <debian-arm@lists.debian.org>
Sent: Monday, April 12, 2004 11:18 AM
Subject: Re: strip: warning : Output file cannot represent
architectureUNKNOWN


> On Mon, 2004-04-12 at 11:07, Padmini Krishnamurthy wrote:
> > I am compiling freeswan-1.99 for a arm/XSCALE target. I am getting this
warning strip: warning : Output file cannot represent architecture UNKNOWN.
> > But the compile goes through fine and when I load it on the target, all
the commands complain.
>
> You need to run arm-linux-strip, instead of just strip if you are cross
> compiling.  Binutils will screws things up if you try and run strip on
> the wrong architecture.  This is fixed up in Binutils CVS though, and
> shouldn't happen in the next release.
>
> David
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~
>      David Meggy
>      Engineering
>
> Technical Solutions Inc.
> Unit #1 7157 Honeyman St
> Delta BC Canada, V4G 1E2
>      www.techsol.ca
>
> eMail: dmeggy@techsol.ca
> Tel: 604 946 TECH (8324)
> Fax: 604 946 6445
> ~~~~~~~~~~~~~~~~~~~~~~~~



Reply to: