Problems compiling gettext

Clint Olsen clint at 0lsen.net
Thu Mar 4 10:59:11 PST 2004


Greetings:

Since I've been using the ports system, I've had nothing but problems with
gettext.  It causes me more grief on FreeBSD than any other port
dependency.  I just tried using 'portupgrade' for slrn, and while compiling
I got this gem of an error:

c++ -shared -nostdlib /usr/lib/crti.o /usr/lib/crtbeginS.o
.libs/lib-asprintf.o .libs/autosprintf.o -Wl,--whole-archive
/usr/local/lib/./libstdc++.a -Wl,--no-whole-archive
-L/usr/local/lib/gcc-lib/i386-portbld-freebsd4.7/../..
-L/usr/ports/lang/gcc33/work/build/gcc
-L/usr/ports/lang/gcc33/work/build/i386-portbld-freebsd4.7/libstdc++-v3/src/.libs
-L/usr/ports/lang/gcc33/work/build/i386-portbld-freebsd4.7/libstdc++-v3/src
-L/usr/local/lib -L/usr/lib -lm -lgcc /usr/lib/crtendS.o /usr/lib/crtn.o
-Wl,-soname -Wl,libasprintf.so.0 -o .libs/libasprintf.so.0
/usr/lib/libgcc.a(new.o)(.data+0x0): multiple definition of `__new_handler'
/usr/local/lib/./libstdc++.a(new_handler.o)(.bss.__new_handler+0x0): first
defined here
/usr/lib/libgcc.a(tinfo2.o): In function `__dynamic_cast':
tinfo2.o(.text+0x7d8): multiple definition of `__dynamic_cast'
/usr/local/lib/./libstdc++.a(tinfo.o)(.text.__dynamic_cast+0x0): first
defined here
/usr/libexec/elf/ld: Warning: size of symbol `__dynamic_cast' changed from
250 to 75 in /usr/lib/libgcc.a(tinfo2.o)
*** Error code 1

Stop in
/usr/ports/devel/gettext/work/gettext-0.13.1/gettext-runtime/libasprintf.
*** Error code 1

Stop in
/usr/ports/devel/gettext/work/gettext-0.13.1/gettext-runtime/libasprintf.
*** Error code 1

Stop in /usr/ports/devel/gettext/work/gettext-0.13.1/gettext-runtime.
*** Error code 1

Stop in /usr/ports/devel/gettext/work/gettext-0.13.1/gettext-runtime.
*** Error code 1

Stop in /usr/ports/devel/gettext/work/gettext-0.13.1.
*** Error code 1

Stop in /usr/ports/devel/gettext.
*** Error code 1

Stop in /usr/ports/news/slrn.
** Command failed [exit code 1]: /usr/bin/script

Does anyone have a babbelfish to decipher what all this C++ gunk is all
about?

System:

FreeBSD poly.0lsen.net 4.7-RELEASE-p1 FreeBSD 4.7-RELEASE-p1 #0: Fri Nov  8
22:38:43 PST 2002     root at poly.0lsen.net:/usr/obj/usr/src/sys/POLY  i386

Thanks,

-Clint


More information about the freebsd-ports mailing list