This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

/!\ This page is not a bug tracker. If you run into a problem not listed here, please file a bug.
When entering a new problem, please enter it above the others, and follow the format of the JhbuildIssues/JhbuildIssueTemplate for new problems/modules.

List of common errors for the module pango.

Error - undefined reference to cairo_surface_write_to_png

Stage: build

cairosimple.c: In function 'main':
cairosimple.c:82: warning: implicit declaration of function
'cairo_surface_write_to_png'
/bin/sh ../libtool --mode=link gcc -g -O2 -Wall -o cairosimple cairosimple.o
../pango/libpango-1.0.la ../pango/libpangocairo-1.0.la -L/opt/gnome2/lib
-lfreetype -lz -lcairo
gcc -g -O2 -Wall -o .libs/cairosimple cairosimple.o
../pango/.libs/libpango-1.0.so -L/opt/gnome2/lib
../pango/.libs/libpangocairo-1.0.so -L/usr/X11R6/lib
/home/liberforce/cvs/gnome2/pango/pango/.libs/libpangoft2-1.0.so
/home/liberforce/cvs/gnome2/pango/pango/.libs/libpango-1.0.so
/opt/gnome2/lib/libgobject-2.0.so /opt/gnome2/lib/libgmodule-2.0.so -ldl
/opt/gnome2/lib/libglib-2.0.so /opt/gnome2/lib/libcairo.so
/opt/gnome2/lib/libXrender.so -lX11 /opt/gnome2/lib/libfontconfig.so
/usr/lib/libexpat.so /usr/lib/libfreetype.so -lz -lm -Wl,--rpath -Wl,/opt/gnome2/lib
cairosimple.o: In function `main':
/home/liberforce/cvs/gnome2/pango/examples/cairosimple.c:82: undefined reference
to `cairo_surface_write_to_png'

Explanation:

Solution:

Warning - x development libraries not found

Stage: configure

checking for X... no
configure: warning: X development libraries not found

Explanation:

Solution:

Error - undefined reference to `pangoft2_viewer'

Stage: build

gcc -g -O0 -Wall -o .libs/pango-view renderdemo.o viewer-x.o viewer-main.o pango-view.o viewer-pangox.o ../pango/.libs/libpango-1.0.so -L/opt/gnome2/lib ../pango/.libs/libpangox-1.0.so /opt/cvs/gnome2/pango/pango/.libs/libpango-1.0.so -lm
/opt/gnome2/lib/libgobject-2.0.so /opt/gnome2/lib/libgmodule-2.0.so -ldl /opt/gnome2/lib/libglib-2.0.so -lrt -lX11 -Wl,--rpath -Wl,/opt/gnome2/lib
pango-view.o:(.data+0x0): undefined reference to `pangoft2_viewer'
collect2: ld returned 1 exit status
make[3]: *** [pango-view] Error 1
make[3]: Leaving directory `/opt/cvs/gnome2/pango/examples'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/cvs/gnome2/pango/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/cvs/gnome2/pango'
make: *** [all] Error 2

Explanation:

Solution:



2024-10-23 11:37