Active Topics

 


Reply
Thread Tools
Posts: 78 | Thanked: 109 times | Joined on Jan 2012 @ Washington State
#1
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.

Last edited by vandys; 2014-12-16 at 04:54. Reason: Details on how to resolve the issue
 

The Following 3 Users Say Thank You to vandys For This Useful Post:
Posts: 1,994 | Thanked: 3,342 times | Joined on Jun 2010 @ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
#2
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...
 

The Following User Says Thank You to Wikiwide For This Useful Post:
pichlo's Avatar
Posts: 6,447 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#3
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.
__________________
Русский военный корабль, иди нахуй!
 

The Following 2 Users Say Thank You to pichlo For This Useful Post:
Posts: 1,994 | Thanked: 3,342 times | Joined on Jun 2010 @ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
#4
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/
 

The Following User Says Thank You to Wikiwide For This Useful Post:
Reply

Tags
maemo 5, sdk install


 
Forum Jump


All times are GMT. The time now is 21:30.