Carl, I think you must have compiled with "-o" where you wanted "-c", for object files...to compile only...and not link. Perhaps reviewing the meaning of "-o" would make things clear. HTH Shane > I'm trying to build an executable from some code I wrote that uses a > large high energy physics toolkit called GEANT4. The toolkit is complex > and really requires one to use their makefiles. When I do a make, > everything compiles (FINALLY) but when it tries to link I get the 'well > known': > /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../crt1.o: In > function `_start': > /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../crt1.o(.text+0x18): > undefined reference to `main' > > WHY IN GODS NAME DOES IT DO THAT? > > (Yes, I have a main()). > > Is there ANYTHING I could post that would allow someone here to help me? > > Carl Lundstedt > UNL > > > ---- > Husker Linux Users Group mailing list > To unsubscribe, send a message to huskerlug-request@xxxxxxxxxxxxx > with a subject of UNSUBSCRIBE ---- Husker Linux Users Group mailing list To unsubscribe, send a message to huskerlug-request@xxxxxxxxxxxxx with a subject of UNSUBSCRIBE