Howard Arons wrote:
Yes, it's xfstt again. I untarred the latest (V 1.0) source, and the g++ compile seems to go OK until link time, when it bombs out thus:
-------- g++ compile message --------------------------------------- c++ -o xfstt RAFile.o TTFont.o NameTable.o HeadTable.o MaxpTable.o CmapTable.o LocaTable.o GlyfTable.o LtshTable.o HdmxTable.o VdmxTable.o FpgmTable.o PrepTable.o GaspTable.o HheaTable.o HmtxTable.o CvtTable.o Os2Table.o KernTable.o EbdtTable.o EblcTable.o RasterHints.o RasterScale.o RasterDraw.o xfstt.o encoding.o -g -L/usr/X11R6/lib -lm /usr/i486-linux/bin/ld: cannot open crtbegin.o: No such file or directory make: *** [xfstt] Error 1 -------- g++ compile message ---------------------------------------
I found the missing crtbegin.o in /usr/lib/gcc-lib/i486-linux/2.7.2.3, and copied it to the xfstt source. Sigh, now 'make' gives another error:
-------- g++ compile message --------------------------------------- /usr/i486-linux/bin/ld: cannot open -lgcc: No such file or directory make: *** [xfstt] Error 1 -------- g++ compile message ---------------------------------------
That /usr/i486-linux/bin directory contains what seems to be circular links, linking filenames like ld to themselves. Is that possible?
It looks like the SuSE install doesn't put libs, etc where g++ or xfstt expects to find them.
What's going on? I compiled xfstt-0.9.9 under my old SuSE 5.2 without a problem.
You've been stung by the gcc/egcs problem. Two compilers with a mysterious, incestuous relationship to each other. I encountered exactly the same problems, though I can't remember whether it was with xfstt or some other package. What I *think* was the solution was to install egcs, which comes with the SuSE distribution. Alas, I don't remember for sure, and it might need some other library installed also, like libgcc or whatever. All this stuff is totally undocumented, of course. Or maybe I said something like --with-gcc=no for the configuration. I wish I could remember better what the fix was, but maybe someone else can help there if a simple installation of egcs doesn't do the trick. Paul Abrahams -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/