- Harbour
+ Responder ao Tópico
-
Harbour
Instalei o xHabour, consegui gerar meus fontes em .PRG em .C, mas quando tento compilar c/ o gcc dá erro:
[root@japa /root]# gcc teste.c
/usr/lib/crt1.o: In function `_start´:
/usr/lib/crt1.o(.text+0x1<IMG SRC="images/forum/icons/icon_cool.gif">: undefined reference to `main´
/root/tmp/ccxEpLJh.o: In function `hb_vm_SymbolInit_TESTE´:
/root/tmp/ccxEpLJh.o(.text+0x15): undefined reference to `hb_vmProcessSymbols´
/root/tmp/ccxEpLJh.o: In function `HB_FUN_TESTE´:
/root/tmp/ccxEpLJh.o(.text+0x36): undefined reference to `hb_vmExecute´
/root/tmp/ccxEpLJh.o(.data+0x1<IMG SRC="images/forum/icons/icon_cool.gif">: undefined reference to `HB_FUN_SCROLL´
/root/tmp/ccxEpLJh.o(.data+0x2<IMG SRC="images/forum/icons/icon_cool.gif">: undefined reference to `HB_FUN_SETPOS´
/root/tmp/ccxEpLJh.o(.data+0x3<IMG SRC="images/forum/icons/icon_cool.gif">: undefined reference to `HB_FUN_READKILL´
/root/tmp/ccxEpLJh.o(.data+0x5<IMG SRC="images/forum/icons/icon_cool.gif">: undefined reference to `HB_FUN_ALERT´
collect2: ld returned 1 exit status
já tentei compilar de várias formas:
gcc -o teste teste.c -l/usr/include/xharbour e continua dando esse erro...