dap-3.4.8 on x86_64 Linux

Jennifer M. Adams jma at cola.iges.org
Tue Nov 14 11:44:53 PST 2006


I find myself in the unfortunate situation of needing to build an old  
version of DODS (3.4) on a new version of Linux (RedHat Enterprise 4).

The output from ''uname -a' is:
     Linux cola51.iges.org 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02  
EDT 2006 x86_64 x86_64 x86_64 GNU/Linux

I've got the packages built using the following arg to configure  
(since x86_64 isn't recognized)
     ./configure --build=i686-unknown-linux-gnu

I'm using gcc 3.2.3 (since this version has worked for me on other  
RHEnterprise boxes), but 3.4.6 and 4.1.0 are also available. Changing  
versions of the compiler does not affect the problem I'm having  
building libdap:


~/DODS/src/dap-3.4.8 >  make
g++ -c -gstabs -O2  -Wall -Wno-deprecated -DNDEBUG -DHAVE_CONFIG_H - 
I. -IGNU -Iregex-0.12 -I../../include/libxml2  -I../../include  -o  
AttrTable.o AttrTable.cc
g++ -c -gstabs -O2  -Wall -Wno-deprecated -DNDEBUG -DHAVE_CONFIG_H - 
I. -IGNU -Iregex-0.12 -I../../include/libxml2  -I../../include  -o  
DAS.o DAS.cc
g++ -gstabs -O2  -Wall -Wno-deprecated -DNDEBUG -DHAVE_CONFIG_H -I. - 
IGNU -Iregex-0.12 -I../../include/libxml2  -I../../include  -c  
lex.das.c -o lex.das.o
lex.das.c:1792: warning: 'void yy_fatal_error(const char*)' defined  
but not used
g++ -gstabs -O2  -Wall -Wno-deprecated -DNDEBUG -DHAVE_CONFIG_H -I. - 
IGNU -Iregex-0.12 -I../../include/libxml2  -I../../include  -c  
das.tab.c -o das.tab.o
g++ -c -gstabs -O2  -Wall -Wno-deprecated -DNDEBUG -DHAVE_CONFIG_H - 
I. -IGNU -Iregex-0.12 -I../../include/libxml2  -I../../include  -o  
parser-util.o parser-util.cc
g++ -c -gstabs -O2  -Wall -Wno-deprecated -DNDEBUG -DHAVE_CONFIG_H - 
I. -IGNU -Iregex-0.12 -I../../include/libxml2  -I../../include  -o  
DDS.o DDS.cc
g++ -c -gstabs -O2  -Wall -Wno-deprecated -DNDEBUG -DHAVE_CONFIG_H - 
I. -IGNU -Iregex-0.12 -I../../include/libxml2  -I../../include  -o  
DataDDS.o DataDDS.cc
g++ -gstabs -O2  -Wall -Wno-deprecated -DNDEBUG -DHAVE_CONFIG_H -I. - 
IGNU -Iregex-0.12 -I../../include/libxml2  -I../../include  -c  
lex.dds.c -o lex.dds.o
lex.dds.c:1768: warning: 'void yy_fatal_error(const char*)' defined  
but not used
g++ -gstabs -O2  -Wall -Wno-deprecated -DNDEBUG -DHAVE_CONFIG_H -I. - 
IGNU -Iregex-0.12 -I../../include/libxml2  -I../../include  -c  
dds.tab.c -o dds.tab.o
g++ -c -gstabs -O2  -Wall -Wno-deprecated -DNDEBUG -DHAVE_CONFIG_H - 
I. -IGNU -Iregex-0.12 -I../../include/libxml2  -I../../include  -o  
BaseType.o BaseType.cc
g++ -c -gstabs -O2  -Wall -Wno-deprecated -DNDEBUG -DHAVE_CONFIG_H - 
I. -IGNU -Iregex-0.12 -I../../include/libxml2  -I../../include  -o  
Byte.o Byte.cc
In file included from Byte.cc:52:
Operators.h: In static member function `static bool Cmp<T1, T2>::re 
(T1, T2)':
Operators.h:63: error: `cerr' was not declared in this scope
Operators.h:63: error: `endl' was not declared in this scope
Operators.h: In static member function `static bool USCmp<UT1, T2>::re 
(UT1, T2)':
Operators.h:87: error: `cerr' was not declared in this scope
Operators.h:87: error: `endl' was not declared in this scope
Operators.h: In static member function `static bool SUCmp<T1, UT2>::re 
(T1, UT2)':
Operators.h:113: error: `cerr' was not declared in this scope
Operators.h:113: error: `endl' was not declared in this scope
Operators.h: In function `bool rops(T1, T2, int)':
Operators.h:183: error: `cerr' was not declared in this scope
Operators.h:183: error: `endl' was not declared in this scope
make: *** [Byte.o] Error 1


Any suggestions for how to overcome this obstacle?

--
Jennifer M. Adams
IGES/COLA
4041 Powder Mill Road, Suite 302
Beltsville, MD 20705
jma at cola.iges.org



-------------- next part --------------



More information about the Opendap-tech mailing list