[ expat-Bugs-1058158 ] building expat 1.95.8 on Solaris using Sun Compiler
"SourceForge.net" <[email protected]> Thu, 27 Jan 2005 20:52:28 -0800
| Newsgroups | gmane.text.xml.expat.bugs |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1058158, was opened at 2004-11-01 09:10 Message generated for change (Comment added) made by fdrake You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1058158&group_id=10127 Category: Build control >Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Greg Stein (gstein) Summary: building expat 1.95.8 on Solaris using Sun Compiler Initial Comment: Hi I'm trying to build on a Solaris system using a SUN compiler. ./configure returned host system type=sparc-sun-solaris2.8 However the build failed and returned the following /bin/bash ./libtool --silent --mode=link gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H -I./lib -I. -no-undefined -version-info 5:0:5 -rpath /usr/local/lib -o libexpat.la lib/xmlparse.lo lib/xmltok.lo lib/xmlrole.lo Undefined first referenced symbol in file __eprintf lib/xmlparse.lo ld: fatal: Symbol referencing errors. No output written to .libs/libexpat.so.0.5.0 make: *** [libexpat.la] Error 1 Any help or advice regarding building the expat 1.95.8 would be greatly appreciated. Regards Thomas [email protected] ---------------------------------------------------------------------- >Comment By: Fred L. Drake, Jr. (fdrake) Date: 2005-01-27 23:52 Message: Logged In: YES user_id=3066 Expat 1.95.9 will be built using libtool 1.5.10, so this problem goes away. Closing this report as fixed by the coming release. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2004-11-10 18:06 Message: Logged In: NO Hi! I solved this problem by changing the line that starts with LIBTOOL on configure script this way(or Makefile if you want): # Always use our own libtool. #LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIBTOOL='$(SHELL) /usr/local/bin/libtool' I used my own installed libtool : my_host# libtool --version ltmain.sh (GNU libtool) 1.5.6 (1.1220.2.94 2004/04/10 16:27:27) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. instead of the one that came with the expat-1.95.8 distribution: my_host#pwd /usr/local/src/expat-1.95.8 my_host# ./libtool --version ltmain.sh (GNU libtool) 1.4.2 (1.922.2.53 2001/09/11 03:18:52) You can change the line LIBTOOL on Makefile the same way I did on configure script if you don't want to do that on the script. With this simple change, the library compiled and then it was installed. Later it passed all the tests after making "check" . I hope you find this hepful Bye Crox Sanchez [email protected] ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1058158&group_id=10127