From owner-freebsd-questions Wed Mar 31 19:45: 9 1999 Delivered-To: freebsd-questions@freebsd.org Received: from freed.libdns.qc.ca (derby.JSP.UMontreal.CA [132.204.45.26]) by hub.freebsd.org (Postfix) with ESMTP id D764F14BD8 for ; Wed, 31 Mar 1999 19:44:59 -0800 (PST) (envelope-from spidey@libdns.qc.ca) Received: from localhost (spidey@localhost) by freed.libdns.qc.ca (8.9.2/8.9.2) with SMTP id WAA18692 for ; Wed, 31 Mar 1999 22:44:29 -0500 (EST) (envelope-from spidey@libdns.qc.ca) X-Authentication-Warning: freed.libdns.qc.ca: spidey owned process doing -bs Date: Wed, 31 Mar 1999 22:44:29 -0500 (EST) From: Spidey Reply-To: Spidey To: freebsd-questions Subject: Compilation problems... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hi! I'm trying to port the ascp (AfterStep Control Panel) program to FreeBSD, and I have an error message that I don't understand the meaning. The make builds all the seperate necessary files, but when it comes to compiling them together: # make [...] gcc -O2 -Wall -I/usr/X11R6/lib/glib/include -I/usr/X11R6/include/gtk10 -I/usr/X11R6/include -c xpm.c gcc -o ascp -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk -lgdk -lglib -lXext -lX11 -lm /usr/lib/crt1.o: In function `_start': /usr/lib/crt1.o(.text+0x69): undefined reference to `main' *** Error code 1 Stop. *** Error code 1 Stop. # How come? What does this message mean? I had such a problem recently, in trying to port another program (WMiNet)... If someone could give me a hint on where to find answers, it would be greatly appreciated. Does this belong to -ports? 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