View Single Post
Old 02-06-2011, 12:16 PM   #57
Kaltenbrunner
Member
Kaltenbrunner began at the beginning.
 
Posts: 16
Karma: 16
Join Date: Jul 2010
Location: Berlin
Device: PB903
Question Ubuntu 10.10

Quote:
Originally Posted by sergeyvl12 View Post
Hi
The linux users can use it without virtual machine.

Installation:
1. Unpack;
2. Copy "usr" contents to /usr;
3. Copy (or link) "pocketbook_eabi" to /usr/local

Tested with ubuntu 10.04 and Debian lenny.
I am having trouble to use the SDK: When I try to compile the inkdemo-application I get linker errors due to use of shared object libraries. Since I am not used to work with shared object libraries it would be nice if anyone could help me.
I am trying to use the SDK on Ubuntu 10.10 on a virtual machine (it's the Quickstart 0.9 VM, i had it already installed for drupal development).

First I got the following error:
Code:
/usr/lib/gcc/arm-linux-gnueabi/4.1.3/../../../../arm-linux-gnueabi/bin/ld:/usr/arm-linux-gnueabi/lib/libc.so.6: file format not recognized; treating as linker script
/usr/lib/gcc/arm-linux-gnueabi/4.1.3/../../../../arm-linux-gnueabi/bin/ld:/usr/arm-linux-gnueabi/lib/libc.so.6:2: syntax error
collect2: ld returned 1 exit status
I fixed it by changing libc.so.6 contents from
Code:
libc-2.7.so
to
Code:
INPUT(libc-2.7.so)
(Not sure if this is a correct move.)

On linking retry I get the following errors now:
Code:
/usr/lib/gcc/arm-linux-gnueabi/4.1.3/../../../../arm-linux-gnueabi/bin/ld: warning: libdl.so.2, needed by /usr/local/pocketbook_eabi/lib/libinkview.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/arm-linux-gnueabi/4.1.3/../../../../arm-linux-gnueabi/bin/ld: warning: libpthread.so.0, needed by /usr/local/pocketbook_eabi/lib/libinkview.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/arm-linux-gnueabi/4.1.3/../../../../arm-linux-gnueabi/bin/ld: warning: libstdc++.so.6, needed by /usr/local/pocketbook_eabi/lib/libinkview.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/arm-linux-gnueabi/4.1.3/../../../../arm-linux-gnueabi/bin/ld: warning: libm.so.6, needed by /usr/local/pocketbook_eabi/lib/libinkview.so, not found (try using -rpath or -rpath-link)
Followed by a lot of "undefined reference" errors.

Any ideas how I could fix this?

Thanks!
Kaltenbrunner is offline   Reply With Quote