OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: w14 on February 23, 2006, 04:08:05 pm
-
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 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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=115912\"][{POST_SNAPBACK}][/a][/div]
I think its a general issue with library versions - search this forum for 'divsi3' and you'll get a few results...
-
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 (http://mail.pdaxrom.org/1.1.0beta1/Zaurus-7x0-860/cross-sdk-armv5tel-cacko-linux-3.4.5-2.2.5-softfloat.tar.bz2)
cross-sdk howto:
http://mail.pdaxrom.org/contrib/docs/cross-compiler.html (http://mail.pdaxrom.org/contrib/docs/cross-compiler.html)
-
Nope, I used http://mail.pdaxrom.org/1.1.0beta1/pdaXrom...2.01.06.tar.bz2 (http://mail.pdaxrom.org/1.1.0beta1/pdaXrom-builder-18.24_22.01.06.tar.bz2), as per jerrybme's kernel compile for the c3100 tutorial.
What's the difference between these?
-
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.
-
OK. But bestcrypt needs to build kernel modules. Do I need both in this case?
-
hmm, probably yes.
hardfloat to build the modules
and softfloat to build the libraries.
not sure how it will work though...
-
OK, thanks for the help. I think I know what to do, says the blind man ... ;o)
-
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?
-
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 (http://mail.pdaxrom.org/contrib/docs/cross-compiler.html) )
-
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
-
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
-
wrked it out, -lgcc