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

compiling JanosVM




Hi All!
I have been able to compile the jnodeos, and now
I am trying to compile JanosVM to build the nodeOS

I used the config/i386/nodeos/nodeos-configure script, 
and set the environment variables correctly...

BUT I get the following error...
It looks like it doesn't find the correct UDP header structure 
definition, which is part of the Oskit source in 
oskit/c/netinet/udp.h

(netinet/udp.h is included in the file jsiPlexUDP.c which raises the error)

Is it possible that the config file aso needs a path to the oskit sources ??

cheers.

Andreas



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
jsiPlexUDP.c: In function `jsiCallBack':
jsiPlexUDP.c:106: structure has no member named `uh_sport'
jsiPlexUDP.c:107: structure has no member named `uh_dport'
jsiPlexUDP.c:115: structure has no member named `uh_ulen'
jsiPlexUDP.c:115: structure has no member named `uh_ulen'
jsiPlexUDP.c:115: structure has no member named `uh_ulen'
jsiPlexUDP.c:115: structure has no member named `uh_ulen'
jsiPlexUDP.c:121: warning: passing arg 2 of `jsiPlexWindowRecvPacket' from 
incompatible pointer type
jsiPlexUDP.c:121: warning: passing arg 3 of `jsiPlexWindowRecvPacket' from 
incompatible pointer type
jsiPlexUDP.c:121: too few arguments to function `jsiPlexWindowRecvPacket'
jsiPlexUDP.c:115: warning: `__v' might be used uninitialized in this function
jsiPlexUDP.c: In function `writeUDPLink':
jsiPlexUDP.c:170: structure has no member named `uh_ulen'
jsiPlexUDP.c: In function `getUDPIn':
jsiPlexUDP.c:252: structure has no member named `uh_dport'
jsiPlexUDP.c: In function `getUDPOutFromContext':
jsiPlexUDP.c:387: structure has no member named `uh_sport'
jsiPlexUDP.c:388: structure has no member named `uh_dport'
jsiPlexUDP.c:389: structure has no member named `uh_ulen'
jsiPlexUDP.c:390: structure has no member named `uh_sum'
make[4]: *** [jsiPlexUDP.lo] Error 1
make[4]: Leaving directory 
`/oskit/janosvm-0.5.1/libraries/extensions/nodeos/clib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/oskit/janosvm-0.5.1/libraries/extensions/nodeos'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/oskit/janosvm-0.5.1/libraries/extensions'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/oskit/janosvm-0.5.1/libraries'
make: *** [all-recursive] Error 1




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