> > b. Mandrake 8.2. Installed ok and configured X-windows ok. Gcc is > seriously broken, in their distribution CDs, but I haven't looked on thier > web site to see if there are fixes. Perhaps this is your problem. > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ I don't think this is the problem since I can compile all the example programs that come with the toolkit. It seems that my Makefile isn't compiling the source that contains main(), and I can't find where to fix it. Carl > > > > 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 > > > > > > -- > Gordon A. Gallup Dept. of Physics and Astronomy > University of Nebraska-Lincoln Lincoln, NE 68588-0111 > Voice: (402)435-6967,(402)472-1230 FAX: (402)472-2879 > http://physics.unl.edu/~ggallup/gallup.html > http://www.unl.edu/Dissatt/ > > > ---- > 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