OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Ubuntu => Topic started by: speculatrix on March 18, 2009, 01:17:02 pm
-
is it possible to build a kernel for me with OABI as well as EABI support? I have a binary from another system I want to try and run.
thanks!
-
no, is this really not possible? I do so want to *try* and run the tomtom binary on ubuntu!
-
Are you talking to yourself again?
I baked you a spitz kernel with EABI & OABI support. Kernel can be found here (http://www.omegamoon.com/download/SL-C3x00/zImage-2.6.26-r11-spitz.bin) and the corresponding modules here (http://www.omegamoon.com/download/SL-C3x00/modules-2.6.26-omegamoon-spitz-r11-spitz.tgz). I didn't test the result, so that's up to you
Please let us know the outcome of the tomtom experiment. It would make the Zaurus an even cooler device!
Cheers,
cortez
-
thanks, I'll give them a go and come back to you!
-
damn, same problem as before.
simple result: try and run ttn and I get "-bash: ./ttn: No such file or directory"
more complex result: using strace I can see it attempt to load the binary and there's a call to "_llseek(3,0,..." and that fails, and then the no such file or directory is printed.
using the "file" command it says
./ttn: ELF 32-bit LSB executable, ARM, version 1, for GNU/Linux 2.4.0, dynamically linked (uses shared libs), stripped.
this isn't so different from the result if I use file on "/bin/bash", except that says Linux 2.6.14.
bummer.
-
Ok, maybe it's a library issue - not having the libc5-compat libs perhaps? What does 'ldd' say about ttn?
-
Ok, maybe it's a library issue - not having the libc5-compat libs perhaps? What does 'ldd' say about ttn?
sorry for delay in replying. Have rebuilt home network and couldn't get Zaurus onto wifi, had to mess about with cabling. anyway...
# ls -la ./ttn
-rwxr-xr-x 1 root root 4884972 Feb 27 22:11 ./ttn
# ldd ./ttn
/usr/bin/ldd: line 116: ./ttn: No such file or directory
# strace ./ttn
execve("./ttn", ["./ttn"], [/* 14 vars */]) = -1 ENOENT (No such file or directory)
dup(2) = 3
fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
fstat64(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001f000
_llseek(3, 0, 0xbeb435e8, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(3, "strace: exec: No such file or di"..., 40strace: exec: No such file or directory
) = 40
close(3) = 0
munmap(0x4001f000, 4096) = 0
exit_group(1) = ?
Process 1939 detached
can't find a libc5-compat or anything like it - nothing relevant shows up even when I widen the search thus:
# apt-cache search lib | grep compat
-
# strings ./ttn | more
/lib/ld-linux.so.2
__gmon_start__
libm.so.6
sqrt
floor
fmod
atan2
_Jv_RegisterClasses
libpthread.so.0
longjmp
... etc...
-
Try
strings ./ttn | grep "\.so"
to yank out the lib names forcibly. And check to see if /lib/ld-linux.so.2 actually exists - that hardcoded path seems to cause some grief.