[SAC-HELP] binary distribution linux-64 bit, examples compile issue

Rob Porritt rob at seismo.berkeley.edu
Wed Feb 17 10:51:00 PST 2010


Hi all,

I've recently downloaded sac101.3b. I want to use the libraries (libsac.a)
and so proceeded through the examples in the documentation, but the makefile
returned errors. I was able to make it by adding -I../../include,
-L../../lib, and -lm to the FFLAGS and CFLAGS:
FFLAGS=-Wall `sac-config --cflags` -I../../include -L../../lib -lm
CFLAGS=-Wall `sac-config --cflags` -I../../include -L../../lib -lm

I also had to add a standard header to wsac5c.c to define INT32_MAX
#include <stdint.h>

Hope this is helpful if anyone else has these problems.

Rob


-- 
Rob Porritt, GG
UC Berkeley Earth and Planetary Sciences PhD Candidate
Berkeley Seismological Laboratory
http://seismo.berkeley.edu/~rob/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.iris.washington.edu/pipermail/sac-help/attachments/20100217/88d86784/attachment.html>


More information about the sac-help mailing list