Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Mar 1999 22:44:29 -0500 (EST)
From:      Spidey <spidey@libdns.qc.ca>
To:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Compilation problems...
Message-ID:  <Pine.BSF.3.96.990331224016.11870E-100000@freed.libdns.qc.ca>

next in thread | raw e-mail | index | archive | help
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




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