[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#276949: g++-3.3 failes to compile: crt*.o not found



Christian Grothoff <christian@grothoff.org> writes:

> Package: gcc-3.3
> Version: 3.3.5-1
>
> Compiling libextractor (CVS) with g++ 3.3 I get the following error:
> /bin/sh ../../../libtool --mode=link g++-3.3 -o libextractor_pdf.la 
> -rpath /home/grothoff//lib/libextractor -export-dynamic -avoid-version 
> -module -no-undefined -lstdc++  Array.lo Catalog.lo Decrypt.lo Dict.lo 
> Error.lo FontEncoding.lo FontFile.lo Function.lo GString.lo Lexer.lo Link.lo 
> Object.lo PDFDoc.lo Page.lo Params.lo Parser.lo Stream.lo XRef.lo gfile.lo 
> gmem.lo gmempp.lo parseargs.lo 
> pdfextractor.lo ../../../src/main/libextractor.la -lm
> g++-3.3 -shared 
> -nostdlib /usr/lib/gcc-lib/i486-linux/3.3.4/../../../crti.o /usr/lib/gcc-lib/i486-linux/3.3.4/crtbeginS.o  .libs/Array.o .libs/Catalog.o .libs/Decrypt.o .libs/Dict.o .libs/Error.o .libs/FontEncoding.o .libs/FontFile.o .libs/Function.o .libs/GString.o .libs/Lexer.o .libs/Link.o .libs/Object.o .libs/PDFDoc.o .libs/Page.o .libs/Params.o .libs/Parser.o .libs/Stream.o .libs/XRef.o .libs/gfile.o .libs/gmem.o .libs/gmempp.o .libs/parseargs.o .libs/pdfextractor.o  
> -Wl,--rpath -Wl,/home/grothoff/Extractor/src/main/.libs -Wl,--rpath 
> -Wl,/home/grothoff//lib ../../../src/main/.libs/libextractor.so 
> -L/usr/lib/gcc-lib/i486-linux/3.3.4 
> -L/usr/lib/gcc-lib/i486-linux/3.3.4/../../.. -lstdc++ -lm -lc 
> -lgcc_s /usr/lib/gcc-lib/i486-linux/3.3.4/crtendS.o /usr/lib/gcc-lib/i486-linux/3.3.4/../../../crtn.o  
> -Wl,-soname -Wl,libextractor_pdf.so -o .libs/libextractor_pdf.so
> g++-3.3: /usr/lib/gcc-lib/i486-linux/3.3.4/../../../crti.o: No such file or 
> directory
> g++-3.3: /usr/lib/gcc-lib/i486-linux/3.3.4/crtbeginS.o: No such file or 
> directory
> g++-3.3: /usr/lib/gcc-lib/i486-linux/3.3.4/crtendS.o: No such file or 
> directory
> g++-3.3: /usr/lib/gcc-lib/i486-linux/3.3.4/../../../crtn.o: No such file or 
> directory
> make[1]: *** [libextractor_pdf.la] Error 1

you need to remake the libtool dependencies (the quick and dirty way
is to make distclean and recompile everything). the gcc files have
moved to /usr/lib/gcc-lib/i486-linux/3.3.5 since this is the version
you are using. this is not a gcc bug.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |



Reply to: