[Prev][Next][Index][Thread]
OSKit Kaffe: link problem
oskit-users,
I'm having trouble getting Kaffe to compile. The step of linking the
`Kaffe' binary fails (error message appended below). I know I'm now
supposed to experiment with linking order and adding more libraries,
but maybe someone has experienced this problem before and can help?
I'm using oskit-990722 and kaffe-990723+, and I'm building on Linux.
Michael
--
hohmuth@innocent.com, hohmuth@sax.de
http://www.sax.de/~hohmuth/
/home/drops/tool/bin/i686-oskit-gcc -posix-oskit -pthread -g -O2 -Wall -Wstrict-prototypes -o Kaffe main.o .libs/KaffeS.o ../../libraries/clib/native/.libs/libnative.a -L/usr/local/lib ../../libraries/clib/net/.libs/libnet.a ../../libraries/clib/io/.libs/libio.a ../../libraries/clib/zip/.libs/libzip.a ../../libraries/clib/math/.libs/libmath.a ../../libraries/clib/management/.libs/libmanagement.a ../../libraries/clib/security/.libs/libsecurity.a ../../libraries/extensions/microsoft/clib/.libs/libmicrosoft.a ../kaffevm/.libs/libkaffevm.a -lgcc -L/usr/local/lib -Wl,--export-dynamic -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
/home/drops/lib/liboskit_freebsd_c_r.a(sigaction.o): In function `signals_init':/home/hohmuth/src/l4/oskit10/posix/sys/sigaction.c:48: multiple definition of `signals_init'
/home/drops/lib/liboskit_threads.a(pthread_signal.o):/home/hohmuth/src/l4/oskit10/threads/pthread_signal.c:1186: first defined here
ld: Warning: size of symbol `signals_init' changed from 7 to 51 in sigaction.o
/home/drops/lib/liboskit_freebsd_c_r.a(sigaction.o): In function `sigaction':
/home/hohmuth/src/l4/oskit10/posix/sys/sigaction.c:64: multiple definition of `sigaction'
/home/drops/lib/liboskit_threads.a(pthread_signal.o):/home/hohmuth/src/l4/oskit10/threads/pthread_signal.c:336: first defined here
ld: Warning: size of symbol `sigaction' changed from 388 to 150 in sigaction.o
/home/drops/lib/liboskit_freebsd_c_r.a(sigaction.o): In function `sigprocmask':
/home/hohmuth/src/l4/oskit10/posix/sys/sigaction.c:84: multiple definition of `sigprocmask'
/home/drops/lib/liboskit_threads.a(pthread_signal.o):/home/hohmuth/src/l4/oskit10/threads/pthread_signal.c:382: first defined here
ld: Warning: size of symbol `sigprocmask' changed from 24 to 220 in sigaction.o
/home/drops/lib/liboskit_freebsd_c_r.a(sigaction.o): In function `raise':
/home/hohmuth/src/l4/oskit10/posix/sys/sigaction.c:126: multiple definition of `raise'
/home/drops/lib/liboskit_threads.a(pthread_signal.o):/home/hohmuth/src/l4/oskit10/threads/pthread_signal.c:391: first defined here
ld: Warning: size of symbol `raise' changed from 22 to 122 in sigaction.o
/home/drops/lib/liboskit_freebsd_c_r.a(sigaction.o): In function `really_deliver_signal':
/home/hohmuth/src/l4/oskit10/posix/sys/sigaction.c:199: multiple definition of `really_deliver_signal'
/home/drops/lib/liboskit_threads.a(pthread_signal.o):/home/hohmuth/src/l4/oskit10/threads/pthread_signal.c:1097: first defined here
ld: Warning: size of symbol `really_deliver_signal' changed from 301 to 180 in sigaction.o
/home/drops/lib/liboskit_freebsd_c_r.a(sigaction.o): In function `kill':
/home/hohmuth/src/l4/oskit10/posix/sys/sigaction.c:158: multiple definition of `kill'
/home/drops/lib/liboskit_threads.a(pthread_signal.o):/home/hohmuth/src/l4/oskit10/threads/pthread_signal.c:404: first defined here
ld: Warning: size of symbol `kill' changed from 300 to 16 in sigaction.o
/home/drops/lib/liboskit_freebsd_c_r.a(sigaction.o): In function `oskit_libc_sendsig':
/home/hohmuth/src/l4/oskit10/posix/sys/sigaction.c:170: multiple definition of `oskit_libc_sendsig'
/home/drops/lib/liboskit_threads.a(pthread_signal.o):/home/hohmuth/src/l4/oskit10/threads/pthread_signal.c:954: first defined here
ld: Warning: size of symbol `oskit_libc_sendsig' changed from 61 to 81 in sigaction.o
/home/drops/lib/liboskit_freebsd_c_r.a(sigaction.o): In function `sigwait':
/home/hohmuth/src/l4/oskit10/posix/sys/sigaction.c:234: multiple definition of `sigwait'
/home/drops/lib/liboskit_threads.a(pthread_signal.o):/home/hohmuth/src/l4/oskit10/threads/pthread_signal.c:895: first defined here
ld: Warning: size of symbol `sigwait' changed from 58 to 12 in sigaction.o
/home/drops/lib/liboskit_freebsd_c_r.a(sigaction.o): In function `sigwaitinfo':
/home/hohmuth/src/l4/oskit10/posix/sys/sigaction.c:243: multiple definition of `sigwaitinfo'
/home/drops/lib/liboskit_threads.a(pthread_signal.o):/home/hohmuth/src/l4/oskit10/threads/pthread_signal.c:914: first defined here
ld: Warning: size of symbol `sigwaitinfo' changed from 36 to 12 in sigaction.o
/home/drops/lib/liboskit_freebsd_c_r.a(sigaction.o): In function `sigtimedwait':/home/hohmuth/src/l4/oskit10/posix/sys/sigaction.c:253: multiple definition of `sigtimedwait'
/home/drops/lib/liboskit_threads.a(pthread_signal.o):/home/hohmuth/src/l4/oskit10/threads/pthread_signal.c:930: first defined here
ld: Warning: size of symbol `sigtimedwait' changed from 68 to 12 in sigaction.o
/home/drops/lib/liboskit_startup.a(start_bmod.o): In function `start_bmod':
/home/hohmuth/src/l4/oskit10/startup/start_bmod.c:49: undefined reference to `oskit_memfs_init'
/home/drops/lib/liboskit_startup.a(start_devices.o): In function `start_devices':
/home/hohmuth/src/l4/oskit10/startup/start_devices.c:59: undefined reference to `oskit_linux_init_osenv'
/home/drops/lib/liboskit_startup.a(start_disk.o): In function `start_disk':
/home/hohmuth/src/l4/oskit10/startup/start_disk.c:50: undefined reference to `oskit_linux_block_open'
/home/hohmuth/src/l4/oskit10/startup/start_disk.c:86: undefined reference to `diskpart_blkio_get_partition'
/home/hohmuth/src/l4/oskit10/startup/start_disk.c:96: undefined reference to `diskpart_blkio_lookup_bsd_string'
/home/drops/lib/liboskit_startup.a(start_fs_bmod_pthreads.o): In function `start_fs_bmod_pthreads':
/home/hohmuth/src/l4/oskit10/startup/start_fs_bmod.c:52: undefined reference to `oskit_create_fsnamespace'
/home/drops/lib/liboskit_startup.a(start_fs_pthreads.o): In function `start_fs_on_blkio_pthreads':
/home/hohmuth/src/l4/oskit10/startup/start_fs.c:93: undefined reference to `fs_netbsd_threaded_init'
/home/hohmuth/src/l4/oskit10/startup/start_fs.c:101: undefined reference to `fs_netbsd_mount'
/home/hohmuth/src/l4/oskit10/startup/start_fs.c:149: undefined reference to `oskit_create_fsnamespace'
/home/drops/lib/liboskit_startup.a(start_network_pthreads.o): In function `release_network':
/home/hohmuth/src/l4/oskit10/startup/start_network.c:87: undefined reference to `oskit_freebsd_net_close_ether_if'
/home/drops/lib/liboskit_startup.a(start_network_pthreads.o): In function `start_network_pthreads':
/home/hohmuth/src/l4/oskit10/startup/start_network.c:114: undefined reference to `oskit_freebsd_net_init'
/home/hohmuth/src/l4/oskit10/startup/start_network.c:122: undefined reference to `oskit_freebsd_net_open_ether_if'
/home/hohmuth/src/l4/oskit10/startup/start_network.c:134: undefined reference to `oskit_freebsd_net_ifconfig'
/home/hohmuth/src/l4/oskit10/startup/start_network.c:143: undefined reference to `oskit_freebsd_net_add_default_route'
/home/drops/lib/liboskit_startup.a(bootp.o): In function `get_ipinfo':
/home/hohmuth/src/l4/oskit10/startup/bootp.c:64: undefined reference to `bootp'
/home/hohmuth/src/l4/oskit10/startup/bootp.c:77: undefined reference to `bootp_default_netmask'
/home/hohmuth/src/l4/oskit10/startup/bootp.c:132: undefined reference to `bootp_free'
/home/drops/lib/liboskit_startup.a(start_blk_devices.o): In function `start_blk_devices':
/home/hohmuth/src/l4/oskit10/startup/start_blk_devices.c:29: undefined reference to `oskit_linux_init_blk'
/home/drops/lib/liboskit_startup.a(start_bmod_pthreads.o): In function `start_bmod_pthreads':
/home/hohmuth/src/l4/oskit10/startup/start_bmod.c:49: undefined reference to `oskit_memfs_init'
/home/drops/lib/liboskit_startup.a(start_net_devices.o): In function `start_net_devices':
/home/hohmuth/src/l4/oskit10/startup/start_net_devices.c:28: undefined reference to `oskit_linux_init_net'
rm -f .libs/KaffeS.o
make[2]: *** [Kaffe] Error 1
make[2]: Leaving directory `/home/hohmuth/src/l4/kaffe/obj/kaffe/kaffe'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hohmuth/src/l4/kaffe/obj/kaffe'
make: *** [all-recursive] Error 1
Exit 2