From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Tue, 14 May 2002 04:25:52 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 214 ************************************************** Monday 13 May 2002 Number 214 ************************************************** Subjects for today 1 compiling tth : Pete Milne 2 Re: compiling tth : John Poltorak **= Email 1 ==========================** Date: Tue, 14 May 2002 11:15:54 +0100 From: Pete Milne Subject: compiling tth I'm trying to compile tth (TeX to HTML converter), which should be a simple job as it's just a single source file, but compilation fails with zillions of loader errors of which a sample follows: th.o: Undefined symbol _sprintf referenced from text segment tth.o: Undefined symbol _strcspn referenced from text segme tth.o: Undefined symbol __streamv referenced from text segment tth.o: Undefined symbol _fprintf referenced from text segment tth.o: Undefined symbol _exit referenced from text segment tth.o: Undefined symbol _strcat referenced from text segment tth.o: Undefined symbol _strlen referenced from text segment th.o: Undefined symbol _strcpy referenced from text segmen th.o: Undefined symbol _strspn referenced from text segment The program compiles and runs ok on both Digital Unix and Solaris. Is something wrong with my gcc installation? TIA, Pete PS the source is from http://www.ibiblio.org/pub/packages/TeX/nonfree/support/tth/dist/tth_C.tgz **= Email 2 ==========================** Date: Tue, 14 May 2002 12:04:25 +0100 From: John Poltorak Subject: Re: compiling tth On Tue, May 14, 2002 at 11:15:54AM +0100, Pete Milne wrote: > I'm trying to compile tth (TeX to HTML converter), which should be a > simple job as it's just a single source file, but compilation fails with > zillions of loader errors of which a sample follows: > > th.o: Undefined symbol _sprintf referenced from text segment > tth.o: Undefined symbol _strcspn referenced from text segme > tth.o: Undefined symbol __streamv referenced from text segment > tth.o: Undefined symbol _fprintf referenced from text segment > tth.o: Undefined symbol _exit referenced from text segment > tth.o: Undefined symbol _strcat referenced from text segment > tth.o: Undefined symbol _strlen referenced from text segment > th.o: Undefined symbol _strcpy referenced from text segmen > th.o: Undefined symbol _strspn referenced from text segment > > The program compiles and runs ok on both Digital Unix and Solaris. > Is something wrong with my gcc installation? No problems here, whatsoever in compiling it, I just ran:- gcc -o tth.exe tth.c after extracting it from the archive. Do you have your environment - LIBRARY_PATH, INCLUDE_PATH etc setup correctly? > TIA, > Pete > > PS the source is from > http://www.ibiblio.org/pub/packages/TeX/nonfree/support/tth/dist/tth_C.tgz > -- John