help-gift
[Top][All Lists]
Advanced

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

[help-GIFT] Another compilation problem (G++ 3.0, Linux 2.4.5)


From: Christian Moeller
Subject: [help-GIFT] Another compilation problem (G++ 3.0, Linux 2.4.5)
Date: 16 Jul 2001 12:10:45 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Hi all!

I stumbled over GIFT after reading an article about image retrieval in
the current german magazine c´t.

So before the rush begins I have tried the little compilation run on
my machine, but had no luck:


root:/mypath/gift-0.1.6pre3# g++ --version
3.0
root:/mypath/gift-0.1.6pre3# uname -a
Linux choppa 2.4.5-xfs #18 Wed Jun 27 18:38:58 CEST 2001 i686 unknown

root:/mypath/gift-0.1.6pre3# g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DHAS_BOOL 
-DLINK_DYNAMICALLY
  -I../../libUnpublished/include -I../../libGIFTAcPerl/include
  -I../../libGIFTQuPerl/include -I../../libGIFTAcInvertedFile/include
  -I../../libGIFTQuInvertedFile/include
  -I../../libGIFTAcHierarchy/include
  -I../../libGIFTQuHierarchy/include -I../../libGIFTQuBayesian/include
  -I../../libGIFTAcDistanceMatrix/include
  -I../../libGIFTAcURL2FTS/include -I../../libMRML/include
  -I../../expat/xmlparse -I../../expat/xmltok -O3 -march=i686
  -DEF_PROTECT_BELOW=1 -DEF_PROTECT_FREE -DEF_PROTECT_ALIGNMENT=8
  -DEF_FILL=42 -Wp,-MD,.deps/CAccessorElement.pp -c
  CAccessorElement.cc -fPIC -DPIC -o CAccessorElement.o

In file included from CAccessorElement.cc:1:
../../libMRML/include/CAccessorElement.h:14: 'string' is used as a type, but is 
   not defined as a type.
../../libMRML/include/CAccessorElement.h:16: 'string' is used as a type, but is 
   not defined as a type.
../../libMRML/include/CAccessorElement.h:18: 'string' is used as a type, but is 
   not defined as a type.
../../libMRML/include/CAccessorElement.h:22: parse error before `&' token
../../libMRML/include/CAccessorElement.h:28: parse error before `)' token
../../libMRML/include/CAccessorElement.h:30: parse error before `)' token
../../libMRML/include/CAccessorElement.h:32: parse error before `)' token
../../libMRML/include/CAccessorElement.h:43: parse error before `<' token
../../libMRML/include/CAccessorElement.h:50: parse error before `<' token
../../libMRML/include/CAccessorElement.h:57: parse error before `<' token
../../libMRML/include/CAccessorElement.h:64: syntax error before `&' token
CAccessorElement.cc:4: syntax error before `&' token
CAccessorElement.cc:20: parse error before `&' token
CAccessorElement.cc:30: syntax error before `::' token
CAccessorElement.cc:38: syntax error before `::' token
CAccessorElement.cc:42: syntax error before `::' token
CAccessorElement.cc:48: cannot declare member function 
   `CSortByID_CAE::operator()' within `CAccessorElement'
CAccessorElement.cc:48: syntax error before `{' token
CAccessorElement.cc:54: cannot declare member function 
   `CSortByURL_CAE::operator()' within `CAccessorElement'
CAccessorElement.cc:54: syntax error before `{' token
CAccessorElement.cc:60: cannot declare member function 
   `CSortByThumbnailURL_CAE::operator()' within `CAccessorElement'
CAccessorElement.cc:60: syntax error before `{' token
make[3]: *** [CAccessorElement.lo] Error 1

I suspect the new compiler version 3.0 of the gcc suite is a little
picky about strings. I do not have a solution at the moment and would
be glad about any hints. BTW I also checked the current CVS snapshot
and the result was identical.

Christian



reply via email to

[Prev in Thread] Current Thread [Next in Thread]