Skip to contentSkip to conversation

CROSS_COMPILE - namespace collision

DISCUSSION Lee Revell 2 participants 2 messages Jun 28, 2006

lore
Share & tools
lore

Lee Revell

author
#0 lore raw

I have not been able to get readline 5.1 to compile with the ELDK - it places the value of CROSS_COMPILE in the gcc command line and thus fails with "No such file or directory". I emailed the readline maintainer and got this response:

"The bash Makefiles expect CROSS_COMPILE
to expand to a preprocessor option, and will fail otherwise."

I can make it work with a hack, but I thought this might be interesting info.

Any comments?

Lee

#1 lore raw

Dear Lee,

Quoted 1 line · in message <1151515702.15513.40.camel@mindpipe> you wrote:

I have not been able to get readline 5.1 to compile with the ELDK - it

Did you read the documentation?

Quoted 2 lines

I can make it work with a hack, but I thought this might be interesting info.

Please see section "3.7.2. Rebuilding Target Packages" in the manual,
http://www.denx.de/wiki/view/DULG/ELDKRebuildingComponents#Section_3.7.2.

It describes clearly what needs to be done to build target packages. Also note that readline already comes as part of the ELDK, so you probably might just use the existing code.

Please RTFM.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
Sometimes a feeling is all we humans have to go on.
	-- Kirk, "A Taste of Armageddon", stardate 3193.9