![]() |
SDK library version skew
I've pulled down some Maemo 5 SDK stuff, and can build apps for my N900 (with CSSU stable). However, the libraries in the SDK tree are newer than what's on my device--libstdc++ 6.0.12 versus 6.0.9 on the device, libc 2.10.1 versus 2.5 on the device. So when I build with something which touches a newer library facility, it fails to run with the usual library symbol complaints.
So what did I do wrong? Should the libraries on my device be newer somehow? Or is there a source for the SDK I haven't found yet which has an environment in line with my device? Thanks, Andy ======= Edit ~8 hours later: Community SSU won't do the trick by itself. After getting the stable Community SSU installed, do "apt-get update" and then "apt-get upgrade". You'll see a set of packages which won't be upgraded. What the heck, go ahead and update the rest. Now, "apt-get dist-upgrade" is a no-go; I think because of the Nokia site being gone it'll flag a bunch of stuff to be removed. I used the --dry-run flag on these commands until I was sure I liked what it proposed to do! The Community SSU postinst kept failing because a file in sudoers.d was not accepted by the N900's update-sudoers script. That kept things confusing.... I had to hand repair the file, not using the %users syntax but just letting "user" do any command. The line was: %users ALL=(ALL:ALL) NOPASSWD: ALL and I made it: user ALL = NOPASSWD: ALL Finally(!), I did an "apt-get install ..." on the packages which "apt-get upgrade" said it wasn't going to upgrade (it does this when a package has a new dependency, usually). After that my libraries were up-rev'ed and my N900 is now happy with the executables I build for it. |
Re: SDK library version skew
Weird...
libc6 should be 2.5.1 something... libstdc++ 6 should be 6.4 something... I haven't developed for N900 for a long while. And even when I did, I preferred to feed it to auto-builder, instead of trying to build it on my own computer. So, thank you for venturing into development lands! [Edit] Hoping somebody else, knowing more about SDK and toolchains, will help you! [/Edit] Best wishes. ~~~~~~~~~~~~~~~~~ Per aspera ad astra... |
Re: SDK library version skew
I don't know nothin' about no SDK. I do all my development on the device itself. BUT I can tell you this. Due to the different library versions, executables built on my device may not work on yours. But once I am happy with my code, I submit it to autobuilder and the result WILL work on your device.
|
Re: SDK library version skew
Happy you fixed it. I would not dare to mess with sudoers.
Best wishes. [Council] Q4 2014 Community Council Election Announcement http://talk.maemo.org/profile.php?do=editsignature <= copy and paste here http://talk.maemo.org/showthread.php?t=94229 http://talk.maemo.org/showthread.php?p=1450445 http://wiki.maemo.org/Community_Council/ |
All times are GMT. The time now is 19:48. |
vBulletin® Version 3.8.8