compilation error related to cairo libs

"Lijun Diao" <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <7106FAA965434762B3B0D33E1CEB1E47@ljdiaoPC>
Hi, all:

It is the second time I am sending the e-mail. I am not sure the first one was sent successfully since I am new register. My questions is:

I am compiling to build an executable and got the error messages as:

“
/opt/ncarg/lib/libncarg_gks.a(cro.o): In function `GetCROClipping':
cro.c:(.text+0x12c3): undefined reference to `cairo_clip_extents'
/opt/ncarg/lib/libncarg_gks.a(cro.o): In function `CROpict_init':
cro.c:(.text+0x13cc): undefined reference to `cairo_clip_extents'
/opt/ncarg/lib/libncarg_gks.a(cro.o): In function `cro_OpenWorkstation':
cro.c:(.text+0x4192): undefined reference to `cairo_ps_surface_set_eps'
/opt/ncarg/lib/libncarg_gks.a(cro.o): In function `cro_Cellarray':
cro.c:(.text+0x4a0a): undefined reference to `cairo_pattern_get_rgba'
collect2: ld returned 1 exit status”

I guess it is related to the cairo libs installed on our machine.  Either I need the development version of cairo, and I may only have the run-time version of cairo. or, maybe I just have an older version of cairo as suggested by th ncarg lib helpdesk. 

I used the ‘locate libcairo’ and got the result:

“
/opt/exelis/idl82/idlde/bin.linux.x86/libcairo-swt.so
/usr/lib/libcairo.so.2
/usr/lib/libcairo.so.2.9.2
/usr/lib64/libcairo.so
/usr/lib64/libcairo.so.2
/usr/lib64/libcairo.so.2.9.2
/var/lib/systemimager/images/oscarimage/usr/lib64/libcairo.so.2
/var/lib/systemimager/images/oscarimage/usr/lib64/libcairo.so.2.9.2”

Can anybody confirm my problem and point to the right cairo libraries?

thanks,

-----------------------------------------------------------------------------
Lijun Diao
[email protected]
Research Assistant
Department of Earth & Atmospheric Sciences
University of Houston
4800 Calhoun RD., Bldg. S&R1-312
Houston, TX 77204-5007

-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.