compiling...
Harbour 3.2.0dev (r1601282333)
Copyright (c) 1999-2016, http://harbour-project.org/
Compiling 'dbf01.prg'...
Lines 1219, Functions/Procedures 1
Generating C source output to 'dbf01.c'... Done.
compiling C module...
linking...
./../lib/libfive.a(database.o):(.data+0xfe8): undefined reference to `HB_FUN_HSETCASEMATCH'
./../lib/libfive.a(database.o):(.data+0x1008): undefined reference to `HB_FUN_HSET'
./../lib/libfive.a(database.o):(.data+0x1028): undefined reference to `HB_FUN_HEVAL'
./../lib/libfive.a(valtostr.o):(.data+0x1d8): undefined reference to `HB_FUN_HOUR'
./../lib/libfive.a(valtostr.o):(.data+0x1e8): undefined reference to `HB_FUN_MINUTE'
./../lib/libfive.a(valtostr.o):(.data+0x368): undefined reference to `HB_FUN_TTOS'
./../lib/libfive.a(valtostr.o):(.data+0x388): undefined reference to `HB_FUN_STOT'
collect2: error: ld returned 1 exit status
done!
./build1.sh: line 23: ./dbf01: No such file or directory
root@raspberrypi:~/fivelinux/samples#
# ./build.sh
clear
if [ $# = 0 ]; then
echo syntax: ./build.sh file [options...]
exit
fi
echo compiling...
./../../harbour/bin/linux/gcc/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/linux/gcc -Wl,--start-group -lfive -lfivec -lxhb -lhbcommon -lhbvm -lhbrtl -lhbrdd -lhbmacro -lhblang -lhbcpage -lhbpp -lhbcplr -lrddntx -lrddcdx -lrddfpt -lhbsix -lhbusrrdd -lhbct -lgttrm -lhbdebug -lm -lgpm -lncurses `pkg-config --libs gtk+-2.0` `pkg-config --libs libglade-2.0` -Wl,--end-group
rm $1.c
rm $1.o
echo done!
./$1
compiling...
Harbour 3.2.0dev (r1601282333)
Copyright (c) 1999-2016, http://harbour-project.org/
Compiling 'fiveform.prg'...
Lines 1773, Functions/Procedures 26
Generating C source output to 'fiveform.c'... Done.
compiling C module...
linking...
/usr/bin/ld: ./../../harbour/lib/linux/gcc/libhbrtl.a(hbregex.o): undefined reference to symbol 'pcre_free'
//lib/arm-linux-gnueabihf/libpcre.so.3: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
done!
./build.sh: line 23: ./fiveform: No such file or directory
root@RASPI-2:/home/martin/fivelinux/samples#
Dozip.prg 'Undefined Reference to Symbol InflateInit2_"
Install.prg 'Undefined Reference to Symbol HB_FUN_STRTOKEN"
TestClip.prg 'Undefined Reference to Symbol HB_FUN_TCLIPBOARD"
TestGroup.prg "Message not found TGROUP:SHADOW"
By studing the examples I think we can use Fivelinux to develop database applications, as we do with Fivewin, in the Raspberry Pi -2
Return to FiveLinux / FiveDroid (Android)
Users browsing this forum: No registered users and 3 guests