473,324 Members | 2,417 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

STL errors on linux platform

Hi,
I am using STL from http://www.stlport.org/download.html (ver 4.6.2)
I see hundered's of error while compilation. I have a c++ prog
which uses stl. I am providing the stlport in the include -I while
compilation, but do not know why its throwing errors...

Compiling testStl.cpp
/grid/common/pkgs/gcc/v3.2.3p1/include/c++/3.2.3/bits/locale_facets.tcc:
In member function `virtual _InIter std::num_get<_CharT,
_InIter>::do_get(_InIter, _InIter, std::ios_base&, std::_Ios_Iostate&,
short unsigned int&) const':
/grid/common/pkgs/gcc/v3.2.3p1/include/c++/3.2.3/bits/locale_facets.tcc:474:
syntax error before `short'
/grid/common/pkgs/gcc/v3.2.3p1/include/c++/3.2.3/bits/locale_facets.tcc:
In member function `virtual _InIter std::num_get<_CharT,
_InIter>::do_get(_InIter, _InIter, std::ios_base&, std::_Ios_Iostate&,
unsigned int&) const':
/grid/common/pkgs/gcc/v3.2.3p1/include/c++/3.2.3/bits/locale_facets.tcc:493:
syntax error before `int'
/grid/common/pkgs/gcc/v3.2.3p1/include/c++/3.2.3/bits/locale_facets.tcc:
In member function `_OutIter std::num_put<_CharT,
_OutIter>::_M_convert_float(_OutIter, std::ios_base&, _CharT, char,
_ValueT) const':
/grid/common/pkgs/gcc/v3.2.3p1/include/c++/3.2.3/bits/locale_facets.tcc:632:
syntax error before `>' token

Actually what is happening is that, my c++ prog includes iostream,
which is
picked from STLport-4.6.2/stlport/iostream

which includes # include <wrap_std/iostream>
and this is being looked in my compiler installation like
/gcc/v3.2.3p1/include/c++/3.2.3/iostream
Its not picking this from STL istelf, which probably is causing the
above
errors...

PS : I do not see these errors when i compile the same code on solaris
(forte7/8)

Regards, ~Pervinder
Jul 22 '05 #1
3 1803
"pervinder" <pe*******@gmail.com> wrote in message
news:90**************************@posting.google.c om...
Hi,
I am using STL from http://www.stlport.org/download.html (ver 4.6.2)
I see hundered's of error while compilation. I have a c++ prog
which uses stl. I am providing the stlport in the include -I while
compilation, but do not know why its throwing errors... [snip list of error messages]
Actually what is happening is that, my c++ prog includes iostream,
which is
picked from STLport-4.6.2/stlport/iostream

which includes # include <wrap_std/iostream>
and this is being looked in my compiler installation like
/gcc/v3.2.3p1/include/c++/3.2.3/iostream
Its not picking this from STL istelf, which probably is causing the
above
errors...

PS : I do not see these errors when i compile the same code on solaris
(forte7/8)


We do not see your code, therefore we cannot diagnose it.

-Mike

Jul 22 '05 #2
Mike,
My main concern is that does gcc works with STL port ? Or there are some
issues. If i provide -I./stlport in the compile line, it errors and if i do
not provide -I./stlport it works...
And the error is about the header files, like my code uses stdio.h, and
compilker picks this file from ./stloport/ locations, not from the standard
locations.

Regards, ~Pervinder

"Mike Wahler" <mk******@mkwahler.net> wrote in message news:<BH***************@newsread3.news.pas.earthli nk.net>...
"pervinder" <pe*******@gmail.com> wrote in message
news:90**************************@posting.google.c om...
Hi,
I am using STL from http://www.stlport.org/download.html (ver 4.6.2)
I see hundered's of error while compilation. I have a c++ prog
which uses stl. I am providing the stlport in the include -I while
compilation, but do not know why its throwing errors...

[snip list of error messages]
Actually what is happening is that, my c++ prog includes iostream,
which is
picked from STLport-4.6.2/stlport/iostream

which includes # include <wrap_std/iostream>
and this is being looked in my compiler installation like
/gcc/v3.2.3p1/include/c++/3.2.3/iostream
Its not picking this from STL istelf, which probably is causing the
above
errors...

PS : I do not see these errors when i compile the same code on solaris
(forte7/8)


We do not see your code, therefore we cannot diagnose it.

-Mike

Jul 22 '05 #3
"pervinder" <pe*******@gmail.com> wrote in message
news:90**************************@posting.google.c om...
Mike,
My main concern is that does gcc works with STL port ?
Ask that somewhere where those products are topical.

Here we only discuss the C++ language itself, not
particular implementations or their interoperability
(or lack thereof).
Or there are some
issues. If i provide -I./stlport in the compile line, it errors and if i do not provide -I./stlport it works...
And the error is about the header files, like my code uses stdio.h, and
compilker picks this file from ./stloport/ locations, not from the standard locations.


Check the support resources for gcc and STLport.

-Mike
Jul 22 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Reply-Via-Newsgroup Thanks | last post by:
Gentle People, I've started working with a team of C++ and PHP programmers - They develope on Windoze platform which I dislike since our production servers are LAMP based, I've always believed...
383
by: John Bailo | last post by:
The war of the OSes was won a long time ago. Unix has always been, and will continue to be, the Server OS in the form of Linux. Microsoft struggled mightily to win that battle -- creating a...
3
by: Tony Lawrence | last post by:
I see lots of things like this in my error log: File does not exist: /usr/local/www/vhosts/vps.pcunix.com/htdocs/SCOFAQ/How do I solve fork failed no more processes_files, referer:...
57
by: B.r.a.d.l.e.y | last post by:
A client has moved a back-end data file to a Linux machine instead of Windows. It now will only let one user log in at a time and gives some sort of "admin file not found" error. My first...
4
by: Jonah Olsson | last post by:
Dear All, I'm currently developing a solution where large amounts of personalised emails are being created (and no, this is not spam...) on the ASP.NET platform and being delivered by a Debian...
2
by: Neo | last post by:
why Microsoft Developers not like others developers (Java Dev, Linux Dev, etc)? the me without this reason of not same platform. Why they not like others?
8
by: dwelch91 | last post by:
I need to detect whether the operating system I am running on (not the Python version) is 64bit or 32bit. One requirement is that I need to include support for non-Intel/AMD architectures. The 2...
2
by: pssraju | last post by:
Hi, At present application was built on solaris 9 using sun studio 9 (Sun C++ 5.6) & rouguewave sorce pro 5. We are planning to port the same application onto SuSE Linux 9.5.0 using GCC 3.3.3 & RW...
20
by: macca | last post by:
Hi, I just started a new web developer job (my first actually) and the machine they gave me to use is a Mac. Two days in and I'm running a Win XP environment on my Mac at work (using VMWare), ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.