[ expat-Bugs-587211 ] make error

noreply@sourceforge.net noreply@sourceforge.net
Fri Jul 26 13:50:03 2002


Bugs item #587211, was opened at 2002-07-26 15:46
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=587211&group_id=10127

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: make error

Initial Comment:
seaport:/tmp/expat-1.95.4# make
/usr/bin/bash ./libtool --silent --mode=link gcc -g -O2 -
Wall -Wmissing-prototypes -Wstrict-prototypes   -I./lib -
I.  -o xmlwf/xmlwf xmlwf/xmlwf.o xmlwf/xmlfile.o 
xmlwf/codepage.o xmlwf/unixfilemap.o libexpat.la
xmlwf/xmlfile.o: Undefined symbol `_open' referenced 
(use -lc ?)
xmlwf/xmlfile.o: Undefined symbol `_close' referenced 
(use -lc ?)
xmlwf/xmlfile.o: Undefined symbol `_read' referenced 
(use -lc ?)
xmlwf/unixfilemap.o: Undefined symbol `_open' 
referenced (use -lc ?)
xmlwf/unixfilemap.o: Undefined symbol `_fstat' 
referenced (use -lc ?)
xmlwf/unixfilemap.o: Undefined symbol `_close' 
referenced (use -lc ?)
xmlwf/unixfilemap.o: Undefined symbol `_munmap' 
referenced (use -lc ?)
ld: Spurious undefined symbols: # undefined symbols 5, 
reported 0
*** Error code 1

Stop.


----------------------------------------------------------------------

>Comment By: Karl Waclawek (kwaclaw)
Date: 2002-07-26 16:49

Message:
Logged In: YES 
user_id=290026

Fred,

maybe you can help.

----------------------------------------------------------------------

Comment By: Dave Reinhardt (thepair)
Date: 2002-07-26 16:43

Message:
Logged In: YES 
user_id=53868

seaport:/tmp/expat-1.95.0# which gcc
/nfs/usr/bin/gcc
seaport:/tmp/expat-1.95.0# gcc -v
gcc version 2.7.2.1


----------------------------------------------------------------------

Comment By: Dave Reinhardt (thepair)
Date: 2002-07-26 16:40

Message:
Logged In: YES 
user_id=53868

What OS/platform? Which version of it?
 PowerBSD Virtual Operating System v2.1 ELF-RELEASE 
(216.94.9.250) (ttyp0)
 PowerBSD v2.0-BETA - Copyright (c) 1997, 1998 Innosolve 
Systems Inc.

What compiler version?
can you tell from the output of the ./config command?
loading cache ./config.cache
checking host system type... i386-unknown-freebsd3.0
checking build system type... i386-unknown-freebsd3.0
checking for ranlib... (cached) ranlib
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-
compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ld used by GCC... (cached) /usr/libexec/aout/ld
checking if the linker (/usr/libexec/aout/ld) is GNU ld... 
(cached) no
checking for BSD-compatible nm... (cached) /nfs/usr/bin/nm -
p
checking whether ln -s works... (cached) yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... -static
checking if the linker (/usr/libexec/aout/ld) is GNU ld... no
checking whether the linker (/usr/libexec/aout/ld) supports 
shared libraries... yes
checking command to parse /nfs/usr/bin/nm -p output... ok
checking how to hardcode library paths into programs... 
immediate
checking for /usr/libexec/aout/ld option to reload object 
files... -r
checking dynamic linker characteristics... freebsd3.0 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-
compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... 
(cached) /nfs/usr/bin/install -c
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for fcntl.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether byte ordering is bigendian... (cached) no
checking for working const... (cached) yes
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking for 8-bit clean memcmp... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for memmove... (cached) yes
checking for bcopy... (cached) yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating lib/Makefile
creating xmlwf/Makefile
creating examples/Makefile
creating config.h
config.h is unchanged

make
cd lib; make
/bin/sh ../libtool --mode=link  gcc -version-info 0:0:0 -g -O2  -o 
libexpat.la -rpath /usr/local/lib  xmlparse.lo xmltok.lo 
xmlrole.lo
rm -fr .libs/libexpat.la .libs/libexpat.* .libs/libexpat.*
(cd . && ln -s xmlparse.lo xmlparse.o)
*** Error code 1

Stop.
*** Error code 1
What configuration - any changes or default? default
This is not assumed to be a bug. It is something about the 
way I am doing it or the fact that I do not have root access to 
the server. Only root to my virtual server. I have successfully 
installed others.
etc., etc.

----------------------------------------------------------------------

Comment By: Karl Waclawek (kwaclaw)
Date: 2002-07-26 16:07

Message:
Logged In: YES 
user_id=290026

Everything we need to know to be able
to reproduce your problem. Obviously
it works for us, so where should we start?

What OS/platform? Which version of it?
What compiler version?
What configuration - any changes or default?
etc., etc.



----------------------------------------------------------------------

Comment By: Dave Reinhardt (thepair)
Date: 2002-07-26 15:59

Message:
Logged In: YES 
user_id=53868

what kind of additional info please

----------------------------------------------------------------------

Comment By: Karl Waclawek (kwaclaw)
Date: 2002-07-26 15:52

Message:
Logged In: YES 
user_id=290026

Without more information we will
need to close this report without action.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=587211&group_id=10127