swarm-support
[Top][All Lists]
Advanced

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

problem making swarm2.1.1 (redhat 6.0)


From: Rick Riolo
Subject: problem making swarm2.1.1 (redhat 6.0)
Date: Fri, 21 Jul 2000 08:20:22 -0400 (EDT)

(pre-script: i know there are binaries in rpm's but i feel
more comfortable rolling my own, so to speak...)

I had a problem trying to make swarm2.1.1 on a redhat 6.0 system.
I believe we have all the proper versions of the needed software
installed.   I downloaded the swarm2.1.1.tar.gz from SDG.
configure ran just fine as far as I could see.
The make rolled along fine until we got to this
(sorry about the formatting...):

/bin/sh ../../libtool --mode=compile /usr/bin/egcs -DHAVE_CONFIG_H -I.
-I/s6/opt/swarm2.1.1/swarm-2.1.1/src/defobj -I../.. -I../..
-I../../libobjc -I/s6/opt/swarm2.1.1/swarm-2.1.1/libobjc -I..
-I/s6/opt/swarm2.1.1/swarm-2.1.1/src/defobj/..
-I/s6/opt/swarm2.1.1/swarm-2.1.1/src/defobj/../collections
-I/s6/opt/swarm2.1.1/swarm-2.1.1/src/defobj/../misc
-I/appl/swarm2.1.1-support/include -I/appl/kaffe1.0.5/include/kaffe
-I../../avcall  -D_GNU_SOURCE -DBUILDING_SWARM  -g -O2 -Wall -Wno-import
-Wno-protocol -Werror -Wno-unknown-pragmas -Wno-unknown-pragmas -c -o
internal.lo /s6/opt/swarm2.1.1/swarm-2.1.1/src/defobj/internal.m
rm -f .libs/internal.lo
/usr/bin/egcs -DHAVE_CONFIG_H -I.
-I/s6/opt/swarm2.1.1/swarm-2.1.1/src/defobj -I../.. -I../..
-I../../libobjc -I/s6/opt/swarm2.1.1/swarm-2.1.1/libobjc -I..
-I/s6/opt/swarm2.1.1/swarm-2.1.1/src/defobj/..
-I/s6/opt/swarm2.1.1/swarm-2.1.1/src/defobj/../collections
-I/s6/opt/swarm2.1.1/swarm-2.1.1/src/defobj/../misc
-I/appl/swarm2.1.1-support/include -I/appl/kaffe1.0.5/include/kaffe
-I../../avcall -D_GNU_SOURCE -DBUILDING_SWARM -g -O2 -Wall -Wno-import
-Wno-protocol -Werror -Wno-unknown-pragmas -Wno-unknown-pragmas -c  -fPIC
-DPIC /s6/opt/swarm2.1.1/swarm-2.1.1/src/defobj/internal.m -o
.libs/internal.lo
/usr/bin/egcs -DHAVE_CONFIG_H -I.
-I/s6/opt/swarm2.1.1/swarm-2.1.1/src/defobj -I../.. -I../..
-I../../libobjc -I/s6/opt/swarm2.1.1/swarm-2.1.1/libobjc -I..
-I/s6/opt/swarm2.1.1/swarm-2.1.1/src/defobj/..
-I/s6/opt/swarm2.1.1/swarm-2.1.1/src/defobj/../collections
-I/s6/opt/swarm2.1.1/swarm-2.1.1/src/defobj/../misc
-I/appl/swarm2.1.1-support/include -I/appl/kaffe1.0.5/include/kaffe
-I../../avcall -D_GNU_SOURCE -DBUILDING_SWARM -g -O2 -Wall -Wno-import
-Wno-protocol -Werror -Wno-unknown-pragmas -Wno-unknown-pragmas -c
/s6/opt/swarm2.1.1/swarm-2.1.1/src/defobj/internal.m -o internal.o
>/dev/null 2>&1
make[3]: *** [internal.lo] Error 1
make[3]: Leaving directory
`/s6/opt/swarm2.1.1/Builds/Linux-debug/src/defobj'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/s6/opt/swarm2.1.1/Builds/Linux-debug/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/s6/opt/swarm2.1.1/Builds/Linux-debug'
make: *** [all-recursive-am] Error 2
address@hidden Linux-debug]$ 

So i tried to compile that internal.m alone, not sending the
messages to /dev/null, to see what the complaint was:

address@hidden Linux-debug]$ cd
/s6/opt/swarm2.1.1/Builds/Linux-debug/src/defobj
address@hidden defobj]$ /usr/bin/egcs -DHAVE_CONFIG_H -I.
-I/s6/opt/swarm2.1.1/swarm-2.1.1/src/defobj -I../.. -I../..
-I../../libobjc -I/s6/opt/swarm2.1.1/swarm-2.1.1/libobjc -I..
-I/s6/opt/swarm2.1.1/swarm-2.1.1/src/defobj/..
-I/s6/opt/swarm2.1.1/swarm-2.1.1/src/defobj/../collections
-I/s6/opt/swarm2.1.1/swarm-2.1.1/src/defobj/../misc
-I/appl/swarm2.1.1-support/include -I/appl/kaffe1.0.5/include/kaffe
-I../../avcall -D_GNU_SOURCE -DBUILDING_SWARM -g -O2 -Wall -Wno-import
-Wno-protocol -Werror -Wno-unknown-pragmas -Wno-unknown-pragmas -c
/s6/opt/swarm2.1.1/swarm-2.1.1/src/defobj/internal.m -o internal.o 
cc1obj: warnings being treated as errors
/s6/opt/swarm2.1.1/swarm-2.1.1/src/defobj/internal.m: In function
`map_java_ivars':
/s6/opt/swarm2.1.1/swarm-2.1.1/src/defobj/internal.m:588: warning: `count'
might be used uninitialized in this function
/s6/opt/swarm2.1.1/swarm-2.1.1/src/defobj/internal.m:589: warning: `fi'
might be used uninitialized in this function
/s6/opt/swarm2.1.1/swarm-2.1.1/src/defobj/internal.m:601: warning: `name'
might be used uninitialized in this function
/s6/opt/swarm2.1.1/swarm-2.1.1/src/defobj/internal.m:601: warning: `field'
might be used uninitialized in this function
/s6/opt/swarm2.1.1/swarm-2.1.1/src/defobj/internal.m:603: warning:
`namestr' might be used uninitialized in this function
/s6/opt/swarm2.1.1/swarm-2.1.1/src/defobj/internal.m:615: warning: `type'
might be used uninitialized in this function
/s6/opt/swarm2.1.1/swarm-2.1.1/src/defobj/internal.m:621: warning: `fid'
might be used uninitialized in this function
address@hidden defobj]$ 

So...what have I done wrong?
What should I try next?

BTW, i also did a make -n just to see what it is going to do,
and I got this:

address@hidden Linux-debug]$ make -n > rlr-maken-out
make[3]: *** No rule to make target `space/libspace.la', needed by
`libswarm.la'.  Stop.
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

Is that ok? A glitch in the make file? 
Or does that portend some other problem I'm going to have?

Thanks for the help.
 - r  

ps Here is the configure I did...i'm trying to make a version
   that can be used with objC only models, and with kaffe.
   Am I doing this right?

cd /s6/opt/swarm2.1.1/Builds/Linux-debug
export SWARMSRCDIR="/s6/opt/swarm2.1.1/swarm-2.1.1"
export CC="/usr/bin/egcs"
$SWARMSRCDIR/configure \
   --srcdir=$SWARMSRCDIR  \
   --prefix=$SWARMSRCDIR/Linux-debug \
   --with-jdkdir=/appl/kaffe1.0.5 \
   --with-hdf5dir=/appl/swarm2.1.1-support \
   --with-pngdir=/appl/swarm2.1.1-support \
   --with-zlibdir=/appl/swarm2.1.1-support \
   --with-ffidir=/appl/swarm2.1.1-support \
   --with-bltdir=/appl/swarm2.1.1-support \
   --with-tkdir=/appl/swarm2.1.1-support \
   --with-tcldir=/appl/swarm2.1.1-support




Rick Riolo                           address@hidden
Center for Study of Complex Systems (CSCS)
4477 Randall Lab                
University of Michigan         Ann Arbor MI 48109-1120
Phone: 734 763 3323                  Fax: 734 763 9267
http://www.pscs.umich.edu/PEOPLE/rlr-home.html


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]