[huskerlug] Re: Makefile question

  • From: GORDON A GALLUP <ggallup@xxxxxxxxxxxxxxxx>
  • To: huskerlug@xxxxxxxxxxxxx
  • Date: Wed, 7 Aug 2002 09:28:07 -0500 (CDT)

On 7 Aug 2002, Carl Lundstedt wrote:

> 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

Can you run 'gcc -c whatever.c', where 'whatever.c' contains the program
module named 'main', and see 'whatever.o'?  Perhaps you can get it in
there by hand, somehow.

BTW, after you do the make run that fails, is 'whatever.o' present?  It
should be. If not, look at the Makefile and see if its dependencies are
right.

Good luck.
-- 
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


Other related posts: