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

Reply via email to