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

RE: porting app (again)



Mikael,

Thanks for your pointer, I'll try that tonight with the "larger"
application.

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?

TIA


[root@xxxxxxx.05]# make cris-axis-linux-gnu
echo AXIS_BUILDTYPE=cris-axis-linux-gnu > .tmp.target-makefrag
make configsubs AXIS_BUILDTYPE=cris-axis-linux-gnu
ROOT_MAKEFRAG=/home/lware/axis/devboard_lx/apps/photopc-3.05/.tmp.target-mak
efrag
make[1]: Entering directory `/home/lware/axis/devboard_lx/apps/photopc-3.05'
cmp -s /home/lware/axis/devboard_lx/apps/photopc-3.05/.tmp.target-makefrag
.target-makefrag || ( rm -f .target*; cp
/home/lware/axis/devboard_lx/apps/photopc-3.05/.tmp.target-makefrag
.target-makefrag )
make[1]: Leaving directory `/home/lware/axis/devboard_lx/apps/photopc-3.05'
[root@xxxxxxx.05]# make
gcc-cris -mlinux -isystem /usr/local/include -DHAVE_CONFIG_H -I.     -g -O2
-Wall -c eph_read.c
eph_read.c:2: warning: `rcsid' defined but not used
gcc-cris -mlinux -isystem /usr/local/include -DHAVE_CONFIG_H -I.     -g -O2
-Wall -c eph_iob.c
eph_iob.c:2: warning: `rcsid' defined but not used
gcc-cris -mlinux -isystem /usr/local/include -DHAVE_CONFIG_H -I.     -g -O2
-Wall -c eph_err.c
eph_err.c:2: warning: `rcsid' defined but not used
gcc-cris -mlinux -isystem /usr/local/include -DHAVE_CONFIG_H -I.     -g -O2
-Wall -c eph_cmd.c
eph_cmd.c:2: warning: `rcsid' defined but not used
gcc-cris -mlinux -isystem /usr/local/include -DHAVE_CONFIG_H -I.     -g -O2
-Wall -c eph_io.c
eph_io.c:2: warning: `rcsid' defined but not used
gcc-cris -mlinux -isystem /usr/local/include -DHAVE_CONFIG_H -I.     -g -O2
-Wall -c eph_open.c
eph_open.c:2: warning: `rcsid' defined but not used
rm -f libeph_io.a
/usr/bin/ar cru libeph_io.a eph_read.o eph_iob.o eph_err.o eph_cmd.o
eph_io.o eph_open.o 
ranlib-cris libeph_io.a
gcc-cris -mlinux -isystem /usr/local/include -DHAVE_CONFIG_H -I.     -g -O2
-Wall -c photopc.c
photopc.c:2: warning: `rcsid' defined but not used
gcc-cris -mlinux -isystem /usr/local/include -DHAVE_CONFIG_H -I.     -g -O2
-Wall -c a12scan.c
a12scan.c:2: warning: `rcsid' defined but not used
gcc-cris -mlinux -isystem /usr/local/include -DHAVE_CONFIG_H -I.     -g -O2
-Wall -c fnames.c
fnames.c:2: warning: `rcsid' defined but not used
gcc-cris -mlinux -isystem /usr/local/include -DHAVE_CONFIG_H -I.     -g -O2
-Wall -c ctimez.c
ctimez.c:2: warning: `rcsid' defined but not used
gcc-cris -mlinux -isystem /usr/local/include -DHAVE_CONFIG_H -I.     -g -O2
-Wall -c filetime.c
filetime.c:2: warning: `rcsid' defined but not used
gcc-cris -mlinux -isystem /usr/local/include -DHAVE_CONFIG_H -I.     -g -O2
-Wall -c exifscan.c
exifscan.c:2: warning: `rcsid' defined but not used
gcc-cris -mlinux -isystem /usr/local/include  -g -O2 -Wall  -o photopc
photopc.o a12scan.o fnames.o ctimez.o filetime.o exifscan.o libeph_io.a 
gcc-cris -mlinux -isystem /usr/local/include -DHAVE_CONFIG_H -I.     -g -O2
-Wall -c epinfo.c
epinfo.c:2: warning: `rcsid' defined but not used
gcc-cris -mlinux -isystem /usr/local/include  -g -O2 -Wall  -o epinfo
epinfo.o a12scan.o exifscan.o fnames.o ctimez.o filetime.o  
[root@xxxxxxx.05]#