Menu

#29 compilation under solaris 7 and 8, sparc

open
nobody
None
5
2001-11-22
2001-11-22
Anonymous
No

Compilation with gcc 2.95.1, 2.95.2, 2.95.3 all fail
under both solaris 7 and 8 on sparc hardware with the
error;
g++ -Wall -DP_SOLARIS=7 -D_REENTRANT -DP_SSL -
/usr/local/ssl/include -I/usr/local/ssl/crypto -
DP_PTHREADS -DPBYTE_ORDER=PBIG_ENDIAN -
/export/data/home/paulr/pwlib/include/ptlib/unix -
I/export/data/home/paulr/pwlib/include -DPTRACING -I/ex
port/data/home/paulr/openh323/include -O3 -DNDEBUG -c
opengate.cxx -o obj_solar
is_sparc-sun-solaris2.7_r/opengate.o
In file included from /usr/local/lib/gcc-lib/sparc-sun-
solaris2.8/2.95.1/../../.
./../include/g++-3/map:33,
from EndpointTabl.h:92,
from Environ.h:72,
from RasThread.h:51,
from opengate.cxx:91:
/usr/local/lib/gcc-lib/sparc-sun-
solaris2.8/2.95.1/../../../../include/g++-3/stl
_map.h:48: `map' is not a template type
----
alot of stuff cut out
----
In file included from Environ.h:72,
from RasThread.h:51,
from opengate.cxx:91:
EndpointTabl.h:394: non-template type `map' used as a
template
EndpointTabl.h:394: ANSI C++ forbids declaration
`AliasMap_t' with no type
make: *** [obj_solaris_sparc-sun-solaris_r/opengate.o]
Error 1

gcc 3.xxxx also fails, but the error list is just to
rediculously long to actually see if its giving me the
same error..

If im reading thru the source correctly, in the stl
above, map is a class...

Discussion


Log in to post a comment.