C Libraries & Compilers

Pajolo
Hi, 
I've been stuck on this for months, so if anyone can help me I'll be very
very very very very grateful.

I have cross compiled a program that edits video streaming from the
s3c2440camera and outputs it to the screen.

If I cross compile it using arm-linux-g++ and load it onto a mini2440
running friendlyarm's original image, then it works fine.

Then I take my test mini2440, which runs the friendlyarm kernel (with the
s3c2440camera as a module), and a minimal openembedded fs (a minimized
version of mini2440-image). When I do this, I get the following error:

/phospeep: /lib/libc.so.6: version `GLIBC_2.8' not found (required by
/phospeep)
/phospeep: /lib/libc.so.6: version `GLIBC_2.8' not found (required by
/lib/libphos.so)

So I cross compiled it with the angstrom arm compiler and although it
doesn't give an error it crashes.

The files libc.so.6 exist and point to libc-2.6.1.so, if I nm the
libc-2.6.1.so on my desktop it says "nm: libc.so.6: no symbols".

I have tried reinstalling the ipk package from the OE build by copying it
across to the mini2440 and running both

 opkg install libc6_2.6.1-r15.1_armv4t.ipk
 opkg install libc6-dev_2.6.1-r15.1_armv4t.ipk

But in both cases I get:

root@mini2440:/# opkg install libc6_2.6.1-r15.1_armv4t.ipk 
Multiple packages (libc6 and libc6) providing same name marked HOLD or
PREFER.  Using latest.
Multiple packages (libc6 and libc6) providing same name marked HOLD or
PREFER.  Using latest.
Multiple packages (libc6 and libc6) providing same name marked HOLD or
PREFER.  Using latest.
Installing libc6 (2.6.1-r15.1) to root...
Collected errors:
 * Package libc6 md5sum mismatch. Either the opkg or the package index are
corrupt. Try 'opkg update'.

I get the feeling that there is some part of the library missing, but I
can't figure out how to repair/replace it.

So in other words I'm stuck.

Btw, I've rebuilt about 10 mini2440 and its always the same.

As I said, any help will be very much appreciated!
Thanks a million