[huskerlug] Makefile question

  • From: Carl Lundstedt <clundst@xxxxxxxxxxxxxxxx>
  • To: huskerlug@xxxxxxxxxxxxx
  • Date: 06 Aug 2002 19:13:37 -0400



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


Other related posts: