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

Re: stub.so: could not read symbols: File format not recognized



At 14:37 +0100 11/18/01, Geert Stappers wrote:
>Hello,
>
>The mailarchive wasn't any help for my problem
>"stub.so: could not read symbols: File format not recognized"
>
>Could anybody provide with a better solutions as my workaround,
>which just avoids building 'examples/dyntest'?

$ diff -u examples/dyntest/GNUmakerules.box examples/dyntest/GNUmakerules
--- examples/dyntest/GNUmakerules.box   Fri May  5 15:28:27 2000
+++ examples/dyntest/GNUmakerules       Tue Nov 20 10:39:36 2001
@@ -23,6 +23,7 @@
 # See the Image target below.
 #
 TARGETS = dyntest dummy.so dopey.so
+TARGETS = dummy.so dopey.so

 #
 # Build the whole thing directly, if you have mkmbimage on your path.

>
>My compiler is:
>
>$ gcc -v
>Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
>gcc version 2.95.4 20011006 (Debian prerelease)
>$
>
>More context about the problem:
>
>make[2]: Entering directory `/usr/src/oskit-0.97.20010214/examples/dyntest'
>ld  -static -T ../../rtld/ldscript -export-dynamic -L../..//lib \
>        -o dyntest ../..//lib/multiboot_dyn.o dyntest.o stub.so         \
>        -loskit_startup -loskit_clientos -loskit_memfs \
>        -loskit_threads -loskit_svm -loskit_amm \
>        -loskit_bootp -loskit_freebsd_net -loskit_fsnamespace_r \
>        -loskit_linux_dev -loskit_dev -loskit_kern \
>        -loskit_lmm -loskit_netbsd_fs \
>        -loskit_diskpart -loskit_rtld \
>         -loskit_freebsd_c_r -loskit_com -loskit_threads ../..//lib/crtn.o
>stub.so: could not read symbols: File format not recognized
>make[2]: *** [dyntest] Error 1
>make[2]: Leaving directory `/usr/src/oskit-0.97.20010214/examples/dyntest'
>make[1]: *** [examples/dyntest/all.MAKE] Error 2
>make[1]: Leaving directory `/usr/src/oskit-0.97.20010214'
>make: *** [build-stamp] Error 2
>stappers@mir:/usr/src/oskit-0.97.20010214
>$
>

Meanwhile I checked "modules.i386.pc" and "rtld" is enabled.

All hints are  appriciated.


Geert



References: