[Shake-dev] ShakeMap Update

Peter Lombard lombard at seismo.berkeley.edu
Fri Mar 4 21:02:05 UTC 2011


Bruce,

I ran into a problem with src/contour/directivity.c when I tried to install it
on Solaris 10 with Sun Studio 12 compilers. directivity.c defines a variable
"_start". It seems that this same symbol is used in the C runtime code in
/opt/SUNWspro/prod/lib/crt1.o. To get around the problem, I renamed _start to
v3_start throughout directivity.c. To maintained consistency, I renamed all
the other variables on the same line where "_start" was declared.  See the
attached file.

The revised code compiles and links OK. I have not tested it yet, since this
is a new feature to ShakeMap.

Pete


-------------- next part --------------
A non-text attachment was scrubbed...
Name: directivity.c
Type: application/octet-stream
Size: 15707 bytes
Desc: not available
URL: <http://geohazards.usgs.gov/pipermail/shake-dev/attachments/20110304/3f96e0d0/attachment.obj>


More information about the Shake-dev mailing list