xharbour-0.99.0.rpm + gcc compile & link error.
Posted: Wed Jan 11, 2012 6:22 am
Hi all.
i have linux kernel redhat 9.
xharbour-0.99.fc1.0.rpm install.
redhat 9 + gcc + xharbour-0.99.fc1.0
test.prg
////////////////////////////////////////////
func main()
? "test say....."
return
////////////////////////////////////////////
compile..
#harbour test.prg
~Done.
#gcc test.o -otyest.c -I /usr/include/xharbour
...
error..........
.....
undefined reference to 'hb_vm_Symbolinit_TEST':
undefined reference to 'hb_vmProcessSymbolls'
undefined reference to 'hb_vmExecute'
....
....
collect2 : ld returned 1 exit status
How to compile option GCC.?
i have linux kernel redhat 9.
xharbour-0.99.fc1.0.rpm install.
redhat 9 + gcc + xharbour-0.99.fc1.0
test.prg
////////////////////////////////////////////
func main()
? "test say....."
return
////////////////////////////////////////////
compile..
#harbour test.prg
~Done.
#gcc test.o -otyest.c -I /usr/include/xharbour
...
error..........
.....
undefined reference to 'hb_vm_Symbolinit_TEST':
undefined reference to 'hb_vmProcessSymbolls'
undefined reference to 'hb_vmExecute'
....
....
collect2 : ld returned 1 exit status
How to compile option GCC.?