Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Apr 1999 11:54:41 -0500 (EST)
From:      Spidey <spidey@libdns.qc.ca>
To:        Ben Smithurst <ben@scientia.demon.co.uk>
Cc:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Compilation problems...
Message-ID:  <Pine.BSF.3.96.990401115430.20082C-100000@freed.libdns.qc.ca>
In-Reply-To: <19990401114850.A39312@scientia.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
That was it! Thanks a lot!!!

On Thu, 1 Apr 1999, Ben Smithurst wrote:

> Spidey wrote:
> 
> > gcc  -o ascp -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk -lgdk -lglib -lXext
> > -lX11 -lm 
> 
> This command doesn't include any .c files.
> 
> > /usr/lib/crt1.o: In function `_start':
> > /usr/lib/crt1.o(.text+0x69): undefined reference to `main'
> 
> Which is the usual cause of this error. crt1 is what starts programs, by
> calling main(), but there are no files specified to define main().
> 
> This problem sometimes happens on software which doesn't work, sometimes
> using gmake makes it work. If you're making a port, set USE_GMAKE=yes in
> these cases. There may be a better, "approved" way though.
> 
> -- 
> Ben Smithurst
> ben@scientia.demon.co.uk
> 
> send a blank message to ben+pgp@scientia.demon.co.uk for PGP key
> 

When a man lies he murders some part of the world
These are the pale deaths which men miscall their lives
All this I can't witness any longer
Cannot the kingdom of salvation take me home



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990401115430.20082C-100000>