Ok, got it, will document the process.

Indeed gcc 4.8.2 works.

Need to do:
sudo apt-get install gcc-4.8 g++-4.8

Then changes the symlinks in /usr/bin:

cd /usr/bin
rm gcc
rm g++
sudo ln -s gcc-4.8 gcc
sudo ln -s g++-4.8 g++

Then the build succeeds.

Phew, that was quite an adventure. Thanks to all. Tomorrow test suite.

Best regards,

René.

Sent from my iPhone

> On 04 Jun 2015, at 22:36, René Jansen <rvjan...@xs4all.nl> wrote:
> 
> That is great, Bruce. My gcc is 4.6.3 and I did and apt-get upgrade this 
> afternoon. Did you do anything special to get this higher level gcc?
> 
> René
> 
> Sent from my iPhone
> 
>> On 04 Jun 2015, at 22:14, CVBruce <cvbr...@gmail.com> wrote:
>> 
>> I got it to build on my RPi. I have make 3.0.2 and gcc 4.8.2
>> 
>> Bruce
>> 
>> Sent by Magic!
>> 
>>> On Jun 4, 2015, at 10:07 AM, René Jansen <rvjan...@xs4all.nl> wrote:
>>> 
>>> hw: Raspberry Pi 2, 4* ~1Ghz ARM, 3.18 SMP PREEMPT armv71 GNU/Linux
>>> 
>>> (1) the installed cmake from the debian repository is 2.8.9 and too low for 
>>> ooRexx, git clone git://cmake.org/cmake.git and building it sets you back 
>>> half an hour. There is no binary download.
>>> 
>>> (2) cmake 3.3.2 generates the makefile without complaints - we need to bump 
>>> up the version req in CMakeLists.txt
>>> 
>>> (3) make builds oorexx until: 
>>> 
>>> [ 73%] Building CXX object 
>>> CMakeFiles/hostemu.dir/extensions/hostemu/cmdparse.cpp.o
>>> cmdparse.cpp: In function ‘int yyparse()’:
>>> cmdparse.cpp:557:27: warning: deprecated conversion from string constant to 
>>> ‘char*’ [-Wwrite-strings]
>>> cmdparse.cpp:819:34: warning: deprecated conversion from string constant to 
>>> ‘char*’ [-Wwrite-strings]
>>> [ 73%] Linking CXX shared library bin/libhostemu.so
>>> [ 73%] Built target hostemu
>>> 
>>> which are a few warnings, and then fails on missing curses.h include file
>>> 
>>> (4) sudo apt-get install libncurses5-dev libncursesw5-dev
>>> 
>>> (5) restart make, it will get to 75% now and fail on:
>>> 
>>> [ 75%] Building CXX object 
>>> CMakeFiles/rexx_exe.dir/utilities/rexx/platform/unix/rexx.cpp.o
>>> [ 75%] Linking CXX executable bin/rexx
>>> bin/librexx.so.5.0.0: undefined reference to `RexxString::ch_PLUS'
>>> bin/librexx.so.5.0.0: undefined reference to 
>>> `MemorySegmentSet::LargeSegmentDeadSpace'
>>> bin/librexx.so.5.0.0: undefined reference to `RexxString::ch_MINUS'
>>> bin/librexx.so.5.0.0: undefined reference to 
>>> `MemorySegmentSet::SegmentDeadSpace'
>>> bin/librexx.so.5.0.0: undefined reference to `Numerics::FORM_ENGINEERING'
>>> bin/librexx.so.5.0.0: undefined reference to `Numerics::FORM_SCIENTIFIC'
>>> collect2: ld returned 1 exit status
>>> CMakeFiles/rexx_exe.dir/build.make:96: recipe for target 'bin/rexx' failed
>>> make[2]: *** [bin/rexx] Error 1
>>> CMakeFiles/Makefile2:255: recipe for target 'CMakeFiles/rexx_exe.dir/all' 
>>> failed
>>> make[1]: *** [CMakeFiles/rexx_exe.dir/all] Error 2
>>> Makefile:149: recipe for target 'all' failed
>>> make: *** [all] Error 2
>>> 
>>> Seems that we are missing a library in the link? Can anyone help me with 
>>> this?
>>> 
>>> best regards,
>>> 
>>> René.
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Oorexx-devel mailing list
>>> Oorexx-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>> 
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Oorexx-devel mailing list
>> Oorexx-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel

------------------------------------------------------------------------------
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to