mattson@beowulf.ucsd.edu (Jim Mattson) (02/21/89)
I just bought Turbo C 2.0 for my IBM PC-AT, and I'm having some difficulty compiling separate source files together. I have tried using a project file with the integrated system, and I have tried compiling both files to .obj files with tcc -c, and then linking them together. In either case, tlink complains that _woggy and _shork are multiply defined in a.c and b.c. I don't have woggy or shork in my program anywhere, and they don't appear in any of the include files either. I've been able to get around this problem by making one of the files into a library with tlib, but this seems awfully kludgy. Has anyone had a similar experience? Is there an easy fix? --jim