compiling gtkglext/gtk/pango apps

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a small application that uses OpenGL/gtkglext/gtk/pango
libraries (it's a plotting program), that compiled fine under Fedora
Core 5.  When I try compiling under Fedora Core 6, it compiles fine,
but gives several cairo related errors when it tries to link.  The
linking command is:

gcc -o test.e -g -O3 -Wall -I/home/doug/x86_64/include
-DSYS_LITTLE_ENDIAN main_test.o -L/home/doug/x86_64/lib -ldasscene-1.1
-ldasdata-1.2 -ldasutil-2.2 `pkg-config --libs gtkglext-1.0 cairo
pangoft2 pango pangox pangoxft` -lGL -lGLU  -lm

and it gives several undefined reference errors such as:

/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../lib64/libgtk-x11-2.0.so:
undefined reference to `cairo_surface_get_type'

All the undefined references refer to cairo functions.  I added in
`pkg-config --libs cairo-ft cairo-pdf cairo-ps cairo-xlib
cairo-xlib-xrender cairo` to link to the Cairo libraries, but this
doesn't seem to help the situation.  Any suggestions for why this is
happening.  It worked fine under Fedora Core 5.  Thanks.

Doug


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux