Help - Search - Members - Calendar
Full Version: Cross Compiling On Vmware Image
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
w14
I need a bit of help. I have compiled the latest Bestcrypt from within the vmware image, but when I try to run it, I'm getting the following error:

/usr/lib/libkgsha.so: undefined symbol: __divsi3
Can not load key generators

Does anyone have any ideas why this is happening?

Cheers,

Mike.
karlto
QUOTE(w14 @ Feb 24 2006, 10:08 AM)
I need a bit of help. I have compiled the latest Bestcrypt from within the vmware image, but when I try to run it, I'm getting the following error:

/usr/lib/libkgsha.so: undefined symbol: __divsi3
Can not load key generators

Does anyone have any ideas why this is happening?

Cheers,

Mike.
*


I think its a general issue with library versions - search this forum for 'divsi3' and you'll get a few results...
pgas
QUOTE
I think its a general issue with library versions - search this forum for 'divsi3' and you'll get a few results...

yeah, which is strange since you compiled it.
Maybe you didn't use the correct sdk?
you need this one:
http://mail.pdaxrom.org/1.1.0beta1/Zaurus-...ftfloat.tar.bz2

cross-sdk howto:
http://mail.pdaxrom.org/contrib/docs/cross-compiler.html
w14
Nope, I used http://mail.pdaxrom.org/1.1.0beta1/pdaXrom...2.01.06.tar.bz2, as per jerrybme's kernel compile for the c3100 tutorial.

What's the difference between these?
pgas
If you want to just compile an application it's easier to just use the sdk.

To build the whole pdaxrom, you need to use 2 toolchains.

The arm-cacko-linux-gnu-2.95.3-2.15-2.2.5-hardfloat-10.48_20.12.05.tar.bz2
is used to build the kernel. (because of some modules that don't like newer gcc version)

The toolchain I mention above is used to build application.
w14
OK. But bestcrypt needs to build kernel modules. Do I need both in this case?
pgas
hmm, probably yes.
hardfloat to build the modules
and softfloat to build the libraries.

not sure how it will work though...
w14
OK, thanks for the help. I think I know what to do, says the blind man ... ;o)
magicbb
I try to build the gThumb application, but the following errors appear after i issue the make command:
/opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/lib/libgnomeui-2.so: could not read symobls: File in wrong format

any idea what happen?
pgas
could you include a bit more of the log?
I suspect it used the wrong compiler ie the gcc for x86 instead of the one for arm

try export CC=/opt/cross/arm/3.4.5-xscale-softvfp/bin/armv5tel-cacko-linux-gcc
before running ./configure
(see also http://mail.pdaxrom.org/contrib/docs/cross-compiler.html )
desertrat
QUOTE(pgas @ Feb 26 2006, 03:26 PM)
could you include a bit more of the log?
I suspect it used the wrong compiler ie the gcc for x86 instead of the one for arm

try export CC=/opt/cross/arm/3.4.5-xscale-softvfp/bin/armv5tel-cacko-linux-gcc
before running ./configure

I've just started to try out the cross compiler (using Gentoo, not using vmware). Is there any reason why CC is not defined by 'runsdk.sh'? I mean isn't that what I want all the time? Or are there situations where CC ought to be something else? And ditto for:

CXX=armv5tel-linux-g++
LDFLAGS="-Wl,-rpath-link,/opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/lib

-- cheers
telemetric_au
did you work out what was going on here as im getting this now ...


usr/lib/libkgsha.so: undefined symbol: __divsi3
Can not load key generators
telemetric_au
wrked it out, -lgcc
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.