[Cairo] Link Problems
Brian Victor
bhv1 at psu.edu
Sat Sep 13 08:56:12 PDT 2003
On Fri, Sep 12, 2003 at 05:44:56PM -0400, Brian Victor wrote:
>/tmp/ccDHKti1.o(.text+0x114): In function `triangle':
>/home/bhv1/svgcode/cairo-demo/X11/cairo-demo.c:56: undefined reference
>to `cairo_move_to'
[snip]
>gcc version 2.95.4 20011006 (Debian prerelease)
It seems this isn't enough. Using 3.3 works fine. Which raises the
question:
slim_internal.h:79
#if __GNUC__ >= 2 && defined(__ELF__)
I don't understand what slim does, exactly, but hidden proto/def macros
prevented successful linking on GCC 2.95.4. Should the above line be
checking for version 3?
--
Brian
More information about the cairo
mailing list