LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-14-2011, 07:37 PM   #1
hectorDUQUE
Member
 
Registered: Jan 2007
Posts: 121

Rep: Reputation: 15
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
 
Old 03-15-2011, 07:13 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
'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

..
 
Old 03-15-2011, 10:29 AM   #3
hectorDUQUE
Member
 
Registered: Jan 2007
Posts: 121

Original Poster
Rep: Reputation: 15
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 :-) ????
 
Old 03-15-2011, 10:36 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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/

..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration