Subject: troubles with lang/gcc3 on linux/i386
To: None <tech-pkg@netbsd.org>
From: Sebastian Prause <sebastian-p@gmx.net>
List: tech-pkg
Date: 11/25/2003 23:20:54
hi,
this is what i get:
`echo "/usr/pkgsrc/lang/gcc3/work/gcc-3.3/gcc/xgcc -shared-libgcc -B/usr/pkgsrc/lang/gcc3/work/gcc-3.3/gcc/ -nostdinc++ -L/usr/pkgsrc/lang/gcc3/work/gcc-3.3/i386-slackware-linux/libstdc++-v3/src -L/usr/pkgsrc/lang/gcc3/work/gcc-3.3/i386-slackware-linux/libstdc++-v3/src/.libs -B/usr/pkg/gcc-3.3/i386-slackware-linux/bin/ -B/usr/pkg/gcc-3.3/i386-slackware-linux/lib/ -isystem /usr/pkg/gcc-3.3/i386-slackware-linux/include " | sed 's,gcc/xgcc ,gcc/g++ ,'` -DHAVE_CONFIG_H -I. -I. -I.. -nostdinc++ -I/usr/pkgsrc/lang/gcc3/work/gcc-3.3/i386-slackware-linux/libstdc++-v3/include/i386-slackware-linux -I/usr/pkgsrc/lang/gcc3/work/gcc-3.3/i386-slackware-linux/libstdc++-v3/include -I../libsupc++ -I/usr/pkg/include -O2 -I/usr/pkg/include -D_GNU_SOURCE -c abi_check.cc
LD_RUN_PATH=/usr/pkgsrc/lang/gcc3/work/gcc-3.3/i386-slackware-linux/libstdc++-v3/src/.libs /bin/sh ../libtool --tag=CXX --mode=link `echo "/usr/pkgsrc/lang/gcc3/work/gcc-3.3/gcc/xgcc -shared-libgcc -B/usr/pkgsrc/lang/gcc3/work/gcc-3.3/gcc/ -nostdinc++ -L/usr/pkgsrc/lang/gcc3/work/gcc-3.3/i386-slackware-linux/libstdc++-v3/src -L/usr/pkgsrc/lang/gcc3/work/gcc-3.3/i386-slackware-linux/libstdc++-v3/src/.libs -B/usr/pkg/gcc-3.3/i386-slackware-linux/bin/ -B/usr/pkg/gcc-3.3/i386-slackware-linux/lib/ -isystem /usr/pkg/gcc-3.3/i386-slackware-linux/include " | sed 's,gcc/xgcc ,gcc/g++ ,'` -O2 -I/usr/pkg/include -D_GNU_SOURCE -o abi_check abi_check.o -lm
mkdir .libs
/usr/pkgsrc/lang/gcc3/work/gcc-3.3/gcc/g++ -shared-libgcc -B/usr/pkgsrc/lang/gcc3/work/gcc-3.3/gcc/ -nostdinc++ -B/usr/pkg/gcc-3.3/i386-slackware-linux/bin/ -B/usr/pkg/gcc-3.3/i386-slackware-linux/lib/ -isystem /usr/pkg/gcc-3.3/i386-slackware-linux/include -O2 -I/usr/pkg/include -D_GNU_SOURCE -o abi_check abi_check.o -L/usr/pkgsrc/lang/gcc3/work/gcc-3.3/i386-slackware-linux/libstdc++-v3/src -L/usr/pkgsrc/lang/gcc3/work/gcc-3.3/i386-slackware-linux/libstdc++-v3/src/.libs -lm
/usr/pkgsrc/lang/gcc3/work/gcc-3.3/i386-slackware-linux/libstdc++-v3/src/.libs/libstdc++.so: undefined reference to `libintl_bindtextdomain'
/usr/pkgsrc/lang/gcc3/work/gcc-3.3/i386-slackware-linux/libstdc++-v3/src/.libs/libstdc++.so: undefined reference to `libintl_gettext'
/usr/pkgsrc/lang/gcc3/work/gcc-3.3/i386-slackware-linux/libstdc++-v3/src/.libs/libstdc++.so: undefined reference to `libintl_textdomain'
collect2: ld returned 1 exit status
make[3]: *** [abi_check] Error 1
make[3]: Leaving directory `/usr/pkgsrc/lang/gcc3/work/gcc-3.3/i386-slackware-linux/libstdc++-v3/testsuite'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/pkgsrc/lang/gcc3/work/gcc-3.3/i386-slackware-linux/libstdc++-v3'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/usr/pkgsrc/lang/gcc3/work/gcc-3.3/i386-slackware-linux/libstdc++-v3'
make: *** [all-target-libstdc++-v3] Error 2
*** Error code 2
Stop.
bmake: stopped in /usr/pkgsrc/lang/gcc3
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/lang/gcc3
i removed that testsuite directory from the Makfile in lang/gcc3/work/gcc3/i386-slackware-linux/libstdc++-v3/
and it compiled successfully. (but i didn't use it yet, so i have no idea if it is working or not :)
does anybody has a real solution for this problem?