Subject: htdig-3.1.6 doesn't build
To: None <tech-pkg@netbsd.org>
From: Bang Jun-Young <junyoung@netbsd.org>
List: tech-pkg
Date: 12/03/2003 23:34:47
Hi,

I got the following errors when I tried to build htdig-3.1.6 on -current:

c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig//htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 Endings.cc
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig//htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 EndingsDB.cc
[snip]
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig//htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 Accents.cc
c++ -o htfuzzy -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L../htlib -L../htcommon Endings.o EndingsDB.o Exact.o  Fuzzy.o Metaphone.o Soundex.o  SuffixEntry.o Synonym.o htfuzzy.o  Substring.o Prefix.o Accents.o ../htcommon/libcommon.a  ../htlib/libht.a -lz -ldb2
EndingsDB.o: In function `Endings::createDB(Configuration&)':
EndingsDB.o(.text+0xb6): undefined reference to `cout'
EndingsDB.o(.text+0xbb): undefined reference to `ostream::operator<<(char const*)'
EndingsDB.o(.text+0xf9): undefined reference to `cout'
EndingsDB.o(.text+0xfe): undefined reference to `ostream::operator<<(char const*)'
EndingsDB.o(.text+0x192): undefined reference to `form(char const*, ...)'
EndingsDB.o: In function `Endings::createRoot(Dictionary&, char*, char*, char*)':
[snip]

I also tried with -Wno-deprecated as recommended in the htdig FAQ (since
I'm using gcc 3.3.2), but it didn't help. Any clues?

Jun-Young

-- 
Bang Jun-Young <junyoung@NetBSD.org>