Subject: textproc/gtkspell fails to build
To: None <tech-pkg@netbsd.org>
From: segv <segv@netctl.net>
List: tech-pkg
Date: 07/18/2005 22:12:18
$ uname -a
NetBSD dhcli-192-168-0-5.netctl.net 3.0_BETA NetBSD 3.0_BETA (GENERIC)
#0: Sun Jul 17 15:19:36 UTC 2005  root@p3smp:/opt/obj.sparc64/sys/arch/
#sparc64/compile/GENERIC sparc64

When pkgsrc runs configure for gtkspell, it fails and the following
gets written to config.log There seem to be a lot of 'underfined
reference to' errors, does anyone know what's going on here?

configure:3797: checking for new_aspell_speller in -laspell
configure:3827: cc -o conftest -O2 -O2 -pipe -mcpu=ultrasparc -mvis -I/
usr/pkg/include -I/usr/include -I/usr/ pkg/include/freetype2 -I/usr/
X11R6/include -I/usr/pkg/gcc34/include -I/usr/pkg/include -I/usr/
include -I/usr/ pkg/include/freetype2 -I/usr/X11R6/include -I/usr/pkg/
gcc34/include -L/opt/pkg/gcc34/bin/../lib/gcc/sparc64-- netbsd3.0/3.4.4
-Wl,-R/opt/pkg/gcc34/bin/../lib/gcc/sparc64--netbsd3.0/3.4.4 -L/opt/pkg/
gcc34/bin/../lib -Wl, -R/opt/pkg/gcc34/bin/../lib -L/usr/pkg/lib -Wl,-R/
usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib -L/u sr/pkg/
gcc34/lib -Wl,-R/usr/pkg/gcc34/lib -Wl,-R/usr/X11R6/lib conftest.c
-laspell  -lintl >&5 
/usr/pkg/gcc34/lib/libstdc++.so.6: undefined
reference to `_Unwind_GetIP' /usr/pkg/gcc34/lib/libstdc++.so.6:
undefined reference to `_Unwind_Resume_or_Rethrow' /usr/pkg/gcc34/lib/
libstdc++.so.6: undefined reference to `_Unwind_GetRegionStart' /usr/
pkg/gcc34/lib/libstdc++.so.6: undefined reference to `_Unwind_Resume' /
usr/pkg/gcc34/lib/libstdc++.so.6: undefined reference to
`_Unwind_DeleteException' /usr/pkg/gcc34/lib/libstdc++.so.6: undefined
reference to `_Unwind_RaiseException' /usr/pkg/gcc34/lib/libstdc+
+.so.6: undefined reference to `_Unwind_SetIP' /usr/pkg/gcc34/lib/
libstdc++.so.6: undefined reference to `_Unwind_GetTextRelBase' /usr/
pkg/gcc34/lib/libstdc++.so.6: undefined reference to
`_Unwind_GetLanguageSpecificData' /usr/pkg/gcc34/lib/libstdc++.so.6:
undefined reference to `_Unwind_SetGR' /usr/pkg/gcc34/lib/libstdc+
+.so.6: undefined reference to `_Unwind_GetDataRelBase' collect2: ld
returned 1 exit status configure:3833: $? = 1 configure: failed program
was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "gtkspell"
| #define PACKAGE_TARNAME "gtkspell"
| #define PACKAGE_VERSION "2.0.10"
| #define PACKAGE_STRING "gtkspell 2.0.10"
| #define PACKAGE_BUGREPORT "nathan@silverorange.com"
| #define PACKAGE "gtkspell"
| #define VERSION "2.0.10"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ASPELL_H 1
| #define HAVE_PSPELL_H 1
| /* end confdefs.h.  */
| 
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char new_aspell_speller ();
| int
| main ()
| {
| new_aspell_speller ();
|   ;
|   return 0;
| }
configure:3859: result: no