Mary Haley,<div><br></div><div>1.2.4, sound like that is the problem. I'll send a message to out SA.</div><div><br></div><div>-- Thanks, Leon <br><br><div class="gmail_quote">On Tue, Jun 12, 2012 at 7:31 PM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Leon,<br>
<br>
What version of cairo are you linking against? I've never seen this error message before, so I'm not sure if it is a version issue. I did google this message, and one of the matches did come up and say it could be a version issue. We recommend linking against cairo V1.10.2 or later. For information about building cairo yourself, see:<br>
<br>
<a href="http://www.ncl.ucar.edu/Download/build_from_src.shtml#cairo" target="_blank">http://www.ncl.ucar.edu/Download/build_from_src.shtml#cairo</a><br>
<br>
--Mary<br>
<br>
<br>
On Jun 12, 2012, at 12:12 PM, Leon Benjamin wrote:<br>
<br>
> I'm trying to link on redhat 64bit using the ncarg-6.1.0-beta binaries wiht gfortran 4.7 and I get a undefined reference to cairo_clip_extents and cairo_pattern_get_rgba. I'm wondering what libs I need to include?<br>
><br>
> -- Thanks, Leon<br>
><br>
><br>
> On Mon, Jun 11, 2012 at 9:10 PM, Leon Benjamin <<a href="mailto:leon.a.benjamin@noaa.gov">leon.a.benjamin@noaa.gov</a>> wrote:<br>
> Hi,<br>
><br>
> What libs are I'm missing. I'm on a 64-bit redhat machine using gfortran 4.7.<br>
> I'm using the binaries for ncarg-6.1.0-beta<br>
><br>
> -L/usr/local/ncarg/lib -L/usr/X11R6/lib64 -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lcairo -lXrender -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz -lbz2 -lpthread<br>
> /usr/local/ncarg/lib/libncarg_gks.a(cro.o): In function `GetCROClipping':<br>
> cro.c:(.text+0x12df): undefined reference to `<br>
> '<br>
> /usr/local/ncarg/lib/libncarg_gks.a(cro.o): In function `CROpict_init':<br>
> cro.c:(.text+0x1427): undefined reference to `cairo_clip_extents'<br>
> /usr/local/ncarg/lib/libncarg_gks.a(cro.o): In function `cro_Cellarray':<br>
> cro.c:(.text+0x59ea): undefined reference to `cairo_pattern_get_rgba'<br>
> collect2: error: ld returned 1 exit status<br>
><br>
> -- Thanks, Leon<br>
><br>
><br>
><br>
> _______________________________________________<br>
> ncl-install mailing list<br>
> List instructions, subscriber options, unsubscribe:<br>
> <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br>
<br>
</blockquote></div><br></div>