ts-7000
[Top] [All Lists]

[ts-7000] Cross compiling Ocera-lincan for TS-7260/2.6.21-ts

To:
Subject: [ts-7000] Cross compiling Ocera-lincan for TS-7260/2.6.21-ts
From: "gajans.garage" <>
Date: Thu, 20 Nov 2008 11:57:47 -0000
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/

<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] Cross compiling Ocera-lincan for TS-7260/2.6.21-ts, gajans.garage <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU