FiveLinux on Raspberry PI - Dead or alive ?
FiveLinux on Raspberry PI - Dead or alive ?
Did anyone get Fivelinux to work on the Raspberry PI? I see Antonio's posting and screen shots but the main link to it is now dead. I managed to download Harbour (that link still works) But cant seem to get Fivelinux to compile. I just some an error from the linker complaining about some module being compiled using VFP registers? Something to do with floating point support. Does anyone have a copy of Fivelinux thats been tweeked for the PI? or was it just not so good? maybe to slow...
Anyone ?
Anyone ?
Re: FiveLinux on Raspberry PI - Dead or alive ?
With the new RASPI-2 it's alive!
A few days ago I received the Raspberry Pi 2 and today I was able to compile, by following Antonio instruction found in this forum, the Harbour and Fivelinux libraries.
I think, because RASPI-2 is much faster than RASPI-I we could use the RASPI-2 to develop good software using Fivelinux.
Regards,
George
A few days ago I received the Raspberry Pi 2 and today I was able to compile, by following Antonio instruction found in this forum, the Harbour and Fivelinux libraries.
I think, because RASPI-2 is much faster than RASPI-I we could use the RASPI-2 to develop good software using Fivelinux.
Regards,
George
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: FiveLinux on Raspberry PI - Dead or alive ?
Hi Antonio,
Thanks for allow us to develop, using fivelinux, in Raspberry Pi ARM architecture.
Almost every PRG example is working fine. But the dbf01.prg can't compile and generate the following message:
Regards,
George
Thanks for allow us to develop, using fivelinux, in Raspberry Pi ARM architecture.
Almost every PRG example is working fine. But the dbf01.prg can't compile and generate the following message:
Any suggestion how to fix this issue?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#
Regards,
George
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: FiveLinux on Raspberry PI - Dead or alive ?
George,
Please link xhb.lib too
Please link xhb.lib too
Re: FiveLinux on Raspberry PI - Dead or alive ?
Thanks Antonio. DBF01.PRG is working
Only a few samples are no linking:
FiveDBU.prg, FiveForm and VMH reporting 'Undefined Reference to Symbol PCRE_FREE"
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"
Regards,
George
Only a few samples are no linking:
FiveDBU.prg, FiveForm and VMH reporting 'Undefined Reference to Symbol PCRE_FREE"
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"
Regards,
George
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: FiveLinux on Raspberry PI - Dead or alive ?
George,
> FiveDBU.prg, FiveForm and VMH reporting 'Undefined Reference to Symbol PCRE_FREE"
Please link hbcplr.lib from Harbour
> FiveDBU.prg, FiveForm and VMH reporting 'Undefined Reference to Symbol PCRE_FREE"
Please link hbcplr.lib from Harbour
Re: FiveLinux on Raspberry PI - Dead or alive ?
Antonio,
The issue maybe is not related to link hbcplr.lib as I have the link to hbcplr in my build.sh:
George
The issue maybe is not related to link hbcplr.lib as I have the link to hbcplr in my build.sh:
This is the message:# ./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
Regards,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#
George
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: FiveLinux on Raspberry PI - Dead or alive ?
George,
Please link Harbour hbpcre.lib too
Please link Harbour hbpcre.lib too
Re: FiveLinux on Raspberry PI - Dead or alive ?
Perfect! FiveDBU and Fiveform are linking
No more messages: undefined reference to symbol 'pcre_free'.
Just these examples are not compiling:
George
No more messages: undefined reference to symbol 'pcre_free'.
Just these examples are not compiling:
Thanks Antonio for your support,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"
George
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: FiveLinux on Raspberry PI - Dead or alive ?
George,
Download and use the most recent FiveLinux from here:
https://bitbucket.org/fivetech/fivelinux/downloads
I have not tested it on Raspberry Pi for a long time, but it should work fine
Download and use the most recent FiveLinux from here:
https://bitbucket.org/fivetech/fivelinux/downloads
I have not tested it on Raspberry Pi for a long time, but it should work fine
Re: FiveLinux on Raspberry PI - Dead or alive ?
That was the download that I did for the installation of FiveLinux
Almost all examples are linking.
By studing the examples I think we can use Fivelinux to develop database applications, as we do with Fivewin, in the Raspberry Pi -2.
Regards,
George
Almost all examples are linking.
By studing the examples I think we can use Fivelinux to develop database applications, as we do with Fivewin, in the Raspberry Pi -2.
Regards,
George
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: FiveLinux on Raspberry PI - Dead or alive ?
George,
Sure you can do itBy studing the examples I think we can use Fivelinux to develop database applications, as we do with Fivewin, in the Raspberry Pi -2
Re: FiveLinux on Raspberry PI - Dead or alive ?
Hi!, just a question: How do you get hbpcre.lib since harbour does no create it for linux??, that lib is skipped when we build harbour.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: FiveLinux on Raspberry PI - Dead or alive ?
What message or error the Harbour makefile report for it ?