LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   stlplus (http://www.linuxquestions.org/questions/fedora-35/stlplus-868586/)

hectorDUQUE 03-14-2011 07:37 PM

stlplus
 
Hi guys,
when compiling stlplus (02-08), FC14, i am getting these errors:

Code:


[root@duke8814 stlplus]# make
make[1]: Entering directory `/home/duke3214/stlplus/source'
stlplus:LINUX-i686-debug: C++ compiling fileio.cpp
fileio.cpp: In member function ‘virtual std::string ofbuff::error_string() const’:
fileio.cpp:42:47: error: ‘strerror’ was not declared in this scope
fileio.cpp: In member function ‘virtual std::string ifbuff::error_string() const’:
fileio.cpp:250:47: error: ‘strerror’ was not declared in this scope
fileio.cpp:253:1: warning: control reaches end of non-void function
fileio.cpp: In member function ‘virtual std::string ofbuff::error_string() const’:
fileio.cpp:45:1: warning: control reaches end of non-void function
make[1]: *** [LINUX-i686-debug/fileio.o] Error 1
make[1]: Leaving directory `/home/duke3214/stlplus/source'
make: *** [all] Error 2

i wonder if it is a compiler version related problem ?

thanks in advance


hector

knudfl 03-15-2011 07:13 AM

'stlplus-02-08' : # yum install compat-gcc-34-c++


cd stlplus/ && export CC=gcc34 CXX=g++34 && make : No errors.


Please also consider "stlplus3" : stlplus3-03-07.tar.gz (538.2 KB)
http://sourceforge.net/projects/stlp...ar.gz/download

..

hectorDUQUE 03-15-2011 10:29 AM

thanks knudfi, it works :-)

about stlplus3, i have found out that the directory containers does not compile. Doing a little research i found (ggogle) that containers is a only-include library, so it is not necesary to compile it, but another link talks about libcontainers.a, so i am confused. In fact, i compiled stlplus3 in resealed mode, but i did found makefiles to do it as a monolitic library. Comments , advices :-) ????

knudfl 03-15-2011 10:36 AM

Actually, I don't know this application.

May be the documentation will supply the information, you want.
http://stlplus.sourceforge.net/stlpl...ontainers.html

http://stlplus.sourceforge.net/

..


All times are GMT -5. The time now is 12:43 AM.