I am testing current Harbour under Mandriva 2008
gcc (GCC) 4.2.2 20071128 (prerelease) (4.2.2-3.1mdv2008.0)
Building a system result in errors included below
Something is missing, but what ?
Link:
export HB_GT_LIB=gttrm
export HB_SCREEN_LIB=
gcc -o thsuphost.exe sgggen0.o ctprgext.o \
sgg00.o sggnet.o ctsistem.o ctclpnet.o cntlib.o david0.o cntads.o
hsamples.o hbfalta.o \
suphost.o libhost.o conm1.o libreria.o hbfsuphost.o \
-I${HB_INC} -L${HB_LIB} \
-l${HB_GT_LIB} ${HB_SCREEN_LIB} \
-lhbvm -lhbpp -lhbrtl -lhbrdd -lrddfpt -lrddcdx -lrddntx -lhbhsx
-lhbsix -lhbusrrdd \
-lhbmacro -lhbcommon -lhblang -lhbcpage \
-lhbdebug -lhbcplr -lhbpcre -lhbct -lhbnf \
-lhbtip -lxhb -lhbclipsm
David Macias
/harbour803/harbour/lib//libhbvm.a(hvm.o): In function `hb_vmModulus':
hvm.c:(.text+0x58c8): undefined reference to `fmod'
/harbour803/harbour/lib//libhbvm.a(hvm.o): In function `hb_vmPower':
hvm.c:(.text+0x59b1): undefined reference to `pow'
/harbour803/harbour/lib//libhbrtl.a(errorapi.o): In function `hb_errLaunch':
errorapi.c:(.text+0xdf4): undefined reference to `hb_itemDo'
/harbour803/harbour/lib//libhbrtl.a(errorapi.o): In function
`hb_errLaunchSubst':
errorapi.c:(.text+0x1037): undefined reference to `hb_itemDo'
/harbour803/harbour/lib//libhbrtl.a(idle.o): In function `hb_idleState':
idle.c:(.text+0x9b): undefined reference to `hb_itemDo'
/harbour803/harbour/lib//libhbrtl.a(math.o): In function `hb_matherrblock':
math.c:(.text+0x54c): undefined reference to `hb_itemDo'
/harbour803/harbour/lib//libhbrtl.a(math.o): In function `HB_FUN_EXP':
math.c:(.text+0x7d7): undefined reference to `exp'
/harbour803/harbour/lib//libhbrtl.a(math.o): In function `HB_FUN_LOG':
math.c:(.text+0x90e): undefined reference to `log'
/harbour803/harbour/lib//libhbrtl.a(math.o): In function `HB_FUN_SQRT':
math.c:(.text+0xa48): undefined reference to `sqrt'
/harbour803/harbour/lib//libhbrtl.a(tgetint.o):(.data+0xc8): undefined
reference to `HB_FUN_HB_PVALUE'
/harbour803/harbour/lib//libhbrdd.a(dbstrux.o):(.data+0x128): undefined
reference to `HB_FUN_HB_FNAMESPLIT'
/harbour803/harbour/lib//libhbrdd.a(dbf1.o): In function
`hb_dbfLockIdxFile':
dbf1.c:(.text+0x200e): undefined reference to `hb_random_num'
/harbour803/harbour/lib//libhbrdd.a(hbdbsort.o): In function
`hb_dbQSortInit':
hbdbsort.c:(.text+0x2f): undefined reference to `hb_fsCreateTemp'
/harbour803/harbour/lib//librddfpt.a(dbffpt1.o): In function `hb_fptDoPack':
dbffpt1.c:(.text+0x9a0d): undefined reference to `hb_fsCreateTemp'
/harbour803/harbour/lib//librddfpt.a(dbffpt1.o): In function `hb_fptPack':
dbffpt1.c:(.text+0xa00b): undefined reference to `hb_fsCreateTemp'
/harbour803/harbour/lib//librddcdx.a(dbfcdx1.o): In function
`hb_cdxOrderCreate':
dbfcdx1.c:(.text+0xfc81): undefined reference to `hb_fsCreateTemp'
/harbour803/harbour/lib//librddcdx.a(dbfcdx1.o): In function
`hb_cdxSortWritePage':
dbfcdx1.c:(.text+0x12f56): undefined reference to `hb_fsCreateTemp'
/harbour803/harbour/lib//librddcdx.a(dbfcdx1.o): In function
`hb_cdxSortNew':
dbfcdx1.c:(.text+0x138af): undefined reference to `sqrt'
dbfcdx1.c:(.text+0x138bd): undefined reference to `ceil'
/harbour803/harbour/lib//librddntx.a(dbfntx1.o): In function
`hb_ntxSortWritePage':
dbfntx1.c:(.text+0xa5a4): undefined reference to `hb_fsCreateTemp'
/harbour803/harbour/lib//librddntx.a(dbfntx1.o): In function
`hb_ntxSortNew':
dbfntx1.c:(.text+0xaff2): undefined reference to `sqrt'
dbfntx1.c:(.text+0xb000): undefined reference to `ceil'
dbfntx1.c:(.text+0xb048): undefined reference to `sqrt'
dbfntx1.c:(.text+0xb050): undefined reference to `ceil'
/harbour803/harbour/lib//librddntx.a(dbfntx1.o): In function
`ntxOrderCreate':
dbfntx1.c:(.text+0xdeb1): undefined reference to `hb_fsCreateTemp'
/harbour803/harbour/lib//libhbcommon.a(hbstr.o): In function `hb_numPow10':
hbstr.c:(.text+0x44f): undefined reference to `pow'
collect2: ld devolviĀ¾ el estado de salida 1
.
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour