Help - Search - Members - Calendar
Full Version: Oabi Support Please
OESF Portables Forum > Archived Forums > Distros, Development, and Model Specific Forums > Zaurus Distro Support and Discussion > Ubuntu
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.

no, is this really not possible? I do so want to *try* and run the tomtom binary on ubuntu! ph34r.gif
Are you talking to yourself again? tongue.gif
I baked you a spitz kernel with EABI & OABI support. Kernel can be found here and the corresponding modules here. I didn't test the result, so that's up to you wink.gif
Please let us know the outcome of the tomtom experiment. It would make the Zaurus an even cooler device!

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.

Ok, maybe it's a library issue - not having the libc5-compat libs perhaps? What does 'ldd' say about ttn?
QUOTE(pelrun @ Mar 29 2009, 02:58 AM) *
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
... etc...

strings ./ttn | grep "\.so"

to yank out the lib names forcibly. And check to see if /lib/ actually exists - that hardcoded path seems to cause some grief.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.