I try to make some tests with xHarbour on Linux.
I made a lib file and I try to make an executable linking with my lib file.
My project file looks like this:
CINI =
C_OUTPUTFOLDER =
DEFFILE =
INCLUDEFOLDERS =
LAUTORUN =
LDEBUG = .F.
LGUI = .F.
LIBFOLDERS =
LMT = .F.
LPRG_CLASSICDEBUG = .F.
LPRG_DEBUG = .F.
LUSEDLL = .F.
MAPFILE =
MYC_FLAGS =
MYDEFINES =
MYLINK_FLAGS =
MYPRG_FLAGS =
MYRC_FLAGS =
MYSLY_FLAGS =
OUTPUTFOLDER =
PRG_OUTPUTFOLDER =
RC_OUTPUTFOLDER =
RUNARGUMENTS =
SLY_OUTPUTFOLDER =
TARGETFOLDER =
[2LAN.prg]
MYC_FLAGS =
MYDEFINES =
MYPRG_FLAGS =
[hlib.lib]
but it does not work, generates this log file:
Type: C >>>xblnk -L/usr/lib/xbuilder -Wl,--noinhibit-exec -static -gtcrs -L "/usr/lib/xbuilder" -L "/usr/lib" "2LAN.o" -lh. -lpthread -lgpm -lncurses -lm -lslang -o"2LAN"<<<
/usr/bin/ld: cannot find -lh.
collect2: ld returned 1 exit status
Type: C >>>Couldn't build: 2LAN<<<
Have anybody idea what is wrong with my project ?
I made a lib file and I try to make an executable linking with my lib file.
My project file looks like this:
CINI =
C_OUTPUTFOLDER =
DEFFILE =
INCLUDEFOLDERS =
LAUTORUN =
LDEBUG = .F.
LGUI = .F.
LIBFOLDERS =
LMT = .F.
LPRG_CLASSICDEBUG = .F.
LPRG_DEBUG = .F.
LUSEDLL = .F.
MAPFILE =
MYC_FLAGS =
MYDEFINES =
MYLINK_FLAGS =
MYPRG_FLAGS =
MYRC_FLAGS =
MYSLY_FLAGS =
OUTPUTFOLDER =
PRG_OUTPUTFOLDER =
RC_OUTPUTFOLDER =
RUNARGUMENTS =
SLY_OUTPUTFOLDER =
TARGETFOLDER =
[2LAN.prg]
MYC_FLAGS =
MYDEFINES =
MYPRG_FLAGS =
[hlib.lib]
but it does not work, generates this log file:
Type: C >>>xblnk -L/usr/lib/xbuilder -Wl,--noinhibit-exec -static -gtcrs -L "/usr/lib/xbuilder" -L "/usr/lib" "2LAN.o" -lh. -lpthread -lgpm -lncurses -lm -lslang -o"2LAN"<<<
/usr/bin/ld: cannot find -lh.
collect2: ld returned 1 exit status
Type: C >>>Couldn't build: 2LAN<<<
Have anybody idea what is wrong with my project ?