Re: need your help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



        Daniel,

I forward this to the list because your analysis is wrong and there likely still is no hope - but I am not an expert.

The problem is not in slmodemd but in one of its components, dsplibs.o , which is part of the Smartlink driver, which is proprietary. This implies that source code is not available.

Intel 386 series and ARM series are not plug compatible even if many instructions seem to be the same (seem only, at list because memory structures differ). So a format changing trick which is what you seem to dream of, will not solve the problem.

Please see http://linmodems.technion.ac.il/bigarch/archive-eighth/msg02400.html

Regards

Jacques


On 02/02/2012 10:09 AM, Daniel Lin wrote:

Hello.

My name is Daniel.

and I have a problem need to resolve.

That's I need rebuild slmodem in Embedded Linux by arm9.

Driver is ok but slmodemd command has some error.

The error message:

make[1]: Entering directory `/mnt/hgfs/Daniel/Work/arm9/trunk/src/modem'
arm-linux-uclibc-gcc -o slmodemd modem_main.o modem_cmdline.o modem.o
modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o
modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o
dp_dummy.o dsplibs.o sysdep_common.o
/opt/toolchain/arm-uclibc-0.9.28-gcc-3.4.2/lib/gcc/arm-linux-uclibc/3.4.2/../../../../arm-linux-uclibc/bin/ld:
dsplibs.o: Relocations in generic ELF (EM: 3)
dsplibs.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[1]: *** [slmodemd] Error 1
make[1]: Leaving directory `/mnt/hgfs/Daniel/Work/arm9/trunk/src/modem'
make: *** [modem-all] Error 2
daniel@ubuntu:~/Mac/Work/arm9/trunk/src$

I use "file" command to check dsplibs.o

daniel@ubuntu:~/Mac/Work/arm9/trunk/src$ file ./modem/dsplibs.o
./modem/dsplibs.o: ELF 32-bit LSB relocatable, Intel 80386, version 1
(SYSV), not stripped

so I though I need rebuild this file or you have other suggestions / thoughts.


Thanks :)

Daniel.




[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux