Re: gmt-5 Solaris acomp failed
wolfgang Cohrs <[email protected]>
| Newsgroups | gmane.comp.gis.gmt.user |
|---|---|
| Message-ID | <LISTSERV%[email protected]> |
I've swapped the compiler
cmake ..
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /opt/csw/bin/gcc
-- Check for working C compiler: /opt/csw/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /opt/csw/bin/c++
-- Check for working CXX compiler: /opt/csw/bin/c++ -- works
make
Scanning dependencies of target gen_gmt_headers
[ 3%] Generating gmt_colornames.h, gmt_color_rgb.h
[ 3%] Generating gmt_datums.h
[ 3%] Generating gmt_ellipsoids.h
[ 3%] Generating gmt_keycases.h, gmt_keywords.h
[ 3%] Generating gmtmath.h, gmtmath_op.h, gmtmath_explain.h
[ 3%] Generating grdmath.h, grdmath_op.h, grdmath_explain.h
[ 6%] Generating gmt_dimensions.h
[ 6%] Built target gen_gmt_headers
Scanning dependencies of target pslib
[ 6%] Building C object src/CMakeFiles/pslib.dir/pslib.c.o
[ 9%] Building C object src/CMakeFiles/pslib.dir/common_string.c.o
[ 9%] Building C object src/CMakeFiles/pslib.dir/common_runpath.c.o
Linking C shared library libpsl.so
[ 12%] Built target pslib
Scanning dependencies of target gmtlib
[ 12%] Building C object src/CMakeFiles/gmtlib.dir/common_sighandler.c.o
/opt/GMT-5.1.1/src/gmt-5.1.1/src/common_sighandler.c: In function 'sig_handler':
/opt/GMT-5.1.1/src/gmt-5.1.1/src/common_sighandler.c:81:55: error: 'REG_EIP'
undeclared (first use in this function)
# define UC_IP(uc) ((void *) (uc)->uc_mcontext.gregs[REG_EIP])
^
/opt/GMT-5.1.1/src/gmt-5.1.1/src/common_sighandler.c:150:14: note: in
expansion of macro 'UC_IP'
array [0] = UC_IP (uc); /* caller's address */
^
/opt/GMT-5.1.1/src/gmt-5.1.1/src/common_sighandler.c:81:55: note: each
undeclared identifier is reported only once for each function it appears in
# define UC_IP(uc) ((void *) (uc)->uc_mcontext.gregs[REG_EIP])
^
/opt/GMT-5.1.1/src/gmt-5.1.1/src/common_sighandler.c:150:14: note: in
expansion of macro 'UC_IP'
array [0] = UC_IP (uc); /* caller's address */
^
*** Error code 1
The following command caused the error:
cd /opt/GMT-5.1.1/src/gmt-5.1.1/build/src && /opt/csw/bin/gcc
-DLIBRARY_EXPORTS -std=gnu99 -O3 -DNDEBUG -fPIC
-I/opt/GMT-5.1.1/src/gmt-5.1.1/build/src -I/opt/GMT-5.1.1/src/gmt-5.1.1/src
-I/opt/csw/include -I/opt/csw/gxx/include
-I/opt/GMT-5.1.1/src/gmt-5.1.1/build/src/gshhg
-I/opt/GMT-5.1.1/src/gmt-5.1.1/build/src/img
-I/opt/GMT-5.1.1/src/gmt-5.1.1/build/src/meca
-I/opt/GMT-5.1.1/src/gmt-5.1.1/build/src/mgd77
-I/opt/GMT-5.1.1/src/gmt-5.1.1/build/src/misc
-I/opt/GMT-5.1.1/src/gmt-5.1.1/build/src/potential
-I/opt/GMT-5.1.1/src/gmt-5.1.1/build/src/segy
-I/opt/GMT-5.1.1/src/gmt-5.1.1/build/src/spotter
-I/opt/GMT-5.1.1/src/gmt-5.1.1/build/src/x2sys -o
CMakeFiles/gmtlib.dir/common_sighandler.c.o -c
/opt/GMT-5.1.1/src/gmt-5.1.1/src/common_sighandler.c
make: Fatal error: Command failed for target
`src/CMakeFiles/gmtlib.dir/common_sighandler.c.o'
Current working directory /opt/GMT-5.1.1/src/gmt-5.1.1/build
*** Error code 1
The following command caused the error:
make -f src/CMakeFiles/gmtlib.dir/build.make src/CMakeFiles/gmtlib.dir/build
make: Fatal error: Command failed for target `src/CMakeFiles/gmtlib.dir/all'
Current working directory /opt/GMT-5.1.1/src/gmt-5.1.1/build
*** Error code 1
The following command caused the error:
make -f CMakeFiles/Makefile2 all
make: Fatal error: Command failed for target `all'
To unsubscribe, send the message "signoff gmt-help" to [email protected]