|
about Invalid ELF header: msg#00148lib.uclibc.general
hi folks: my board is Toshiba JMR3927(CPU Tx3p29MIPS). i want to use uclibc to downsize my filesystem. i build uClibc-0.9.19 like this: #make defconfig #make #make install then i compile the helloworld like this: # /usr/mipsel-linux-uclibc/bin/mipsel-uclibc-gcc -o helloworld helloworld.c # ./helloworld sh: ./helloworld: No such file or directory # /usr/mipsel-linux-uclibc/bin/mipsel-uclibc-ldd ./helloworld libc.so.0 => /usr/mipsel-linux-uclibc/lib/libc.so.0 (0x00000000) /lib/ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x00000000) i found there is no ld-uClibc.so.0 in the /lib/. so i copy the ld-uClibc to /lib # cp /usr/mipsel-linux-uclibc/lib/ld-uClibc-0.9.19.so /lib/ld-uClibc.so. # ./helloworld Invalid ELF header what's wrong with it ? Thanks zhangzr -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: uClibc and Sash issues: 00148, Andrew James Hall |
|---|---|
| Next by Date: | (newbie) compile uclibc on m68k platform: 00148, Kerberos Zhang |
| Previous by Thread: | Memory sizesi: 00148, Beaulieu, James A. |
| Next by Thread: | Re: about Invalid ELF header: 00148, Mark and Janice Juszczec |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |