#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@…): Replying to [comment:11 ryandesign@…]:
Several other ports use the same programming to force the use of gcc-4.2; these might also fail because of your rogue gcc-4.2/gcc-4.0 compilers, so I recommend you remove them. If you need the Apple versions of gcc while using Xcode 4.2, consider using the compilers installed by the apple-gcc42/apple-gcc40 ports. These should be slightly newer versions that should work on Lion.
OK thanks! I'm now building apple-gcc42 and try it again. One more question, how should I remove my "rough gcc4.2" compiles safely? -- Ticket URL: <https://trac.macports.org/ticket/32087#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS