Project

General

Profile

RE: build exiv2-0.23 with solarisstudio compiler 12.3 Er... » SolarisStudio_Rev3020_Cmake.txt

SolarisStudio-R3020-Cmake - Nehal J Wani, 17 Apr 2013 11:16

 
1
[Wani@Linux trunk]$  cmake -DCMAKE_CXX_FLAGS=-library=stlport4 -DCMAKE_CXX_COMPILER=/opt/oracle/solarisstudio12.3/bin/CC -DCMAKE_C_COMPILER=/opt/oracle/solarisstudio12.3/bin/cc  .
2
-- The C compiler identification is SunPro 5.12.0
3
-- The CXX compiler identification is SunPro 5.12.0
4
-- Check for working C compiler: /opt/oracle/solarisstudio12.3/bin/cc
5
-- Check for working C compiler: /opt/oracle/solarisstudio12.3/bin/cc -- works
6
-- Detecting C compiler ABI info
7
-- Detecting C compiler ABI info - done
8
-- Check for working CXX compiler: /opt/oracle/solarisstudio12.3/bin/CC
9
-- Check for working CXX compiler: /opt/oracle/solarisstudio12.3/bin/CC -- works
10
-- Detecting CXX compiler ABI info
11
-- Detecting CXX compiler ABI info - done
12
-- Looking for iconv_open
13
-- Looking for iconv_open - found
14
-- Performing Test ICONV_COMPILES
15
-- Performing Test ICONV_COMPILES - Success
16
-- Found ICONV: In glibc  
17
-- Performing Test ICONV_ACCEPTS_NONCONST_INPUT
18
-- Performing Test ICONV_ACCEPTS_NONCONST_INPUT - Success
19
-- Performing Test ICONV_ACCEPTS_CONST_INPUT
20
-- Performing Test ICONV_ACCEPTS_CONST_INPUT - Failed
21
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.5") 
22
-- Found EXPAT: /usr/lib64/libexpat.so  
23
-- ICONV_LIBRARIES : 
24
-- Program msgfmt found (/usr/bin/msgfmt)
25
-- Looking for inttypes.h
26
-- Looking for inttypes.h - found
27
-- Looking for libintl.h
28
-- Looking for libintl.h - found
29
-- Looking for malloc.h
30
-- Looking for malloc.h - found
31
-- Looking for memory.h
32
-- Looking for memory.h - found
33
-- Looking for iconv.h
34
-- Looking for iconv.h - found
35
-- Looking for stdbool.h
36
-- Looking for stdbool.h - found
37
-- Looking for stdint.h
38
-- Looking for stdint.h - found
39
-- Looking for stdlib.h
40
-- Looking for stdlib.h - found
41
-- Looking for string.h
42
-- Looking for string.h - found
43
-- Looking for strings.h
44
-- Looking for strings.h - found
45
-- Looking for unistd.h
46
-- Looking for unistd.h - found
47
-- Looking for wchar.h
48
-- Looking for wchar.h - found
49
-- Looking for sys/stat.h
50
-- Looking for sys/stat.h - found
51
-- Looking for sys/time.h
52
-- Looking for sys/time.h - found
53
-- Looking for sys/types.h
54
-- Looking for sys/types.h - found
55
-- Looking for sys/mman.h
56
-- Looking for sys/mman.h - found
57
-- Looking for process.h
58
-- Looking for process.h - not found
59
-- Looking for alarm
60
-- Looking for alarm - found
61
-- Looking for gmtime_r
62
-- Looking for gmtime_r - found
63
-- Looking for malloc
64
-- Looking for malloc - found
65
-- Looking for memset
66
-- Looking for memset - found
67
-- Looking for mmap
68
-- Looking for mmap - found
69
-- Looking for munmap
70
-- Looking for munmap - found
71
-- Looking for realloc
72
-- Looking for realloc - found
73
-- Looking for strchr
74
-- Looking for strchr - found
75
-- Looking for strchr_r
76
-- Looking for strchr_r - not found
77
-- Looking for strerror
78
-- Looking for strerror - found
79
-- Looking for strerror_r
80
-- Looking for strerror_r - found
81
-- Looking for strtol
82
-- Looking for strtol - found
83
-- Looking for timegm
84
-- Looking for timegm - found
85
-- Looking for vprintf
86
-- Looking for vprintf - found
87
-- None:              -library=stlport4
88
-- Debug:             -g
89
-- Release:           -xO3 -DNDEBUG
90
-- RelWithDebInfo:    -g -xO2
91
-- MinSizeRel:        -xO2 -xspace -DNDEBUG
92
-- Looking for _Bool
93
-- Looking for _Bool - not found.
94
-- Performing Test TM_IN_SYS_TIME
95
-- Performing Test TM_IN_SYS_TIME - Failed
96
-- Performing Test STRERROR_R_CHAR_P
97
-- Performing Test STRERROR_R_CHAR_P - Success
98
-- Performing Test TIME_WITH_SYS_TIME
99
-- Performing Test TIME_WITH_SYS_TIME - Success
100
-- ------------------------------------------------------------------
101
-- exiv2 0.23 configure results        <http://www.exiv2.org>
102
-- Building PNG support:               YES
103
-- Building shared library:            YES
104
-- XMP metadata support:               YES
105
-- Building static libxmp:             YES
106
-- Native language support:            YES
107
-- Conversion of Windows XP tags:      YES
108
-- Nikon lens database:                YES
109
-- Commercial build:                   NO
110
-- Build the unit tests:               YES
111
-- Building translations files:        NO
112
-- ------------------------------------------------------------------
113
-- Configuring done
114
-- Generating done
115
-- Build files have been written to: /home/Wani/GSoC/exiv2-trunk/trunk
116
[Wani@Linux trunk]$ make
117
Scanning dependencies of target xmp
118
[  1%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/ExpatAdapter.cpp.o
119
"/home/Wani/GSoC/exiv2-trunk/trunk/xmpsdk/src/ExpatAdapter.cpp", line 89: Warning (Anachronism): Formal argument start of type extern "C" void(*)(void*,const char*,const char*) in call to XML_SetNamespaceDeclHandler(XML_ParserStruct*, extern "C" void(*)(void*,const char*,const char*), extern "C" void(*)(void*,const char*)) is being passed void(*)(void*,const char*,const char*).
120
"/home/Wani/GSoC/exiv2-trunk/trunk/xmpsdk/src/ExpatAdapter.cpp", line 89: Warning (Anachronism): Formal argument end of type extern "C" void(*)(void*,const char*) in call to XML_SetNamespaceDeclHandler(XML_ParserStruct*, extern "C" void(*)(void*,const char*,const char*), extern "C" void(*)(void*,const char*)) is being passed void(*)(void*,const char*).
121
"/home/Wani/GSoC/exiv2-trunk/trunk/xmpsdk/src/ExpatAdapter.cpp", line 90: Warning (Anachronism): Formal argument start of type extern "C" void(*)(void*,const char*,const char**) in call to XML_SetElementHandler(XML_ParserStruct*, extern "C" void(*)(void*,const char*,const char**), extern "C" void(*)(void*,const char*)) is being passed void(*)(void*,const char*,const char**).
122
"/home/Wani/GSoC/exiv2-trunk/trunk/xmpsdk/src/ExpatAdapter.cpp", line 90: Warning (Anachronism): Formal argument end of type extern "C" void(*)(void*,const char*) in call to XML_SetElementHandler(XML_ParserStruct*, extern "C" void(*)(void*,const char*,const char**), extern "C" void(*)(void*,const char*)) is being passed void(*)(void*,const char*).
123
"/home/Wani/GSoC/exiv2-trunk/trunk/xmpsdk/src/ExpatAdapter.cpp", line 92: Warning (Anachronism): Formal argument handler of type extern "C" void(*)(void*,const char*,int) in call to XML_SetCharacterDataHandler(XML_ParserStruct*, extern "C" void(*)(void*,const char*,int)) is being passed void(*)(void*,const char*,int).
124
"/home/Wani/GSoC/exiv2-trunk/trunk/xmpsdk/src/ExpatAdapter.cpp", line 93: Warning (Anachronism): Formal argument start of type extern "C" void(*)(void*) in call to XML_SetCdataSectionHandler(XML_ParserStruct*, extern "C" void(*)(void*), extern "C" void(*)(void*)) is being passed void(*)(void*).
125
"/home/Wani/GSoC/exiv2-trunk/trunk/xmpsdk/src/ExpatAdapter.cpp", line 93: Warning (Anachronism): Formal argument end of type extern "C" void(*)(void*) in call to XML_SetCdataSectionHandler(XML_ParserStruct*, extern "C" void(*)(void*), extern "C" void(*)(void*)) is being passed void(*)(void*).
126
"/home/Wani/GSoC/exiv2-trunk/trunk/xmpsdk/src/ExpatAdapter.cpp", line 95: Warning (Anachronism): Formal argument handler of type extern "C" void(*)(void*,const char*,const char*) in call to XML_SetProcessingInstructionHandler(XML_ParserStruct*, extern "C" void(*)(void*,const char*,const char*)) is being passed void(*)(void*,const char*,const char*).
127
"/home/Wani/GSoC/exiv2-trunk/trunk/xmpsdk/src/ExpatAdapter.cpp", line 96: Warning (Anachronism): Formal argument handler of type extern "C" void(*)(void*,const char*) in call to XML_SetCommentHandler(XML_ParserStruct*, extern "C" void(*)(void*,const char*)) is being passed void(*)(void*,const char*).
128
9 Warning(s) detected.
129
[  2%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/MD5.cpp.o
130
[  3%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/ParseRDF.cpp.o
131
[  4%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/UnicodeConversions.cpp.o
132
[  5%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/WXMPIterator.cpp.o
133
[  6%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/WXMPMeta.cpp.o
134
[  7%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/WXMPUtils.cpp.o
135
[  8%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XML_Node.cpp.o
136
[  9%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPCore_Impl.cpp.o
137
[ 10%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPIterator.cpp.o
138
[ 11%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPMeta-GetSet.cpp.o
139
[ 12%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPMeta-Parse.cpp.o
140
[ 13%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPMeta-Serialize.cpp.o
141
[ 14%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPMeta.cpp.o
142
[ 15%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPUtils-FileInfo.cpp.o
143
[ 16%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPUtils.cpp.o
144
Linking CXX static library libxmp.a
145
[ 16%] Built target xmp
146
Scanning dependencies of target exiv2lib
147
[ 17%] Building CXX object src/CMakeFiles/exiv2lib.dir/asfvideo.cpp.o
148
"/home/Wani/GSoC/exiv2-trunk/trunk/src/error.cpp", line 29: Error: Multiple declaration for rcsId.
149
1 Error(s) detected.
150
make[2]: *** [src/CMakeFiles/exiv2lib.dir/asfvideo.cpp.o] Error 2
151
make[1]: *** [src/CMakeFiles/exiv2lib.dir/all] Error 2
152
make: *** [all] Error 2
153
[Wani@Linux trunk]$
(2-2/8)