Reaching out to Rugrat or anyone who could help

Trying to use the same switches to compile the latest smartmontools 5.40 but 
getting the following error. It compiles fine without the 
"-library=no%Cstd,no%Crun" switch.

gmake
gmake  all-recursive
gmake[1]: Entering directory `/home/andre.l/smart/smartmontools-5.40'
Making all in .
gmake[2]: Entering directory `/home/andre.l/smart/smartmontools-5.40'
source='smartd.cpp' object='smartd.o' libtool=no \
        DEPDIR=.deps depmode=none /usr/bin/bash ./depcomp \
        CC -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(local build)"' 
-DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' 
-DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"'       
-erroff=%none,wbadinitl,wbadasgl,badargtypel2w,badargtype2w -xO2  
-library=no%Cstd,no%Crun  -c -o smartd.o smartd.cpp
"smartd.cpp", line 44: Error: Could not open include file<stdexcept>.
"smartd.cpp", line 45: Error: Could not open include file<string>.
"smartd.cpp", line 46: Error: Could not open include file<vector>.
"smartd.cpp", line 47: Error: Could not open include file<algorithm>.
"dev_interface.h", line 58: Error: string is not a member of std.
"dev_interface.h", line 59: Error: string is not a member of std.
"dev_interface.h", line 60: Error: string is not a member of std.
"dev_interface.h", line 61: Error: string is not a member of std.
"dev_interface.h", line 74: Error: string is not a member of std.
"dev_interface.h", line 54: Error: Cannot use const char* to initialize int.
"dev_interface.h", line 54: Error: Cannot use const char* to initialize int.
"dev_interface.h", line 55: Error: Cannot use const char* to initialize int.
"dev_interface.h", line 55: Error: Cannot use const char* to initialize int.
"dev_interface.h", line 69: Error: Cannot use const char* to initialize int.
"dev_interface.h", line 71: Error: int is not a structure type.
"dev_interface.h", line 127: Error: const int is not a structure type.
"dev_interface.h", line 130: Error: const int is not a structure type.
"dev_interface.h", line 133: Error: const int is not a structure type.
"dev_interface.h", line 136: Error: const int is not a structure type.
"dev_interface.h", line 155: Error: const int is not a structure type.
"dev_interface.h", line 711: Error: vector is not a member of std.
"dev_interface.h", line 711: Error: A declaration does not specify a tag or an 
identifier.
"dev_interface.h", line 711: Error: Use ";" to terminate declarations.
"dev_interface.h", line 711: Error: "}" expected instead of "<".
"dev_interface.h", line 670: Error: m_list is not defined.
Compilation aborted, too many Error messages.
gmake[2]: *** [smartd.o] Error 1
gmake[2]: Leaving directory `/home/andre.l/smart/smartmontools-5.40'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/andre.l/smart/smartmontools-5.40'
gmake: *** [all] Error 2

Also tried adding -I include path to stdexcept but still fails
5       ./sunstudio12.1/prod/include/CC/stlport4/stdexcept
1       ./sunstudio12.1/prod/include/CC/stlport4/stdexcept.SUNWCCh
6       ./sunstudio12.1/prod/include/CC/Cstd/stdexcept
1       ./sunstudio12.1/prod/include/CC/Cstd/stdexcept.SUNWCCh
1       ./prod/include/CC/stlport4/stdexcept.SUNWCCh
5       ./prod/include/CC/stlport4/stdexcept
1       ./prod/include/CC/Cstd/stdexcept.SUNWCCh
6       ./prod/include/CC/Cstd/stdexcept
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to