I just tried installing expat-1.95.1 (the previous release) and it 
was error free. I still don't know what was causing the error, but I 
care a lot less now ;-)
-Hans


>Hi again,
>now that I see how helpful you all are I'm going to ask one more 
>installation question. I am trying to install James Clark's expat 
>XML parser library in C.  The ./configure script seems to run 
>without any major problems ( I have included the transcript bellow 
>anyway). Then when I run "make" it has a terminal error. I have 
>included the error message here and the whole transcript at the 
>bottom. Can someone tell me what this error means, and what I need 
>to do to fix it?
>
>       %make
>       .
>       .
>       .
>       /usr/bin/ld: can't locate file for: -lcrt0.o
>       make[1]: *** [xmlwf] Error 1
>       make: *** [xmlwf] Error 2
>
>Thanks again,
>Hans
>
>
>[holtan:~/Desktop/expat-1.95.2] hans% ./configure
>creating cache ./config.cache
>checking host system type... powerpc-apple-darwin5.4
>checking build system type... powerpc-apple-darwin5.4
>checking for ranlib... ranlib
>checking for gcc... no
>checking for cc... 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... yes
>checking whether cc accepts -g... yes
>checking for ld used by GCC... /usr/bin/ld
>checking if the linker (/usr/bin/ld) is GNU ld... no
>checking for BSD-compatible nm... /usr/bin/nm -p
>checking whether ln -s works... yes
>updating cache ./config.cache
>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... ~/Desktop/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... /usr/bin/install -c
>checking how to run the C preprocessor... cc -E -traditional-cpp
>checking for ANSI C header files... yes
>checking for fcntl.h... yes
>checking for unistd.h... yes
>checking whether byte ordering is bigendian... yes
>checking for working const... yes
>checking for off_t... yes
>checking for size_t... yes
>checking for 8-bit clean memcmp... yes
>checking for unistd.h... (cached) yes
>checking for getpagesize... yes
>checking for working mmap... yes
>checking for memmove... yes
>checking for bcopy... yes
>updating cache ./config.cache
>creating ./config.status
>creating Makefile
>creating lib/Makefile
>creating lib/expat.h
>creating xmlwf/Makefile
>creating examples/Makefile
>creating config.h
>
>[holtan:~/Desktop/expat-1.95.2] hans% 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=compile cc -DHAVE_CONFIG_H 
>-DPACKAGE='"expat"' -DVERSION='"expat_1.95.2"' -I. -I. -I..  -g -O2 
>-Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -c 
>xmltok.c
>cc -DHAVE_CONFIG_H -DPACKAGE=\"expat\" -DVERSION=\"expat_1.95.2\" 
>-I. -I. -I.. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes 
>-fexceptions -c xmltok.c -o xmltok.o
>echo timestamp > xmltok.lo
>/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 
>xmlrole.c
>cc -DHAVE_CONFIG_H -DPACKAGE=\"expat\" -DVERSION=\"expat_1.95.2\" 
>-I. -I. -I.. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes 
>-fexceptions -c xmlrole.c -o xmlrole.o
>xmlrole.c:7: warning: `RCSId' defined but not used
>echo timestamp > xmlrole.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
>mkdir .libs
>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)
>~/Desktop/expat-1.95.2/lib/.libs
>cd xmlwf && make
>cc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes 
>-fexceptions -I../lib   -c -o xmlwf.o xmlwf.c
>cc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes 
>-fexceptions -I../lib   -c -o xmlfile.o xmlfile.c
>xmlfile.c: In function `processStream':
>xmlfile.c:149: warning: implicit declaration of function `close'
>xmlfile.c:153: warning: implicit declaration of function `read'
>cc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes 
>-fexceptions -I../lib   -c -o codepage.o codepage.c
>cc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes 
>-fexceptions -I../lib   -c -o unixfilemap.o unixfilemap.c
>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
>
>--
>
>
>
>________________________________________________
>
>Hans E. E. Holtan
>Graduate Student
>UC Berkeley-Department of Plant and Microbial Biology
>Plant Gene Expression Center
>800 Buchanan Street
>Albany, California 94710
>U. S. A.
>Phone: (510) 559-5922
>FAX: (510) 559-6089
>[EMAIL PROTECTED]
>_________________________________________________


-- 



________________________________________________

Hans E. E. Holtan
Graduate Student
UC Berkeley-Department of Plant and Microbial Biology
Plant Gene Expression Center
800 Buchanan Street
Albany, California 94710
U. S. A.
Phone: (510) 559-5922
FAX: (510) 559-6089
[EMAIL PROTECTED]
_________________________________________________

Reply via email to