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

Problems compiling Janos VM



Sorry if this is a duplicate.  I sent this earlier, but never
saw it show up in the discussion group and never got a reply.
So, I'm trying again.

Pete


OK ... I have restarted the ENTIRE process.  This is to
  be sure that my build is NOT done in the source tree, just
  in case, and the ensure that I have the latest everything.

  As suggested by Tim Stack, I retrieved the latest JNODEOS from
  CVS and remade it.  Then, I tried to make the JANOSVM. 

  The script I use to make the JANOSVM is:

    # FIRST: install kaffe on your Linux box (native)
    mkdir -p ${INSTALL}/kaffe
    mkdir -p ./build
    cd ./build
    ../configure \
      --prefix=/home/install/kaffe --srcdir=${ROOT}/janosvm
    make all
    make install
    make check

    # THEN: install the janosvm to run on top of moab
    make distclean
    cd ${ROOT}/janosvm/config/i386/nodeos
    mkdir -p ./build
    cd ./build
    export JNODEOS_CLASSES_ZIP=\
      ${INSTALL}/jnodeos/classes-moab-debug/jnodeos-moab-debug.zip  
    export JANOSVM_CLASSES_ZIP=\
      ${ROOT}/janosvm/libraries/jvmlib/JanosVM.jar
    chmod +x ../nodeos-configure
    ../nodeos-configure --srcdir=${ROOT}/janosvm \
      --oskitdir=${INSTALL}/oskit \
      --localkaffeh=${INSTALL}/kaffe/bin/kaffeh  \
      --nodeosdir=${INSTALL}/moab --nodeosunix     
    make

  The compile fails trying to compile:
    ${ROOT}/janosvm/libraries/extensions/nodeos/clib/jsiPlexUDP.c
  with the following errors:

  /home/install//oskit/bin/x86-oskit-gcc -posix-oskit -pthread -nostdinc 
-I/home/i
  nstall//moab/include -hosted-oskit -DHAVE_CONFIG_H -I. 
-I/home/janos//janosvm/li
  braries/extensions/nodeos/clib -I../../../../config -I../../../../include 
-I/hom
  e/janos//janosvm/kaffe -DKVER=\"1.0.6\" 
-I/home/janos//janosvm/kaffe/kaffevm -I/
  /home/janos//janosvm/libraries/extensions/nodeos/clib/jsiPlexUDP.c: In 
function
  `jsiCallBack':
  /home/janos//janosvm/libraries/extensions/nodeos/clib/jsiPlexUDP.c:121: 
warning: passing arg 2 of `jsiPlexWindowRecvPacket'
  from incompatible pointer type
  /home/janos//janosvm/libraries/extensions/nodeos/clib/jsiPlexUDP.c:121: 
warning: passing arg 3 of `jsiPlexWindowRecvPacket'
  from incompatible pointer type
  /home/janos//janosvm/libraries/extensions/nodeos/clib/jsiPlexUDP.c:121: too 
few
  arguments to function `jsiPlexWindowRecvPacket'
  make[4]: *** [jsiPlexUDP.lo] Error 1
  make[4]: Leaving directory 
`/home/janos/janosvm/config/i386/nodeos/build/libraries/extensions/nodeos/clib'
  make[3]: *** [all-recursive] Error 1
  make[3]: Leaving directory 
`/home/janos/janosvm/config/i386/nodeos/build/libraries/extensions/nodeos'
  make[2]: *** [all-recursive] Error 1
  make[2]: Leaving directory 
`/home/janos/janosvm/config/i386/nodeos/build/libraries/extensions'
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory 
`/home/janos/janosvm/config/i386/nodeos/build/libraries'
  make: *** [all-recursive] Error 1  

  Can you help?  You've been great, so far.

  Pete
-- 
=====================================================
Peter H. Lutz, Ph.D.
Professor of Information Technology
Coordinator of Networking and System Administration
Department of Information Technology
Rochester Institute of Technology
102 Lomb Memorial Drive - Bldg. 70
Rochester, NY  14623 
                       
VOICE: 716 475-6162
FAX:   716 475-2181
EMAIL: lutz@it.rit.edu 
=====================================================




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