Subject: Re: htdig-3.1.6 doesn't build
To: None <tech-pkg@netbsd.org>
From: Murray Armfield <murray@river-styx.org>
List: tech-pkg
Date: 12/04/2003 11:05:38
Hi,
Just a quick question, is it things like this that are supposed to be
picked up during the pkgsrc freeze? I'm a bit confused about the pkgsrc
freeze process. I had this issue just around the start of the pkgsrc
freeze but didn't say anything (probably should have) as I thought it
would have come out on the first bulk build of pkgsrc on NetBSD-current.
Take care,
Murray
> 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>
>
>