-lcrt0.o missing, can't install on Mac Os X

Travis Nep Smith nep@hopstudios.com
Fri Jan 11 02:01:03 2002


  -lcrt0.o missing, can't install on Mac Os X

Ideas?



[localhost:/DownloadX/expat-1.95.2] nep% ./configure
loading cache ./config.cache
checking host system type... powerpc-apple-darwin5.2
checking build system type... powerpc-apple-darwin5.2
checking for ranlib... (cached) ranlib
checking for gcc... (cached) cc
checking whether the C compiler (cc  ) works... yes
checking whether the C compiler (cc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) no
checking for BSD-compatible nm... (cached) /usr/bin/nm -p
checking whether ln -s works... (cached) yes
checking for object suffix... o
checking for executable suffix... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc supports -c -o file.o... /DownloadX/expat-1.95.2/conftest
yes
checking if cc supports -c -o file.lo... yes
checking if cc supports -fno-rtti -fno-exceptions ... yes
checking if cc static flag -static works... none
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the linker (/usr/bin/ld) supports shared libraries... no
checking command to parse /usr/bin/nm -p output... ok
checking how to hardcode library paths into programs... unsupported
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... no
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking for gcc... (cached) cc
checking whether the C compiler (cc -g -O2 ) works... yes
checking whether the C compiler (cc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking how to run the C preprocessor... (cached) cc -E -traditional-cpp
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) yes
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
creating ./config.status
creating Makefile
creating lib/Makefile
creating lib/expat.h
creating xmlwf/Makefile
creating examples/Makefile
creating config.h
config.h is unchanged
[localhost:/DownloadX/expat-1.95.2] nep% make
cd lib && make
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H 
-DPACKAGE='"expat"' -DVERSION='"expat_1.95.2"' -I. -I. -I..  -g -O2 
-Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -c 
xmlparse.c
cc -DHAVE_CONFIG_H -DPACKAGE=\"expat\" -DVERSION=\"expat_1.95.2\" -I. 
-I. -I.. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes 
-fexceptions -c xmlparse.c -o xmlparse.o
echo timestamp > xmlparse.lo
/bin/sh ../libtool --mode=link  cc -version-info 1:0:1 -g -O2 -Wall 
-Wmissing-prototypes -Wstrict-prototypes -fexceptions  -o libexpat.la 
-rpath /usr/local/lib  xmlparse.lo xmltok.lo xmlrole.lo
rm -fr .libs/libexpat.la .libs/libexpat.* .libs/libexpat.*
ar cru .libs/libexpat.a  xmlparse.o xmltok.o xmlrole.o
ranlib .libs/libexpat.a
creating libexpat.la
(cd .libs && rm -f libexpat.la && ln -s ../libexpat.la libexpat.la)
/DownloadX/expat-1.95.2/lib/.libs
cd xmlwf && make
cc -o xmlwf -static xmlwf.o xmlfile.o codepage.o unixfilemap.o 
-L../lib/.libs -lexpat
/usr/bin/ld: can't locate file for: -lcrt0.o
make[1]: *** [xmlwf] Error 1
make: *** [xmlwf] Error 2
[localhost:/DownloadX/expat-1.95.2] nep%

-- 
--
nep@hopstudios.com    AIM:NepSmith    http://www.hopstudios.com/

"The belief in the possibility of a short decisive war appears
  to be one of the most ancient and dangerous of human illusions."
        -- Robert Lynd