LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
'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: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



All times are GMT -5. The time now is 07:17 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration