[MacPorts] #32087: cairo: error: implicit declaration of function "__builtin___stpncpy_chk"

MacPorts noreply at macports.org
Wed Nov 16 13:58:26 PST 2011


#32087: cairo: error: implicit declaration of function "__builtin___stpncpy_chk"
------------------------------+---------------------------------------------
 Reporter:  ongrie@…          |       Owner:  ryandesign@…           
     Type:  defect            |      Status:  new                    
 Priority:  Normal            |   Milestone:                         
Component:  ports             |     Version:  2.0.3                  
 Keywords:  lion              |        Port:  cairo                  
------------------------------+---------------------------------------------

Comment(by ongrie@…):

 I set the compiler to LLVM GCC:


 {{{
 sudo port install cairo configure.compiler=llvm-gcc-4.2
 }}}

 and executed clean, then tried to compile it again, but no luck. Although
 I've got another error message, I still don't know what to do. I attached
 the new log (llvm-main.log) and post the relevant line below.


 {{{
 :info:build Undefined symbols for architecture x86_64:
 :info:build   "_cairo_boilerplate_get_target_by_name", referenced from:
 :info:build       _main in cairo_sphinx-sphinx.o
 :info:build ld: symbol(s) not found for architecture x86_64
 :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
 :info:build make[4]: *** [cairo-sphinx] Error 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/32087#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list