[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

Error compiling



I'm trying to compile htdig 3.2.0b6 on a Mac 10.4 with gcc 4.0 and I'm getting this error:

$ make
Making all in db
make  all-am
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. - I./../htlib -g -O2 -c -o bt_compare.lo `test -f 'bt_compare.c' || echo './'`bt_compare.c
mkdir .libs
[...]
g++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/usr/ conf/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon - I../htword -I../db -I../db -DCONFIG_DIR=\"/usr/conf\" -I../ htfuzzy -g -O2 -Wall -fno-rtti -fno-exceptions -c -o WeightWord.o `test -f 'WeightWord.cc' || echo './'`WeightWord.cc g++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/usr/ conf/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon - I../htword -I../db -I../db -DCONFIG_DIR=\"/usr/conf\" -I../ htfuzzy -g -O2 -Wall -fno-rtti -fno-exceptions -c -o htsearch.o `test -f 'htsearch.cc' || echo './'`htsearch.cc htsearch.cc:71: error: non-local variable '<anonymous struct> colonPrefix []' uses anonymous type htsearch.cc: In function `void setupWords(char*, List&, int, Parser*, String&)': htsearch.cc:572: warning: comparison is always true due to limited range of data type htsearch.cc:580: warning: comparison is always true due to limited range of data type htsearch.cc:593: warning: comparison is always true due to limited range of data type
make[1]: *** [htsearch.o] Error 1
make: *** [all-recursive] Error 1
$

Any ideas what is going wrong? I don't see anything in the error mentioning make include problems or libht.a (common errors from the FAQ).
Thanks,
Seth


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
ht://Dig general mailing list: <htdig-general@xxxxxxxxxxxxxxxxxxxxx>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

[Site Home]     [Bugtraq]     [Books]     [Photo]
[Yosemite]     [Yosemite News]     [MIPS Linux]     [Linux Resources]

Powered by Linux