Re: XForms: Problem from a newbie

Steve Lamont (spl@szechuan.ucsd.edu)
Wed, 19 Aug 98 20:37:09 PDT

# To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> This may be easy, bu I am unsure where to look. What does this mean.
> Waht is wrong
>
> gcc -I/usr/src/xforms/FORMS -O -o DataX DataX.c -L/usr/src/xforms/FORMS
> -L/usr/X11R6/lib -lforms -lX11 -lm
>
> /usr/lib/crt1.o: In function `_start':
> /usr/lib/crt1.o(.text+0x5a): undefined reference to `main'
> collect2: ld returned 1 exit status

You should look in your source code. :-)

Seriously, it means you don't have a main() function in DataX.c.

spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/