Hi I 'm trying to cross compile Ocera-lincan for my TS-7260/2.6.21-ts.
(I can't use the compiled ones at the embedded arm ftp because they
are not EABI)
The error is when I add march=armv4t to the CFLAGS.
Appreciate any help.
.....
CC ul_logreg.o
CC ul_uniqid.o
AR /media/sbc/cube/tscan1/ocera-canEABI/_compiled/lib/libulut.a
make[2]: Leaving directory
`/media/sbc/cube/tscan1/ocera-canEABI/_build/user/utils/ulut'
make[2]: Entering directory
`/media/sbc/cube/tscan1/ocera-canEABI/_build/user/utils/flib'
CXX fexception.o
/media/sbc/cube/tscan1/ocera-canEABI/utils/flib/fexception.cc:1:
error: bad value (armv4t) for -march= switch
/media/sbc/cube/tscan1/ocera-canEABI/utils/flib/fexception.cc:1:
error: bad value (armv4t) for -mtune= switch
make[3]: *** [fexception.o] Error 1
make[2]: *** [library-pass] Error 2
make[2]: Leaving directory
`/media/sbc/cube/tscan1/ocera-canEABI/_build/user/utils/flib'
make[1]: *** [library-pass] Error 1
make[1]: Leaving directory
`/media/sbc/cube/tscan1/ocera-canEABI/_build/user/utils'
make: *** [library-pass] Error 1
config.omk
----------
LINUX_DIR=/usr/src/linux-2.6.21-ts
CROSS_COMPILE=/media/sbc/cube/crosstools/arm-2008q1/bin/arm-none-linux-gnueabi-
#CROSS_COMPILE=arm-linux-gnu-
CC=$(CROSS_COMPILE)gcc
CXX=$(CROSS_COMPIL)g++
AR=$(CROSS_COMPILE)ar
LD=$(CROSS_COMPILE)ld
CFLAGS=-ggdb -static -march=armv4t
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|