Re: compiling terragear: problem with gpc
Erik Hofman <[email protected]> Wed, 13 Oct 2004 16:15:10 +0200
| Newsgroups | gmane.games.flightgear.terragear.devel |
|---|---|
| Message-ID | <[email protected]> |
acrux wrote: > hi, > tryng to compile terragear-0.9.5 i've found that it needs gpc by > AlanMurta. > > The problem is that i'm unable to compile gpc-2.31 > > root@vesuvio:~/ports/gpc/gpc231# gcc gpc.c -o gpc > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../crt1.o(.text+0x18): In > function `_start':: undefined reference to `main' > collect2: ld returned 1 exit status try this: gcc -O2 -c gpc.c ar cru libgpc.a gpc.o Erik _______________________________________________ Terragear-devel mailing list [email protected] http://mail.flightgear.org/mailman/listinfo/terragear-devel 2f585eeea02e2c79d7b1d8c4963bae2d