[gradsusr] trouble compiling gadap-2.0

Martin Ivanov martin.ivanov at ifg.uni-tuebingen.de
Mon Apr 23 10:56:51 EDT 2012


Hello,

  I cannot compile gadap-2.0 on my
system: Slackware64-13.37, kernel 2.6.38.4, gcc 4.5.3, GNU Make 3.82, libdap-3.11.2.
The output of "configure" and "make" is attached as a text file
"compile.log". Should You need any more information, please do not hesitate to
ask.
Any suggestions will be appreciated.

Best regards,

-- 
Dr. Martin Ivanov
Eberhard-Karls-Universität Tübingen
Mathematisch-Naturwissenschaftliche Fakultät
Fachbereich Geowissenschaften
Water&  Earth System Science (WESS)
Keplerstraße 17, 72074 Tübingen, Deutschland
Tel. +4970712975023

-------------- next part --------------
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking for an ANSI C-conforming const... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for working strtod... yes
checking for memset... yes
checking for dap-config... /usr/bin/dap-config
checking for libdap version >= 3.7.3... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating gadap-config
config.status: creating config.h
config.status: executing depfiles commands
cd . && /bin/sh /home/marto/build/source/gadap/gadap-2.0/m4/missing --run autoheader
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
make  all-recursive
make[1]: Entering directory `/home/marto/build/source/gadap/gadap-2.0'
Making all in src
make[2]: Entering directory `/home/marto/build/source/gadap/gadap-2.0/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/libdap -I/usr/include/libxml2    -g -O2 -MT gaBaseTypes.o -MD -MP -MF ".deps/gaBaseTypes.Tpo" -c -o gaBaseTypes.o gaBaseTypes.cc; \
then mv -f ".deps/gaBaseTypes.Tpo" ".deps/gaBaseTypes.Po"; else rm -f ".deps/gaBaseTypes.Tpo"; exit 1; fi
In file included from gaBaseTypes.cc:31:0:
gaBaseTypes.h:35:25: error: expected class-name before '{' token
gaBaseTypes.h:39:11: error: 'BaseType' does not name a type
gaBaseTypes.h:49:25: error: expected class-name before '{' token
gaBaseTypes.h:53:11: error: 'BaseType' does not name a type
In file included from gaBaseTypes.cc:32:0:
gaTypeFactory.h:52:45: error: expected class-name before '{' token
gaTypeFactory.h:57:13: error: 'Byte' does not name a type
gaTypeFactory.h:58:13: error: 'Int16' does not name a type
gaTypeFactory.h:59:13: error: 'UInt16' does not name a type
gaTypeFactory.h:60:13: error: 'Int32' does not name a type
gaTypeFactory.h:61:13: error: 'UInt32' does not name a type
gaTypeFactory.h:62:13: error: 'Float32' does not name a type
gaTypeFactory.h:63:13: error: 'Float64' does not name a type
gaTypeFactory.h:65:13: error: 'Str' does not name a type
gaTypeFactory.h:66:13: error: 'Url' does not name a type
gaTypeFactory.h:68:13: error: 'Array' does not name a type
gaTypeFactory.h:69:13: error: 'Structure' does not name a type
gaTypeFactory.h:70:13: error: 'Sequence' does not name a type
gaTypeFactory.h:71:13: error: 'Grid' does not name a type
gaBaseTypes.cc: In constructor 'gaStr::gaStr(const std::string&)':
gaBaseTypes.cc:41:34: error: class 'gaStr' does not have any field named 'Str'
gaBaseTypes.cc: At global scope:
gaBaseTypes.cc:50:1: error: 'BaseType' does not name a type
gaBaseTypes.cc: In member function 'virtual std::string* gaStr::getStringVal()':
gaBaseTypes.cc:59:34: error: 'buf2val' was not declared in this scope
gaBaseTypes.cc: In constructor 'gaUrl::gaUrl(const std::string&)':
gaBaseTypes.cc:66:34: error: class 'gaUrl' does not have any field named 'Url'
gaBaseTypes.cc: At global scope:
gaBaseTypes.cc:74:1: error: 'BaseType' does not name a type
gaBaseTypes.cc: In member function 'virtual std::string* gaUrl::getStringVal()':
gaBaseTypes.cc:84:34: error: 'buf2val' was not declared in this scope
gaBaseTypes.cc: At global scope:
gaBaseTypes.cc:94:29: error: expected class-name before '{' token
gaBaseTypes.cc:96:33: error: 'BaseType' has not been declared
gaBaseTypes.cc:98:11: error: 'BaseType' does not name a type
gaBaseTypes.cc: In constructor 'gaArray::gaArray(const std::string&, int*)':
gaBaseTypes.cc:96:53: error: class 'gaArray' does not have any field named 'Array'
gaBaseTypes.cc: At global scope:
gaBaseTypes.cc:107:27: error: expected class-name before '{' token
gaBaseTypes.cc:111:11: error: 'BaseType' does not name a type
gaBaseTypes.cc: In constructor 'gaByte::gaByte(const std::string&)':
gaBaseTypes.cc:109:35: error: class 'gaByte' does not have any field named 'Byte'
gaBaseTypes.cc: At global scope:
gaBaseTypes.cc:120:33: error: expected class-name before '{' token
gaBaseTypes.cc:124:11: error: 'BaseType' does not name a type
gaBaseTypes.cc: In constructor 'gaFloat32::gaFloat32(const std::string&)':
gaBaseTypes.cc:122:38: error: class 'gaFloat32' does not have any field named 'Float32'
gaBaseTypes.cc: At global scope:
gaBaseTypes.cc:133:33: error: expected class-name before '{' token
gaBaseTypes.cc:137:11: error: 'BaseType' does not name a type
gaBaseTypes.cc: In constructor 'gaFloat64::gaFloat64(const std::string&)':
gaBaseTypes.cc:135:38: error: class 'gaFloat64' does not have any field named 'Float64'
gaBaseTypes.cc: At global scope:
gaBaseTypes.cc:146:27: error: expected class-name before '{' token
gaBaseTypes.cc:150:11: error: 'BaseType' does not name a type
gaBaseTypes.cc: In constructor 'gaGrid::gaGrid(const std::string&)':
gaBaseTypes.cc:148:35: error: class 'gaGrid' does not have any field named 'Grid'
gaBaseTypes.cc: At global scope:
gaBaseTypes.cc:159:29: error: expected class-name before '{' token
gaBaseTypes.cc:163:11: error: 'BaseType' does not name a type
gaBaseTypes.cc: In constructor 'gaInt16::gaInt16(const std::string&)':
gaBaseTypes.cc:161:36: error: class 'gaInt16' does not have any field named 'Int16'
gaBaseTypes.cc: At global scope:
gaBaseTypes.cc:172:29: error: expected class-name before '{' token
gaBaseTypes.cc:176:11: error: 'BaseType' does not name a type
gaBaseTypes.cc: In constructor 'gaInt32::gaInt32(const std::string&)':
gaBaseTypes.cc:174:36: error: class 'gaInt32' does not have any field named 'Int32'
gaBaseTypes.cc: At global scope:
gaBaseTypes.cc:198:35: error: expected class-name before '{' token
gaBaseTypes.cc:202:11: error: 'BaseType' does not name a type
gaBaseTypes.cc: In constructor 'gaSequence::gaSequence(const std::string&)':
gaBaseTypes.cc:200:39: error: class 'gaSequence' does not have any field named 'Sequence'
gaBaseTypes.cc: At global scope:
gaBaseTypes.cc:211:37: error: expected class-name before '{' token
gaBaseTypes.cc:215:11: error: 'BaseType' does not name a type
gaBaseTypes.cc: In constructor 'gaStructure::gaStructure(const std::string&)':
gaBaseTypes.cc:213:40: error: class 'gaStructure' does not have any field named 'Structure'
gaBaseTypes.cc: At global scope:
gaBaseTypes.cc:224:31: error: expected class-name before '{' token
gaBaseTypes.cc:229:11: error: 'BaseType' does not name a type
gaBaseTypes.cc: In constructor 'gaUInt16::gaUInt16(const std::string&)':
gaBaseTypes.cc:227:37: error: class 'gaUInt16' does not have any field named 'UInt16'
gaBaseTypes.cc: At global scope:
gaBaseTypes.cc:238:31: error: expected class-name before '{' token
gaBaseTypes.cc:242:11: error: 'BaseType' does not name a type
gaBaseTypes.cc: In constructor 'gaUInt32::gaUInt32(const std::string&)':
gaBaseTypes.cc:240:37: error: class 'gaUInt32' does not have any field named 'UInt32'
gaBaseTypes.cc: At global scope:
gaBaseTypes.cc:250:1: error: 'Byte' does not name a type
gaBaseTypes.cc:256:1: error: 'Int16' does not name a type
gaBaseTypes.cc:262:1: error: 'UInt16' does not name a type
gaBaseTypes.cc:268:1: error: 'Int32' does not name a type
gaBaseTypes.cc:275:1: error: 'UInt32' does not name a type
gaBaseTypes.cc:281:1: error: 'Float32' does not name a type
gaBaseTypes.cc:287:1: error: 'Float64' does not name a type
gaBaseTypes.cc:293:1: error: 'Str' does not name a type
gaBaseTypes.cc:299:1: error: 'Url' does not name a type
gaBaseTypes.cc:305:1: error: 'Array' does not name a type
gaBaseTypes.cc:311:1: error: 'Structure' does not name a type
gaBaseTypes.cc:317:1: error: 'Sequence' does not name a type
gaBaseTypes.cc:324:1: error: 'Grid' does not name a type
make[2]: *** [gaBaseTypes.o] Error 1
make[2]: Leaving directory `/home/marto/build/source/gadap/gadap-2.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/marto/build/source/gadap/gadap-2.0'
make: *** [all] Error 2


More information about the gradsusr mailing list