pkgsrc-Users archive

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

cairo build error (any2ppm.c:(.text+0x158): undefined reference to `cairo_image_surface_create')



Hi,

I'm trying to build 2014Q3 (also Q2, not difference) on an SLES 11.3
system and I am only partially surprised that my prepared script to
build a certain set of packages doesn't go through. It stops at trying
to build cairo (which belongs to a group of packages, regardless of
platform, that are notorious for build issues). Does that ring a bell
somewhere?

--- any2ppm ---
  CCLD     any2ppm
any2ppm-any2ppm.o: In function `_create_image':
any2ppm.c:(.text+0x158): undefined reference to `cairo_image_surface_create'
any2ppm-any2ppm.o: In function `write_ppm':
any2ppm.c:(.text+0x289): undefined reference to `cairo_image_surface_get_data'
any2ppm.c:(.text+0x294): undefined reference to `cairo_image_surface_get_height'
any2ppm.c:(.text+0x2a0): undefined reference to `cairo_image_surface_get_width'
any2ppm.c:(.text+0x2ab): undefined reference to `cairo_image_surface_get_stride'
any2ppm.c:(.text+0x2b5): undefined reference to `cairo_image_surface_get_format'
any2ppm-any2ppm.o: In function `cs_convert':
any2ppm.c:(.text+0x59d): undefined reference to `cairo_surface_destroy'
any2ppm.c:(.text+0x5a4): undefined reference to `cairo_status_to_string'
any2ppm.c:(.text+0x5c6): undefined reference to `cairo_surface_destroy'
any2ppm.c:(.text+0x5dc): undefined reference to `cairo_surface_status'
any2ppm.c:(.text+0x607): undefined reference to `cairo_surface_destroy'
any2ppm-any2ppm.o: In function `_create_image':
any2ppm.c:(.text+0x164): undefined reference to `cairo_surface_reference'
collect2: ld returned 1 exit status
*** [any2ppm] Error code 1

bmake: stopped in /dev/shm/sw-work/work-with-system-gcc-4.3.4/pkgsrc-2014Q3/graphics/cairo/work/cairo-1.12.16/test

This is cairo in itself trying to link to cairo for the test suite.
Needless to say, a plain configure && make outside pkgsrc works on this
system.


Any hints? Meanwhile, I'll try to get more skill in debugging builds
inside pkgsrc ... 


Alrighty then,

Thomas

-- 
Dr. Thomas Orgis
Universität Hamburg
RRZ / Zentrale Dienste / HPC
Schlüterstr. 70
20146 Hamburg
Tel.: 040/42838 8826
Fax: 040/428 38 6270

Attachment: smime.p7s
Description: S/MIME cryptographic signature



Home | Main Index | Thread Index | Old Index