[cairo] Note for compiling cairo with Sun Studio on Solaris
Ginn.Chen at Sun.COM
Wed Mar 31 02:12:44 PDT 2010
cairo now uses -pthread.
Sun Studio C compiler doesn't have this option, but it treats -pthread as option -p. (Prepares the object code to collect data for profiling with gprof(1). )
Then you will get an undefined symbol error ( _mcount ) at link time.
Then correct option for Sun C compiler is -mt -lpthread.
I don't know how to fix it gracefully in configure.ac.
Attached is a draft patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 810 bytes
Desc: not available
More information about the cairo