Xref: utzoo comp.sources.d:4038 comp.sys.ibm.pc:34574 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!bobmon From: bobmon@iuvax.cs.indiana.edu (RAMontante) Newsgroups: comp.sources.d,comp.sys.ibm.pc Subject: Re: Problems compiling Gnuplot w/ TC 2.0 Keywords: linking, error, Gnuplot, TC 2.0 Message-ID: <25879@iuvax.cs.indiana.edu> Date: 12 Sep 89 14:39:36 GMT References: <1077@lakesys.UUCP> Reply-To: bobmon@iuvax.cs.indiana.edu (RAMontante) Organization: malkaryotic Lines: 25 davek@lakesys.UUCP (Dave Kraft) <1077@lakesys.UUCP> : - -Hi there, -After unsharing the Gnuplot sources (and then archiving them with zoo and ************** the source of the problem, in a sense. -downloading them to my PC), I tried to compile it with TC 2.0 (renaming the -necessary makefile, of course). It compiled ok, but, when it tried to link it, -I got "Undefined symbol '_MAIN' in module C0L" and it stopped cold.. What's I've been bitten by this a few times, and it's rally frosting me. What's happening is that TC2.0 (unlike previous versions) no longer accepts lines that are delimited by ^J only --- it demands ^M^J. By archiving on a probably-UNIX machine, then unarchiving to MSDOS, your source files didn't get the end-of-lines converted. I don't know why TC compiles without errors, but if you look at the .OBJ files I believe yo'll see that they're way too small. Basically there isn't anything to link, including any _main(). Fix up the ^J's and you should be okay. TC2.0 also made one executable grow by 25% over TC1.5. I think Borland has convinced me not to "upgrade" to inferior successor packages.