FiveLinux on Raspberry PI - Dead or alive ?

FiveLinux on Raspberry PI - Dead or alive ?

Postby johnshay » Thu Mar 13, 2014 1:05 pm

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 ?
User avatar
johnshay
 
Posts: 10
Joined: Mon Mar 10, 2008 11:46 am
Location: Manchester,UK

Re: FiveLinux on Raspberry PI - Dead or alive ?

Postby George » Sat Jan 30, 2016 3:22 am

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.

Image

Regards,

George
George
 
Posts: 725
Joined: Tue Oct 18, 2005 6:49 pm

Re: FiveLinux on Raspberry PI - Dead or alive ?

Postby Antonio Linares » Sat Jan 30, 2016 8:48 am

very good :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FiveLinux on Raspberry PI - Dead or alive ?

Postby George » Sat Jan 30, 2016 11:31 pm

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:
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#


Any suggestion how to fix this issue?

Regards,

George
George
 
Posts: 725
Joined: Tue Oct 18, 2005 6:49 pm

Re: FiveLinux on Raspberry PI - Dead or alive ?

Postby Antonio Linares » Sun Jan 31, 2016 8:52 am

George,

Please link xhb.lib too
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FiveLinux on Raspberry PI - Dead or alive ?

Postby George » Tue Feb 02, 2016 5:22 am

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
George
 
Posts: 725
Joined: Tue Oct 18, 2005 6:49 pm

Re: FiveLinux on Raspberry PI - Dead or alive ?

Postby Antonio Linares » Tue Feb 02, 2016 8:17 am

George,

> FiveDBU.prg, FiveForm and VMH reporting 'Undefined Reference to Symbol PCRE_FREE"

Please link hbcplr.lib from Harbour
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FiveLinux on Raspberry PI - Dead or alive ?

Postby George » Tue Feb 02, 2016 4:26 pm

Antonio,
The issue maybe is not related to link hbcplr.lib as I have the link to hbcplr in my build.sh:

# ./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


This is the message:

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#


Regards,

George
George
 
Posts: 725
Joined: Tue Oct 18, 2005 6:49 pm

Re: FiveLinux on Raspberry PI - Dead or alive ?

Postby Antonio Linares » Tue Feb 02, 2016 6:39 pm

George,

Please link Harbour hbpcre.lib too
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FiveLinux on Raspberry PI - Dead or alive ?

Postby George » Tue Feb 02, 2016 8:41 pm

Perfect! FiveDBU and Fiveform are linking
No more messages: undefined reference to symbol 'pcre_free'.

Just these examples are not compiling:
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"

Thanks Antonio for your support,

George
George
 
Posts: 725
Joined: Tue Oct 18, 2005 6:49 pm

Re: FiveLinux on Raspberry PI - Dead or alive ?

Postby Antonio Linares » Tue Feb 02, 2016 9:02 pm

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
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FiveLinux on Raspberry PI - Dead or alive ?

Postby George » Tue Feb 02, 2016 9:38 pm

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
George
 
Posts: 725
Joined: Tue Oct 18, 2005 6:49 pm

Re: FiveLinux on Raspberry PI - Dead or alive ?

Postby Antonio Linares » Tue Feb 02, 2016 9:56 pm

George,

By studing the examples I think we can use Fivelinux to develop database applications, as we do with Fivewin, in the Raspberry Pi -2


Sure you can do it :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FiveLinux on Raspberry PI - Dead or alive ?

Postby Rolaci » Mon Mar 20, 2017 2:49 pm

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.
Rolaci
 
Posts: 20
Joined: Fri Dec 16, 2011 4:17 pm

Re: FiveLinux on Raspberry PI - Dead or alive ?

Postby Antonio Linares » Mon Mar 20, 2017 10:03 pm

What message or error the Harbour makefile report for it ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Next

Return to FiveLinux / FiveDroid (Android)

Who is online

Users browsing this forum: No registered users and 5 guests