Hello,
I restarted into a new workspace and retried compilation with the --with-pic 
option. As far as I can tell the PIC flags are being passed. However, now when 
running gmake I keep getting the following error:

gmake[1]: Entering directory `/src/libiconv-1.13.1/src'
gcc -c -I. -I. -I.. -I../include -I./../include -I../srclib -I./../srclib 
-I../lib -g -O2  -DINSTALLDIR=\"/usr/gnu/bin\" 
-DLOCALEDIR=\"/usr/gnu/share/locale\" ./iconv_no_i18n.c
/bin/sh ../libtool --mode=link gcc  -g -O2 iconv_no_i18n.o ../srclib/libicrt.a 
../lib/libiconv.la  -o iconv_no_i18n
libtool: link: gcc -g -O2 iconv_no_i18n.o -o .libs/iconv_no_i18n  
../srclib/libicrt.a ../lib/.libs/libiconv.so -R/usr/gnu/lib
Undefined                       first referenced
 symbol                             in file
__builtin_stdarg_start              iconv_no_i18n.o
ld: fatal: symbol referencing errors. No output written to .libs/iconv_no_i18n
collect2: ld returned 1 exit status
gmake[1]: *** [iconv_no_i18n] Error 1
gmake[1]: Leaving directory `/src/libiconv-1.13.1/src'
gmake: *** [all] Error 2

By the way, I am using GCC 4.4.2 and GNU binutils 2.20. Next, I have also tried 
the following ./configure options, which also produced the same results:

./configure --prefix=/usr/gnu --with-pic --with-gnu-ld 
--with-ld=/usr/ccs/bin/ld --with-as --with-as=/usr/sfw/bin/gas

Any more suggestions? Thanks!
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to