From: Jim C. <li...@yg...> - 2007-01-06 02:12:27
|
Hi - To work around this problem I think you will need to remove =20 'Collection::' from lines 39 and 41 of htsearch/Collection.h. It =20 would appear that the compiler you are using is introducing this =20 problem. To the best of my knowledge this ht://Dig compile error has =20 never been reported before. This problem hasn't affected the many =20 builds I have performed with 3.x and 4.0.x GCC compilers. I believe the existing code is at best redundant and should be =20 cleaned up, but I am not sure that it should result in a compiler =20 error. My current understanding of the spec, which may well be wrong, =20= indicates that the code is syntactically correct. Jim On Jan 4, 2007, at 9:18 AM, Dominique Arpin wrote: > Hi, > > I have this error: > > make[1]: Leaving directory `/usr/local/src/htdig-3.2.0b6/htdig' > Making all in htsearch > make[1]: Entering directory `/usr/local/src/htdig-3.2.0b6/htsearch' > g++ -DHAVE_CONFIG_H -I. -I. -I../include > -DDEFAULT_CONFIG_FILE=3D\"/home/httpd/htdig_3.2/conf/htdig.conf\" > -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db > -I../db -DCONFIG_DIR=3D\"/home/httpd/htdig_3.2/conf\" -I../=20 > htfuzzy -g > -O2 -Wall -fno-rtti -fno-exceptions -c -o Display.o `test -f =20 > 'Display.cc' > || echo './'`Display.cc > Collection.h:39: error: extra qualification 'Collection::' on =20 > member 'Open' > Collection.h:41: error: extra qualification 'Collection::' on =20 > member 'Close' > make[1]: *** [Display.o] Error 1 > make[1]: Leaving directory `/usr/local/src/htdig-3.2.0b6/htsearch' > make: *** [all-recursive] Error 1 > > > System: Debian Etch (4.0) > System: i386 (pentium D) > > gcc -v > Using built-in specs. > Target: i486-linux-gnu > Configured with: ../src/configure -v > --enable-languages=3Dc,c++,fortran,objc,obj-c++,treelang --prefix=3D/usr= > --enable-shared --with-system-zlib --libexecdir=3D/usr/lib > --without-included-gettext --enable-threads=3Dposix --enable-nls > --program-suffix=3D-4.1 --enable-__cxa_atexit --enable-clocale=3Dgnu > --enable-libstdcxx-debug --enable-mpfr --with-tune=3Di686 > --enable-checking=3Drelease i486-linux-gnu > Thread model: posix > gcc version 4.1.2 20061028 (prerelease) (Debian 4.1.1-19) > > thanks > > --=20 > Dominique Arpin, administrateur r=E9seau > A+,Linux+,Server+,MCP > Espace Courbe inc. http://www.espacecourbe.com/ > 642 de Courcelle, bureau 303, Montr=E9al (Qu=E9bec), Canada H4C 3C5 > t=E9l.: (514) 933-9861 t=E9l=E9c.: (514) 933-9546 > > > ----------------------------------------------------------------------=20= > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to =20 > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?=20 > page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV > _______________________________________________ > ht://Dig Developer mailing list: > htd...@li... > List information (subscribe/unsubscribe, etc.) > https://lists.sourceforge.net/lists/listinfo/htdig-dev |