Re: gmt-5 Solaris acomp failed

Florian Wobbe <[email protected]>
Newsgroups gmane.comp.gis.gmt.user
Message-ID <[email protected]>
SunOS guys, there is no guarantee that the SunPro compiler will work. Gcc should be fine though with -DNO_SIGHANDLER. Please change the following lines in cmake/modules/ConfigureChecks.cmake and remove build/CMakeCache.txt:

-	check_symbol_exists (memalign       malloc.h HAVE_MEMALIGN)
-	check_symbol_exists (posix_memalign stdlib.h HAVE_POSIX_MEMALIGN)
+	check_function_exists (memalign       HAVE_MEMALIGN)
+	check_function_exists (posix_memalign HAVE_POSIX_MEMALIGN)

Also make sure that all dependent libs are available as 64 bit version and configure with

set (CMAKE_C_FLAGS -m64)

otherwise your users will have no fun at all. Use the -m64 compiler flag with GMT 4, too.

Cheers
Florian

To unsubscribe, send the message "signoff gmt-help" to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.