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

Re: still no luck



> Hi all!
> I am sorry to be such a pain, but I still had no luck in compiling the 
> JanosVM  :(
> 
> My problem is that when compiling, the C portion (jsiPlexUDP.c)
> there is a problem in including the file udp.h
> 
> I checked all the paths in the config script, and they are all fine...
> ( I have a directory tree in which I have install the OSKIt and Moab)

I think we're missing something in the config script, here is the build
line that gets run in my tree:

/z/stack/jinstall/oskit-debug/bin/x86-oskit-gcc -posix-oskit -pthread
-nostdinc -I/z/stack/jinstall/moab-oskit-click-debug/include
-DHAVE_CONFIG_H
-I. -I/z/stack/mirror/janosvm/libraries/extensions/nodeos/clib
-I../../../../config -I../../../../include -I/z/stack/mirror/janosvm/kaffe
-DKVER=\"1.0.6\" -I/z/stack/mirror/janosvm/kaffe/kaffevm
-I/z/stack/mirror/janosvm/kaffe/kaffevm/systems/nodeos-threads
-I/z/stack/mirror/janosvm/config -I/z/stack/mirror/janosvm/include
-I/usr/local/include -DDEBUG -DKAFFE_XDEBUGGING -g -O2 -Wall
-Wstrict-prototypes -c
/z/stack/mirror/janosvm/libraries/extensions/nodeos/clib/jsiPlexUDP.c
-Wp,-MD,.deps/jsiPlexUDP.TPlo -o jsiPlexUDP.o


> gcc -DHAVE_CONFIG_H -I. 
> -I/oskit/janosvm-0.5.1/libraries/extensions/nodeos/clib -I../../../../config 
> -I../../../../include -I/oskit/janosvm-0.5.1/kaffe -DKVER=\"1.0.6\" 
> -I/oskit/janosvm-0.5.1/kaffe/kaffevm 
> -I/oskit/janosvm-0.5.1/kaffe/kaffevm/systems/nodeos-threads 
> -I/oskit/janosvm-0.5.1/config -I/oskit/janosvm-0.5.1/include 
> -I/usr/local/include -g -O2 -Wall -Wstrict-prototypes -c jsiPlexUDP.c 
> -Wp,-MD,.deps/jsiPlexUDP.TPlo -o jsiPlexUDP.o

So, you have gcc instead of x86-oskit-gcc and there's a few other options
missing.

Here's my config line for a reference:

/z/stack/mirror/janosvm/config/i386/nodeos/nodeos-configure
--prefix=/z/stack/jinstall/janosvm-jit-debug-moaboskit-static
--disable-gcj --with-engine=jit3 --enable-debug --enable-xdebugging
--with-staticvm --with-staticlib --srcdir=/z/stack/mirror/janosvm
--oskitdir=/z/stack/jinstall/oskit-debug
--localkaffeh=/home/stack/jvm.root/usr/local/bin/kaffeh --disable-gcj
--nodeosdir=/z/stack/jinstall/moab-oskit-click-debug

Are you sure all that stuff is specified?

> thanks
> 
> Andreas

tim stack




[ Janos ] [ OSKit ] [ Network Testbed ] [ Flick ] [ Fluke ]
Flux Research Group / Department of Computer Science / University of Utah