curlpp on SunOS 5.9

29 views
Skip to first unread message

Raumpfleger

unread,
Jun 6, 2013, 4:10:34 AM6/6/13
to curlpp...@googlegroups.com
Hi there,

libcurlpp on Linux and an SunOS 5.9 - both with gcc/g++ - builds very well.
But I have to use on SunOS the Sun Compilers

SunOS 5.9 sun4u sparc SUNW,Sun-Fire-V210
CC: Sun C++ 5.5 2003/03/12
cc: Sun C 5.5 2003/03/12

this crashes with nested templates

"../../include/utilspp/singleton/SingletonHolder.hpp", line 37: Error: ","
expected instead of "<".
"../../include/utilspp/singleton/SingletonHolder.hpp", line 37: Error: Type
name expected instead of "<".
"../../include/utilspp/singleton/SingletonHolder.hpp", line 37: Error: "{"
expected instead of "=".
"../../include/utilspp/singleton/SingletonHolder.inl", line 30: Error: ","
expected instead of "<".
etc. etc.

respectively
SunOS 5.10 sun4u sparc SUNW,Sun-Fire-V240
CC: Sun C++ 5.11 SunOS_sparc 2010/08/13
cc: Sun C 5.11 SunOS_sparc 2010/08/13

this crashes with
CC: -W option with unknown program -Wall, because for some reason I'm still
looking for the CC gets the -g -W -Wall -Werror gnu-like flags (CXXFLAGS do
not contain them).

The question is: are this known issues, are there SunOS-flags to use or do I
miss something else? (I tried -compat=4, -compat=5 ... no success).

Best regards
Raumpfleger




Raumpfleger

unread,
Jun 6, 2013, 5:18:04 AM6/6/13
to curlpp...@googlegroups.com
Hi there,
this is solved on SunOS 5.10:

781380 Jun 5 15:53 libcurl.so.4.3.0
16 Jun 5 15:53 libcurl.so.4 -> libcurl.so.4.3.0
16 Jun 5 15:53 libcurl.so -> libcurl.so.4.3.0
1000 Jun 5 15:53 libcurl.la
970772 Jun 5 15:53 libcurl.a
41 Jun 5 16:02 libssl.so.0.9.7 ->
/usr/local/ssl-1.0.0c/lib/libssl.so.1.0.0
44 Jun 5 16:03 libcrypto.so.0.9.7 ->
/usr/local/ssl-1.0.0c/lib/libcrypto.so.1.0.0
150644 Jun 6 11:05 libutilspp.so.0.0.0
19 Jun 6 11:05 libutilspp.so.0 -> libutilspp.so.0.0.0
19 Jun 6 11:05 libutilspp.so -> libutilspp.so.0.0.0
1418 Jun 6 11:05 libutilspp.la
151756 Jun 6 11:05 libutilspp.a
2606756 Jun 6 11:05 libcurlpp.so.0.0.2
18 Jun 6 11:05 libcurlpp.so.0 -> libcurlpp.so.0.0.2
18 Jun 6 11:05 libcurlpp.so -> libcurlpp.so.0.0.2
1411 Jun 6 11:05 libcurlpp.la
2980720 Jun 6 11:05 libcurlpp.a
4 Jun 6 11:05 pkgconfig

recursively one has to remove the quirky -W -Wall -Werror gnu flags from the
Makefile's. On SunOS 5.9 one must upgrade the compiler and that's it.

Regards
Raumpfleger.



Reply all
Reply to author
Forward
0 new messages