[ghemical-devel] libGhemical 1.90 compile issue

Erik Gregg hardware.hank at gmail.com
Sun Sep 18 02:31:23 EDT 2005


Hi.  I recently tried to compile libGhemical 1.90 on a Fedora Core 4
system with GCC 4.0.1.  Here's where it died:

 g++ -DHAVE_CONFIG_H -I. -I. -I. -I../src -g -O2
-Wp,-MD,.deps/search.pp -c search.cpp  -fPIC -DPIC -o .libs/search.o
In file included from
/usr/lib/gcc/i386-redhat-linux/4.0.1/../../../../include/c++/4.0.1/backward/strstream:51,
                 from search.cpp:15:
/usr/lib/gcc/i386-redhat-linux/4.0.1/../../../../include/c++/4.0.1/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one deprecated or
antiquated header. Please consider using one of the 32 headers found
in section 17.4.1.2 of the C++ standard. Examples include substituting
the <X> header for the <X.h> header for C++ includes, or <iostream>
instead of the deprecated header <iostream.h>. To disable this warning
use -Wno-deprecated.
search.h:46: error: ISO C++ forbids declaration of 'geomopt' with no type
search.h:46: error: expected ';' before '*' token
search.h:88: error: ISO C++ forbids declaration of 'geomopt' with no type
search.h:88: error: expected ';' before '*' token
search.h:129: error: ISO C++ forbids declaration of 'geomopt' with no type
search.h:129: error: expected ';' before '*' token
search.cpp: In constructor 'random_search::random_search(model*, i32s,
i32s, i32s, i32s, i32s)':
search.cpp:36: error: 'go' was not declared in this scope
search.cpp: In destructor 'random_search::~random_search()':
search.cpp:56: error: 'go' was not declared in this scope
search.cpp:56: error: type '<type error>' argument given to 'delete',
expected pointer
search.cpp: In member function 'i32s random_search::TakeStep()':
search.cpp:90: error: 'go' was not declared in this scope
search.cpp:90: error: type '<type error>' argument given to 'delete',
expected pointer
search.cpp:91: error: 'go' was not declared in this scope
search.cpp:97: error: 'go' was not declared in this scope
search.cpp: In constructor
'systematic_search::systematic_search(model*, i32s, i32s, i32s, i32s,
i32s)':
search.cpp:145: error: 'go' was not declared in this scope
search.cpp: In destructor 'systematic_search::~systematic_search()':
search.cpp:172: error: 'go' was not declared in this scope
search.cpp:172: error: type '<type error>' argument given to 'delete',
expected pointer
search.cpp: In member function 'i32s systematic_search::TakeStep()':
search.cpp:215: error: 'go' was not declared in this scope
search.cpp:215: error: type '<type error>' argument given to 'delete',
expected pointer
search.cpp:216: error: 'go' was not declared in this scope
search.cpp:222: error: 'go' was not declared in this scope
search.cpp: In constructor
'monte_carlo_search::monte_carlo_search(model*, i32s, i32s, i32s,
i32s, i32s, i32s)':
search.cpp:276: error: 'go' was not declared in this scope
search.cpp: In destructor 'monte_carlo_search::~monte_carlo_search()':
search.cpp:303: error: 'go' was not declared in this scope
search.cpp:303: error: type '<type error>' argument given to 'delete',
expected pointer
search.cpp: In member function 'i32s monte_carlo_search::TakeStep()':
search.cpp:342: error: 'go' was not declared in this scope
search.cpp:342: error: type '<type error>' argument given to 'delete',
expected pointer
search.cpp:343: error: 'go' was not declared in this scope
search.cpp:349: error: 'go' was not declared in this scope
make[1]: *** [search.lo] Error 1

Any ideas would be greatly appreciated!  Thanks.
-- 

 - Erik (Hank) Gregg
   GINA Project
   111A WRRB
   Phone: x1567
   Fax: x7160


More information about the ghemical-devel mailing list