swarm-support
[Top][All Lists]
Advanced

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

Problems compiling Swarm


From: Maurits van der Veen
Subject: Problems compiling Swarm
Date: Wed, 30 Jun 1999 02:08:48 -0400 (EDT)

Hi everyone,

I am running Linux (kernel 2.2.10) on a Macintosh Powerbook G3.
When trying to compile Swarm 1.4.1 I get the following, fatal,
error message sequence:

<begin copied error message>
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I./.. -I./../collections 
-I./../misc   -D_GNU_SOURCE  -g -O2 -Wall -Wno-import -Wno-protocol 
-Werror -c DefClass.m
/tmp/ccChYME5.s: Assembler messages:
/tmp/ccChYME5.s:2935: Error: Subtraction of two symbols in different 
sections ".L1092" {.text section} - ".L1090" {.rodata section} at file 
address 4322.
/tmp/ccChYME5.s:2936: Error: Subtraction of two symbols in different 
sections ".L1092" {.text section} - ".L1090" {.rodata section} at file 
address 4326.
make[3]: *** [DefClass.o] Error 1
make[3]: Leaving directory `/usr/local/swarm-1.4.1/src/defobj'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/swarm-1.4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/swarm-1.4.1'
make: *** [all-recursive-am] Error 2
<end copied error message>

I have only one possible guess as to what causes the problem:
When I run the configure script, it notes that when checking
directory for libhdf5 it doesn't find one. So I downloaded
hdf5 from the swarm needed software directory and tried to compile it.
Unfortunately, that too gives me an error:

<begin copied error message>
gcc -g -O2 -Wall -W -Wshadow -Wpointer-arith -Wbad-function-cast 
-Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline  
-I.   -DNDEBUG -UH5_DEBUG_API -c H5.c
In file included from H5.c:52:
H5private.h:497: parse error before `__extension__'
H5private.h:497: `__len' undeclared here (not in a function)
H5private.h:497: initializer element is not constant
H5private.h:497: parse error before `if'
H5private.h:497: warning: type defaults to `int' in declaration of 
`__retval'
H5private.h:497: conflicting types for `__retval'
H5private.h:497: previous declaration of `__retval'
H5private.h:497: warning: data definition has no type or storage class
H5private.h:497: parse error before `}'
make[2]: *** [H5.o] Error 1
make[2]: Leaving directory `/usr/local/hdf5-1.0.1/src'
make[1]: *** [lib] Error 1
make[1]: Leaving directory `/usr/local/hdf5-1.0.1'
make: *** [all] Error 2
<end copied error message>

If anyone can help me resolve either or both of these problems, I'd be
much obliged.

Thanks,

Maurits

------------------------------------------------------------------------
Maurits van der Veen               address@hidden
Center for European Studies        ph: 617-495-4303 (ext 277)
Harvard University                 http://www.fas.harvard.edu/~maurits/
27 Kirkland Street
Cambridge, MA 02138                Luctor et emergo! 
------------------------------------------------------------------------


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