Issue 693 - STLport4 on Solaris - not building
Summary: STLport4 on Solaris - not building
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: 625
Hardware: PC Solaris
: P3 Trivial (vote)
Target Milestone: ---
Assignee: sander_traveling
QA Contact: issues@www
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-04-11 22:27 UTC by issues@www
Modified: 2003-12-06 14:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description issues@www 2001-04-11 22:27:39 UTC
I know this is not the right place to complain but since the build documents 
tell me that STLport4 is required for building I will file a bug here in case 
someone can help me.

I have huge problems building STLport4 with Forte 6U1 (even with EA 6U2). This 
must have been done before so if anyone is willing to help I'd appreciate.

[doehrm@sun9 ~/STLport-4.0/src]$ CC -V
CC: Sun WorkShop 6 update 1 C++ 5.2 Patch 109509-02 2001/03/04

doehrm@sun9 ~/STLport-4.0/src]$ gmake -f sunpro6.mak
mkdir -p obj/SUN/Release
CC -mt -library=%none,Crun -template=wholeclass -I. -I/export/home/doehrm/STLpor
t-4.0/src/../stlport -D__SGI_STL_OWN_IOSTREAMS -O2 -Qoption iropt -R,-Ml30,-Ms30
,-Mi1000000,-Mm1000000,-Mr1000000,-Ma1000000,-Mc1000000,-Mt1000000 complex.cpp -
c -o obj/SUN/Release/complex.o
"/export/home/doehrm/STLport-4.0/src/../stlport/stl/_iterator_base.h", line 69:
Error: Invalid template parameter default.
"/export/home/doehrm/STLport-4.0/src/../stlport/stl/_iterator_base.h", line 69:
Error: Invalid template parameter default.
"/export/home/doehrm/STLport-4.0/src/../stlport/stl/_iterator_base.h", line 79:
Error: Too many arguments for template _STL::iterator.
"/export/home/doehrm/STLport-4.0/src/../stlport/stl/_iterator_base.h", line 185:
 Error: Too many arguments for template _STL::iterator.
"/export/home/doehrm/STLport-4.0/src/../stlport/stl/_iterator_base.h", line 187:
 Error: Too many arguments for template _STL::iterator.
"/export/home/doehrm/STLport-4.0/src/../stlport/stl/_iterator_base.h", line 189:
 Error: Too many arguments for template _STL::iterator.
"/export/home/doehrm/STLport-4.0/src/../stlport/stl/_iterator_base.h", line 195:
 Error: Templates can only declare classes or functions.
"/export/home/doehrm/STLport-4.0/src/../stlport/stl/_iterator_base.h", line 195:
 Error: Use ";" to terminate statements.
"/export/home/doehrm/STLport-4.0/src/../stlport/stl/_iterator_base.h", line 195:
 Error: A declaration was expected instead of "return".
"/export/home/doehrm/STLport-4.0/src/../stlport/stl/_iterator_base.h", line 195:
 Error: ")" expected instead of "*".
"/export/home/doehrm/STLport-4.0/src/../stlport/stl/_iterator_base.h", line 205:
 Error: iterator is not defined.
"/export/home/doehrm/STLport-4.0/src/../stlport/stl/_iterator_base.h", line 205:
 Error: "," expected instead of "<".
"/export/home/doehrm/STLport-4.0/src/../stlport/stl/_iterator_base.h", line 205:
 Error: Use ";" to terminate declarations.
"/export/home/doehrm/STLport-4.0/src/../stlport/stl/_iterator_base.h", line 205:
 Error: A declaration was expected instead of "<".
"/export/home/doehrm/STLport-4.0/src/../stlport/stl/_iterator_base.h", line 205:
 Error: Use ";" to terminate declarations.
"/export/home/doehrm/STLport-4.0/src/../stlport/stl/_iterator_base.h", line 205:
 Error: A declaration does not specify a tag or an identifier.
"/export/home/doehrm/STLport-4.0/src/../stlport/stl/_iterator_base.h", line 205:
 Error: Use ";" to terminate declarations.
"/export/home/doehrm/STLport-4.0/src/../stlport/stl/_iterator_base.h", line 205:
 Error: A declaration was expected instead of ",".
"/export/home/doehrm/STLport-4.0/src/../stlport/stl/_iterator_base.h", line 205:
 Error: A declaration does not specify a tag or an identifier.
"/export/home/doehrm/STLport-4.0/src/../stlport/stl/_iterator_base.h", line 205:
 Error: Use ";" to terminate declarations.
"/export/home/doehrm/STLport-4.0/src/../stlport/stl/_iterator_base.h", line 205:
 Error: A declaration was expected instead of ",".
"/export/home/doehrm/STLport-4.0/src/../stlport/stl/_iterator_base.h", line 205:
 Error: A declaration does not specify a tag or an identifier.
"/export/home/doehrm/STLport-4.0/src/../stlport/stl/_iterator_base.h", line 205:
 Error: Use ";" to terminate declarations.
"/export/home/doehrm/STLport-4.0/src/../stlport/stl/_iterator_base.h", line 205:
 Error: A declaration was expected instead of ",".
"/export/home/doehrm/STLport-4.0/src/../stlport/stl/_iterator_base.h", line 205:
 Error: A declaration does not specify a tag or an identifier.
Compilation aborted, too many Error messages.
gmake: *** [obj/SUN/Release/complex.o] Error 1

Are here any gurus available that could give me a hint? Thanx alot!
Comment 1 Unknown 2001-04-12 07:47:55 UTC
Markus, this is the right place to complain. I forward this to our 
Solaris-builder.

Sander, are you a guru? ;-)


Comment 2 issues@www 2001-04-19 18:44:57 UTC
I tried now to build with WS 5.0 (latest patches from 
http://access1.sun.com/forte/workshop5-patches.html), it's now building.

Since WS 6U1 is required it should be possible to build STLport 4.0 (or 
greater) with this compiler.

If you need more information please contact me.
Comment 3 sander_traveling 2001-04-19 18:51:17 UTC
But it *IS* possible to build STLport4 with WS6U1 - just make sure your amend
include path the makefile to point at /usr/include 

Strictly speaking, this is a STLport4 (distribution) bug, but oh well...

Clsoe the issue if this fixes it.
Comment 4 issues@www 2001-04-19 19:26:41 UTC
sorry, but really don't get it...  *sigh*

The path is set to 

STL_INCL= -I. -I${PWD}/../stlport

I tried all variants, at first position, at last, in the middle. It then 
complains about a missing <stl/_config.h> and <complex> that is in ../stlport 
so this path _must_ be included. But including that gives me the stated error. 
I think you asume that 6U1 comes with its own STL implementation of certain 
headers that should be used right?

Couldn't this have something to do with the marko D__USE_SGI_STL_OWN_IOSTREAM? 
Or with -library=%none%,Crun ? I'm not soooo deep into this compiler..

*deep-sigh*
Comment 5 sander_traveling 2001-04-19 19:37:44 UTC
If you take a look at the docs, they would tell you to put a /SC5 after
I${PWD}/../stlport 
Comment 6 issues@www 2001-04-19 19:47:35 UTC
WOW, it's building!

STL_INCL= -I/usr/include -I. -I${PWD}/../stlport/SC5 

is what I set.

IMHO this should be add to the build documentation.

Thank you _very_ much for you help!
Comment 7 michael.bemmer 2003-03-24 08:37:38 UTC
As agreed on I will close these resolved fixed issues now. If you have trouble
with that, please re-open the issue.
Comment 8 michael.bemmer 2003-03-24 08:51:41 UTC
As agreed on I will close these resolved fixed issues now. If you have trouble
with that, please re-open the issue.