swarm-support
[Top][All Lists]
Advanced

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

Re: Java--Passing selector arguments to EZGraph


From: Tom Wainwright
Subject: Re: Java--Passing selector arguments to EZGraph
Date: Mon, 26 Mar 2001 14:25:03 -0800

"Marcus G. Daniels" wrote:
> 
> >>>>> "TW" == Tom Wainwright <address@hidden> writes:
> 
> TW> Where can I find the updated RPMs?
> 
> On Linux systems it is easy to build from source, especially if you
> have installed Swarm using RPMs.  (It implies that you have all the
> dependent packages installed.)
> 
> A configure/build is like this:
> 
> $ mkdir -p /build/swarm-jdk
> $ cd /build/swarm-jdk
> $ PATH=/scripts/build:$PATH
> $ build-swarm-jdk
> $ make install
> $ export SWARMHOME=/packages
> 
> $ cat /scripts/build/build-swarm-jdk
> #!/bin/sh
> SWARMSRCDIR=/src/swarm-2001-03-20
> P=/packages
> JAVAC=jikes $SWARMSRCDIR/configure --srcdir=$SWARMSRCDIR --prefix=$P 
> --enable-subdirs --with-jdkdir=/usr/java1.3 && make
> 

OK, we've gone full circle now.  As I said earlier, I used the RPM because
I can't get Swarm to build from source on my system (RedHat 7.0,
gcc-2.96-69, glibc-2.2-12, Blackdown j2sdk1.3.0), so I guess it's time to
deal with the build problem.  Your script above doesn't make sense for my
configuration, so here's what I've done following the INSTALL instructions:

1) downloaded and un-tarred swarm-2001-03-20.tar.gz.
2) in the swarm-2001-03-20 directory, ran './configure' which found no
errors.
3) ran 'make', which made great progress until it got to HDF5Object in the
defobj directory, and then died with the errors below.

Any suggestions as to why HDF5Object.m won't compile?  Is this version of
gcc just pickier than others?  Is it safe to turn off the -Werror option
(i.e. to ignore incompatible pointer-type warnings)?

        --Tom Wainwright

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Partial output from 'make':
...
Making all in defobj
make[3]: Entering directory `/home/twain/tmp/swarm-2001-03-20/src/defobj'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I../..
 -I../../libobjc -I../../libobjc -I.. -I./.. -I./../collections
-I./../misc  -I/
opt/j2sdk1.3.0/include -I/opt/j2sdk1.3.0/include/linux -I../../avcall 
-D_GNU_SO
URCE -DBUILDING_SWARM  -g -O2 -Wall -Wno-import -Wno-protocol -Werror
-Wno-unkno
wn-pragmas -Wno-unknown-pragmas -c -o HDF5Object.lo HDF5Object.m
rm -f .libs/HDF5Object.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../libobjc -I../../libobjc
-I..
 -I./.. -I./../collections -I./../misc -I/opt/j2sdk1.3.0/include
-I/opt/j2sdk1.3
.0/include/linux -I../../avcall -D_GNU_SOURCE -DBUILDING_SWARM -g -O2 -Wall
-Wno
-import -Wno-protocol -Werror -Wno-unknown-pragmas -Wno-unknown-pragmas -c 
-fPI
C -DPIC HDF5Object.m -o .libs/HDF5Object.lo
cc1obj: warnings being treated as errors
HDF5Object.m: In function `-[HDF5(c) _createEnd]':
HDF5Object.m:1234: warning: passing arg 5 of `H5Tregister' from
incompatible poi
nter type
HDF5Object.m:1240: warning: passing arg 5 of `H5Tregister' from
incompatible poi
nter type
HDF5Object.m: In function `-[HDF5(c) _drop]':
HDF5Object.m:2122: warning: passing arg 5 of `H5Tunregister' from
incompatible p
ointer type
make[3]: *** [HDF5Object.lo] Error 1
make[3]: Leaving directory `/home/twain/tmp/swarm-2001-03-20/src/defobj'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/twain/tmp/swarm-2001-03-20/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/twain/tmp/swarm-2001-03-20'
make: *** [all-recursive-am] Error 2
$

                  ==================================
   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]