# ./build.sh
clear
if [ $# = 0 ]; then
echo syntax: ./build.sh file [options...]
exit
fi
echo compiling...
./../../harbour/bin/harbour $1 -n -I./../include -I./../../harbour/include $2
echo compiling C module...
gcc $1.c -c -I./../include -I./../../harbour/include `pkg-config --cflags gtk+-2.0`
echo linking...
gcc $1.o -o$1 -L./../lib -L./../../harbour/lib `pkg-config --libs gtk+-2.0` `pkg-config --libs libglade-2.0` `pkg-config --libs libgnomeprintui-2.2` -Wl,--start-group -lfive -lfivec -lcommon -lvm -lrtl -lrdd -lmacro -llang -lcodepage -lpp -ldbfntx -ldbfcdx -ldbffpt -lhbsix -lusrrdd -lct -lgtstd -ldebug -lm -lgpm -lncurses -Wl,--end-group
rm $1.c
rm $1.o
echo done!
./$1
# ./build.sh
clear
if [ $# = 0 ]; then
echo syntax: ./build.sh file [options...]
exit
fi
echo compiling...
./../../harbour/bin/harbour $1 -n -I./../include -I./../../harbour/include $2
echo compiling C module...
gcc $1.c -c -I./../include -I./../../harbour/include `pkg-config --cflags gtk+-2.0`
echo linking...
gcc $1.o -o$1 -L./../lib -L./../../harbour/lib `pkg-config --libs gtk+-2.0` `pkg-config --libs libglade-2.0` `pkg-config --libs libgnomeprintui-2.2` -Wl,--start-group -lfive -lfivec -lhbcommon -lhbvm -lhbrtl -lhbrdd -lhbmacro -lhblang -lhbcpage -lhbpp -lrddntx -lrddcdx -lrddfpt -lhbsix -lhbusrrdd -lhbct -lgtstd -lhbdebug -lm -lgpm -lncurses -Wl,--end-group
rm $1.c
rm $1.o
echo done!
./$1
Executando ferramenta: FiveLinux
TERM environment variable not set.
compiling...
Harbour 2.0.0 (Rev. 13372)
Copyright (c) 1999-2010, http://www.harbour-project.org/
Compiling 'testbrow.prg'...
100
100
200
300
400
500
600
100
200
300
Lines 1110, Functions/Procedures 1
Generating C source output to 'testbrow.c'... Done.
compiling C module...
linking...
./../lib/libfive.a(button.o): In function `hb_vm_SymbolInit_BUTTON':
button.c:(.text+0x2e): undefined reference to `hb_vmProcessSymbolsEx'
./../lib/libfive.a(control.o): In function `hb_vm_SymbolInit_CONTROL':
control.c:(.text+0x2e): undefined reference to `hb_vmProcessSymbolsEx'
./../lib/libfive.a(errsys.o): In function `hb_vm_SymbolInit_ERRSYS':
errsys.c:(.text+0x2e): undefined reference to `hb_vmProcessSymbolsEx'
./../lib/libfive.a(harbour.o): In function `hb_vm_SymbolInit_HARBOUR':
harbour.c:(.text+0x2e): undefined reference to `hb_vmProcessSymbolsEx'
./../lib/libfive.a(harbour.o):(.data+0x18): undefined reference to `HB_FUN_HB_DBG_VMSTKLCOUNT'
done!
./../lib/libfive.a(harbour.o):(.data+0x48): undefined reference to `HB_FUN_HB_DBG_VMPARLLIST'
./../lib/libfive.a(harbour.o):(.data+0xd8): undefined reference to `HB_FUN_HB_DBG_VMVARLGET'
./../lib/libfive.a(harbour.o):(.data+0xf8): undefined reference to `HB_FUN_HB_DBG_VMVARSLEN'
./../lib/libfive.a(listbox.o): In function `hb_vm_SymbolInit_LISTBOX':
listbox.c:(.text+0x2e): undefined reference to `hb_vmProcessSymbolsEx'
./../lib/libfive.a(say.o): In function `hb_vm_SymbolInit_SAY':
say.c:(.text+0x2e): undefined reference to `hb_vmProcessSymbolsEx'
./../lib/libfive.a(valblank.o): In function `hb_vm_SymbolInit_VALBLANK':
valblank.c:(.text+0x2e): undefined reference to `hb_vmProcessSymbolsEx'
./../lib/libfive.a(wbrowse.o): In function `hb_vm_SymbolInit_WBROWSE':
wbrowse.c:(.text+0x2e): undefined reference to `hb_vmProcessSymbolsEx'
./../lib/libfive.a(wbcolumn.o): In function `hb_vm_SymbolInit_WBCOLUMN':
wbcolumn.c:(.text+0x2e): undefined reference to `hb_vmProcessSymbolsEx'
./../lib/libfive.a(window.o):window.c:(.text+0x2e): more undefined references to `hb_vmProcessSymbolsEx' follow
./../../harbour/lib/libhbrtl.a(gtsys.o): In function `hb_gt_ForceLink_HB_GT_TRM':
gtsys.c:(.text+0x15): undefined reference to `HB_FUN_HB_GT_TRM'
collect2: ld returned 1 exit status
./build.sh: line 23: ./testbrow: Arquivo ou diretório não encontrado
Saiu: 32512
Executando ferramenta: FiveLinux
compiling...
TERM environment variable not set.
Harbour 1.0.2dev Intl. (Rev. 9676)
Copyright (c) 1999-2008, http://www.harbour-project.org/
Compiling 'fivelinux.prg'...
100
100
200
300
400
500
100
200
300
Lines 1165, Functions/Procedures 3
Generating C source output to 'fivelinux.c'... Done.
compiling C module...
linking...
./../../harbour/lib/libhbrtl.a(gtsys.o): In function `hb_gt_ForceLink_HB_GT_TRM':
gtsys.c:(.text+0x7): undefined reference to `HB_FUN_HB_GT_TRM'
collect2: ld returned 1 exit status
done!
./build.sh: line 23: ./fivelinux: Arquivo ou diretório não encontrado
Saiu: 32512
Return to FiveLinux / FiveDroid (Android)
Users browsing this forum: No registered users and 7 guests