[Expat-bugs] [Bug #116248] bulid error on FreeBSD 4.0

noreply@sourceforge.net noreply@sourceforge.net
Mon, 9 Oct 2000 04:27:01 -0700


Bug #116248, was updated on 2000-Oct-06 09:08
Here is a current snapshot of the bug.

Project: Expat XML Parser
Category: None
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Summary: bulid error on FreeBSD 4.0

Details: There three steps in building.
step 1 "./configure" is successful.
step 2 "make" encount some error
return error message:
cd lib; make 
/bin/sh ../libtool --mode=link gcc -version-info 0:0:0 -g -02 -o libexpat.la -rpath /usr/local/lib xmlparse.lo xmltok.lo xmlrole.lo
mkdir .libs
(cd . && ln -s xmlparse.lo xmlparse.o)
(cd . && ln -s xmltok.lo xmltok.o)
(cd . && ln -s xmlrole.lo xmlrole.o)
gcc: -shared xmlparse.lo xmltok.lo xmlrole.lo -lc -Wl , -soname -Wl, libexpat.so.0 -0 .libs/libexpat.so.0
gcc: xmlparse.lo: No such file or directory
gcc: xmltok.lo: No such file or directory
gcc: xmlrole.lo: No such file or directory
*** Error code 1






Follow-Ups:

Date: 2000-Oct-06 15:08
By: none

Comment:
Rather than put in a bug of my own, I'll add here that the same error comes up on OpenBSD 2.6 and in OpenBSD Current (hostinfo is: OpenBSD 2.8-beta (NSA.eff.org) #0: Mon Sep 25 05:20:17 PDT 2000).

I admin several OpenBSD boxen, and I need expat for one of my clients, sp I'd be happy to give one of you fellows an account to get this sorted out.  ;-)
-------------------------------------------------------

Date: 2000-Oct-06 15:24
By: none

Comment:
I should add that you can email me at robin@unrated.net if you'd care to take me up on the test box offer.

Sorry about putting in two followups.  I forgot to put my email address in the first.  ;-)
-------------------------------------------------------

Date: 2000-Oct-08 17:28
By: none

Comment:
Try using gmake instead of make. This fixed the problem on my FreeBSD 4.0 box which was exactly what you described in your bug report.
-------------------------------------------------------

Date: 2000-Oct-09 04:27
By: none

Comment:
I experienced the same problem under HP-UX 10.20, and needed to use gmake
and gcc in order to build the package. The .lo files weren't being made otherwise.
More checking in the makefile needed, perhaps ?
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=116248&group_id=10127