Re: XForms: GLCANVAS

From: spl@ncmir.ucsd.edu
Date: Fri Mar 15 2002 - 10:05:43 EST


# To subscribers of the xforms list from spl@ncmir.ucsd.edu :

> I am using Mesa-4.0.1 and I know I need to recompile glcanvas again I've
> done it but I got this message:
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/crt1.o: In function
> `_start':
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/crt1.o(.text+0x5c):
> undefined reference to `main'
> My OS is SunOS 5.6

How did you compile it? Sounds like you did something like

        gcc glcanvas.c

That's going to try to create an executable, which is not what you
want.

You need to do include the `-c' flag:

        gcc -c glcanvas.c ...

                                                        spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/



This archive was generated by hypermail 2b29 : Wed May 01 2002 - 13:54:17 EDT