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

Re: oskit-990722 and kaffe-1.0.5




On Wed, 20 Oct 1999, Godmar Back wrote:

> First, make sure you don't build the OSKit in the source directory. I
> believe that this necessity is the only thing Pat didn't fix when he
> upgraded to 1.0b5.  (I think)

Ok, I corrected that; interestingly enough, the linking errors I saw 
before disappeard -- unfortunately, some new ones appeared. Below are
the ugly details (beware of long lines); gcc version 2.7.2.3 and binutils
version 2.9.1 were used, on a Redhat Linux x86 box, with kernel 2.0.34.

By the way, what I'm attempting to do is to trace the delays imposed
by different software layers when using oskit and kaffe to communicate
with the outside world using UDP-based protocols (eventually multimedia
streaming). Basically I'd just allocate a chunk of memory as a buffer and
stuff timestamped events like network device interrupt received, packet
read at the  Linux driver, etc. to it, push different loads to the machine
and record the statistics into a file for analysis after a run. Anyone
already done something like this? (would save my work :)

[ ... making all has progressed finely until here ... ]
Making all in kaffe
make[1]: Entering directory `/root/go/kaffe-1.0.5-oskit/kaffe'
Making all in kaffeh
make[2]: Entering directory `/root/go/kaffe-1.0.5-oskit/kaffe/kaffeh'
/bin/sh ../../libtool --mode=link /root/go/kaffe-1.0.5-oskit/config/i386/oskit/ld-oskit.sh --oskit=/usr/local/oskit/   -g -O2 -Wall -Wstrict-prototypes   -o kaffeh  inflate.o jar.o utf8const.o readClass.o constants.o sigs.o support.o main.o  -L/usr/local/lib   -R/usr/local/lib
/root/go/kaffe-1.0.5-oskit/config/i386/oskit/ld-oskit.sh --oskit=/usr/local/oskit/ -g -O2 -Wall -Wstrict-prototypes -o kaffeh inflate.o jar.o utf8const.o readClass.o constants.o sigs.o support.o main.o -L/usr/local/lib
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/specs
gcc version 2.7.2.3
 ld -m elf_i386 -static -o kaffeh -L/usr/local/lib -L/usr/local/oskit//lib -L/usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3 -L/usr/i386-redhat-linux/lib -Ttext 100000 /usr/local/oskit//lib/oskit/multiboot.o inflate.o jar.o utf8const.o readClass.o constants.o sigs.o support.o main.o -loskit_startup -loskit_clientos -loskit_threads -loskit_svm -loskit_amm -loskit_bootp -loskit_freebsd_net -loskit_linux_dev -loskit_dev -loskit_netbsd_fs -loskit_kern -loskit_lmm -loskit_diskpart -loskit_memfs -loskit_freebsd_c_r -loskit_fsnamespace_r -loskit_com -loskit_freebsd_m -loskit_freebsd_c_r -loskit_threads /usr/local/oskit//lib/oskit/crtn.o
/usr/local/oskit//lib/liboskit_threads.a(pthread_init.o): In function `base_irq_softint_handler':
pthread_init.o(.text+0x19c): multiple definition of `base_irq_softint_handler'
/usr/local/oskit//lib/liboskit_kern.a(base_irq_softint_handler.o)(.text+0x0): first defined here
ld: Warning: size of symbol `base_irq_softint_handler' changed from 5 to 98 in pthread_init.o
/usr/local/oskit//lib/liboskit_threads.a(pthread_cond.o): In function `pthread_cond_timedwait':
pthread_cond.o(.text+0x32b): undefined reference to `oskit_system_clock'
/usr/local/oskit//lib/liboskit_threads.a(pthread_init.o): In function `pthread_init_internal':
pthread_init.o(.text+0x74): undefined reference to `oskit_init_libc'
pthread_init.o(.text+0x79): undefined reference to `oskit_clock_init'
pthread_init.o(.text+0xf6): undefined reference to `osenv_timer_register'
/usr/local/oskit//lib/liboskit_threads.a(pthread_memory.o): In function `pthread_alloc_memory':
pthread_memory.o(.text+0xc): undefined reference to `memalign'
/usr/local/oskit//lib/liboskit_threads.a(pthread_signal.o): In function `pthread_init_signals':
pthread_signal.o(.text+0xdd6): undefined reference to `libc_sendsig_init'
/usr/local/oskit//lib/liboskit_threads.a(osenv_safe.o): In function `safeinterface_query':
osenv_safe.o(.text+0x25): undefined reference to `osenv_safe_iid'
/usr/local/oskit//lib/liboskit_threads.a(osenv_safe.o): In function `safeinterface_stream':
osenv_safe.o(.text+0x82): undefined reference to `oskit_wrap_stream'
/usr/local/oskit//lib/liboskit_threads.a(osenv_safe.o): In function `safeinterface_asyncio':
osenv_safe.o(.text+0xa2): undefined reference to `oskit_wrap_asyncio'
/usr/local/oskit//lib/liboskit_threads.a(osenv_safe.o): In function `safeinterface_socket':
osenv_safe.o(.text+0xc2): undefined reference to `oskit_wrap_socket'
/usr/local/oskit//lib/liboskit_threads.a(osenv_safe.o): In function `safeinterface_sockio':
osenv_safe.o(.text+0xe2): undefined reference to `oskit_wrap_sockio'
/usr/local/oskit//lib/liboskit_threads.a(osenv_safe.o): In function `pthread_register_interface':
osenv_safe.o(.text+0xff): undefined reference to `osenv_safe_iid'
/usr/local/oskit//lib/liboskit_threads.a(pthread_comlock.o): In function `lock_query':
pthread_comlock.o(.text+0x25): undefined reference to `oskit_lock_iid'
/usr/local/oskit//lib/liboskit_threads.a(pthread_comlock.o): In function `lock_release':
pthread_comlock.o(.text+0xd3): undefined reference to `osenv_mem_free'
/usr/local/oskit//lib/liboskit_threads.a(pthread_comlock.o): In function `create_lockimpl':
pthread_comlock.o(.text+0x143): undefined reference to `osenv_mem_alloc'
/usr/local/oskit//lib/liboskit_threads.a(pthread_comlock.o): In function `condvar_query':
pthread_comlock.o(.text+0x1b1): undefined reference to `oskit_condvar_iid'
/usr/local/oskit//lib/liboskit_threads.a(pthread_comlock.o): In function `condvar_release':
pthread_comlock.o(.text+0x25f): undefined reference to `osenv_mem_free'
/usr/local/oskit//lib/liboskit_threads.a(pthread_comlock.o): In function `create_cvarimpl':
pthread_comlock.o(.text+0x2c7): undefined reference to `osenv_mem_alloc'
/usr/local/oskit//lib/liboskit_threads.a(pthread_create.o): In function `pthread_prepare_timer':
pthread_create.o(.text+0x2e7): undefined reference to `oskit_create_listener'
pthread_create.o(.text+0x2ef): undefined reference to `oskit_system_clock'
pthread_create.o(.text+0x320): undefined reference to `oskit_create_listener'
pthread_create.o(.text+0x328): undefined reference to `oskit_system_clock'
make[2]: *** [kaffeh] Error 1
make[2]: Leaving directory `/root/go/kaffe-1.0.5-oskit/kaffe/kaffeh'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/go/kaffe-1.0.5-oskit/kaffe'
make: *** [all-recursive] Error 1



Follow-Ups: References: