Subject: Re: pkg/27126: gtkspell configure script libaspell check borked
To: None <collver@peak.org>
From: Julio M. Merino Vidal <jmmv@menta.net>
List: netbsd-bugs
Date: 10/03/2004 22:38:36
On Sun, Oct 03, 2004 at 12:34:36PM -0700, collver@peak.org wrote:
> 
> >How-To-Repeat:
> Try to build gtkspell under current pkgsrc.  Here is the relevant error
> message from gtkspell's config.log.
> 
> configure:3669: checking for new_aspell_speller in -laspell
> configure:3700: gcc -o conftest -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib conftest.c -laspell  -lintl >&5
> /usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `cerr'
> /usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `istream::ios virtual table'
> /usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `sqrt'
> [...]

This looks like a problem either in the new wrappers or in the new libtool.
I've just hit this problem in other packages too, like nautilus-cd-burner
or glu.  Maybe jlam@ or tv@ can look at this?

Cheers

-- 
Julio M. Merino Vidal <jmmv@menta.net>
The NetBSD Project - http://www.NetBSD.org/