Problem about compiling libraries in image

Kreuzuebersetzer, Diskussion über Änderungen im Tuxbox-CDK und Tuxbox-CVS
pedrag2
Neugieriger
Neugieriger
Beiträge: 5
Registriert: Mittwoch 6. Februar 2013, 09:21

Problem about compiling libraries in image

Beitrag von pedrag2 »

Hello:
I do not know if this is the right subforum, sorry if it is not. Also sorry for my English, I'm using google translator.
I compiled my own image for dm500s with Linux Kernel2.6.9. glibc 2.3.2 and gcc 3.4.4.
The sources, here

Code: Alles auswählen

 git://git.code.sf.net/p/tuxbox-cvs/$f $f
The prepare file

Code: Alles auswählen

#!/bin/bash
cd .. && CURRENT_PATH=`pwd`;
cd cdk
./autogen.sh;
# boxtype dm500 dm56x0 or dm7000
TYPE=$1
if test -z "$TYPE"; then
    TYPE=dm500
fi
./configure \
    --with-boxtype="dreambox" \
    --with-boxmodel=$TYPE \
    --with-webif=expert \
    --prefix=$CURRENT_PATH/root \
    --with-cvsdir=$CURRENT_PATH \
    --enable-maintainer-mode \
    --with-epg=standard \
    --with-mhw-epg=yes \
    --with-flashtool=standard \
    --with-ext-flashtool=yes \
    --with-enigma-debug=yes \
    --enable-ide \
    --enable-dropbear \
    --enable-kernel26 \
    --with-filesystems=ext3 
I compile my dm500 image with: make flash-enigma-squashfs
Everything went perfect but I have problems with symbols in the library libc.so.6 when I execute, for example, C**am (edit by MTM)

The error is: relocation error, symbol bcopy not defined GLIBC_2.0 in libc.so.6

If I execute mgcamd, the symbol is "clock" no defined in libc.so.6.
In the static library file (libc.a) in root/cdkroot /lib/ the objects bcopy.o and clock.o exists. (ar x libc.a) Also this objects exists in libc-2.3.2.so (readelf -s libc-2.3.2.so)

Where should I change the settings so that this symbol is included in file libc.so.6?
Is there any other method or way to do this? or am I doing something wrong?

Thanks
doc
Contributor
Beiträge: 1623
Registriert: Donnerstag 10. Januar 2002, 20:03

Re: Problem about compiling libraries in image

Beitrag von doc »

We don't support any help to illegal software!
Na schönen Dank Herr Schwanke!
Ein toller Sommer! :-(