[Shake-dev] Compilation error: syntax error at ./knet2xml

Bruce Worden cbworden at gmail.com
Fri Dec 12 01:58:28 UTC 2014


Hi Branden,

I don't get that error. It's possible that the file was corrupted somehow. I'd suggest deleting knet2xml, getting it from svn again, and trying make again.

Bruce


On Dec 11, 2014, at 5:45 PM, Branden Christensen <branden.christensen at osop.com.pa> wrote:

> HI all:
> 
> 
> Buenas noches. 
> 
> When trying to compile ShakeMap revision 1362 on a 64-bit Ubuntu 14.04 machine I get the message below. Thank you for any suggestions.
> 
> $ sudo make all
> ...
> ...
> ...
> /usr/bin/install -m 0755 knet2xml /opt/shakemap//bin
> syntax error at ./knet2xml line 135, near "$ext qw(NS EW)"
> Global symbol "@files" requires explicit package name at ./knet2xml line 138.
> Global symbol "@files" requires explicit package name at ./knet2xml line 139.
> Global symbol "@files" requires explicit package name at ./knet2xml line 142.
> syntax error at ./knet2xml line 197, near "$comp qw( psa03 psa10 psa30 )"
> Global symbol "$comp" requires explicit package name at ./knet2xml line 198.
> Global symbol "$ref" requires explicit package name at ./knet2xml line 199.
> Global symbol "$comp" requires explicit package name at ./knet2xml line 199.
> Global symbol "$psa" requires explicit package name at ./knet2xml line 199.
> Global symbol "$comp" requires explicit package name at ./knet2xml line 199.
> syntax error at ./knet2xml line 200, near "}"
> ./knet2xml has too many errors.
> make[2]: *** [/opt/shakemap//bin/knet2xml] Error 1
> make[2]: Leaving directory `/opt/shakemap/src/xml'
> make[1]: *** [xml] Error 2
> make[1]: Leaving directory `/opt/shakemap/src'
> make: *** [all] Error 2
> 
> 
> 
> Kind Regards, 
> 
> 
> Branden Christensen
> Director, OSOP
> Sign up for the OSOP mailing list: http://www.osop.com.pa/about/osop-mailing-list/
> Visit us at AGU next week: Booth 2136
> LA SALSA VIVE...Gózala. Cali 2014. 
> 
> OSOP
> --
> 
> _______________________________________________
> Shake-dev mailing list
> Shake-dev at geohazards.usgs.gov
> https://geohazards.usgs.gov/mailman/listinfo/shake-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://geohazards.usgs.gov/pipermail/shake-dev/attachments/20141211/38fc2736/attachment.html>


More information about the Shake-dev mailing list