I found something interesting. For IMLIB2, I'm trying to build the CVS version. There was a previously released version that seems to build fine for me. The big diffrence would be that the released version had configure scripts pre-built, whereas I, on the CVS version, run autoconf, automake, etc myself.
The release version compiles fine whereas the CVS version does not. When comparing things I found that the release version sets the libtools "no_undefined_flags" to "-z text" yet when I use the CVS version I get the same variable set to "-z defs". I changed "-z defs" to "-z text" and it builds without error now. Is this a good idea or bad? Whats the diffrence between the two? And why might libtool/configure be setting it this way? [EMAIL PROTECTED] -----Original Message----- From: Ben Rockwood Sent: Fri 3/1/2002 11:13 AM To: [EMAIL PROTECTED] Cc: Subject: libtool and Solaris Hello. Please forgive me if this is the wrong place to ask this question, but I didn't know what better place. I'm trying to build several projects from Linux on Solaris. I'm using libtool 1.4 and GCC 2.95.3 on Solaris8. I'm building IMLIB2. When I build it using the Sun linker I get the following behavour: /bin/sh ../libtool --mode=link gcc -g -O2 -L/usr/X11R6/lib -o testfilter.la -rpath /usr/local/lib/loaders/filter -no-undefined -module -avoid-version filter_test.lo rm -fr .libs/testfilter.la .libs/testfilter.* .libs/testfilter.* /usr/ccs/bin/ld -G -z defs -h testfilter.so -o .libs/testfilter.so filter_test.lo -L/usr/X11R6/lib -lc Undefined first referenced symbol in file imlib_create_color_modifier filter_test.lo imlib_free_image_and_decache filter_test.lo imlib_create_image filter_test.lo imlib_image_fill_rectangle filter_test.lo imlib_context_set_color_modifier filter_test.lo <snip> ld: fatal: Symbol referencing errors. No output written to .libs/testfilter.so The interesting thing is that if I use GNU Binutils on Solaris the library builds with no problems... HOWEVER everything that uses this library compiled via Binutils code dumps on startup (Bus Error). I've removed binutils from my system, grabbed the latest Sun patch for the linker and tried over and over to get past this, but can't. Can anyone help? Any help is _greatly_ appreciated. [EMAIL PROTECTED] _______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool _______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool