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

RE: porting app (again)



> -----Original Message-----
> From: RedHat [mailto:RedHat@xxxxxxx.net]

> I tried "backing down" to a smaller application.
> 
> I added:
> 
> AXIS_USABLE_LIBS = GLIBC
> include $(APPS)/Rules.elinux
> 
> To the Makefile
> 
> And, I managed to get "something" to build. However, when I 
> try to run it on
> the dev board it claims "bad magic".
> 
> I'm wondering if the -isystem /usr/local/include is causing 
> problems, or?

The isystem path is set as "$(prefix)/include" internally in Rules.elinux.Your Makefile is probably overriding the value of prefix to /usr/local. Try removing the definition av 'prefix' in your Makefile.

'prefix' should be equal to $(EROOT) when building for cris-axis-linux-gnu.

/MiP