I am trying to compile Swiss Ephemeris (ftp://ftp.astro.com/pub/swisseph/swe...1.80.00.tar.gz) on a host with Ubuntu on board (uname -a gives "Linux hostname 3.8.0-27-generic #40-Ubuntu SMP Tue Jul 9 00:17:05 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux"). After compilation (with some insignificant warnings) is produces swetest - testing utility, which stops execution with "Segmentation fault" disgnistics while trying to calculate "True Node" value. So the output looks like:

root# ./swetestDate ?11.11.2012date (dmy) 11.11.2012 greg. 0:00:00 ET version 1.80.00ET: 2456242.50000000000Epsilon (true) 2326'10.3185Nutation 0 0'12.8789 -0 0' 5.0637Sun 22859'59.3595 -0 0' 0.4087 0.990046642 1 0'20.7731Moon 18831'57.8543 -354'46.3397 0.002459541 1421'16.6092Mercury 243 1'34.8373 -140'51.1438 0.725810675 -038'50.8096Venus 19623'20.1064 145'36.9548 1.314241757 113'33.8787Mars 26524'20.0798 -1 5'27.6126 2.088236770 044'55.7696Jupiter 74 7'54.6997 -049'34.6905 4.133908104 -0 6'44.8820Saturn 21420'13.6282 214'13.1210 10.732657811 0 7' 6.4939Uranus 5 2'49.4996 -044'16.5288 19.336198119 -0 1'31.9324Neptune 33021'30.7716 -037' 3.2729 29.781739405 -0 0' 0.6865Pluto 27740'41.7136 326'39.7902 32.974892720 0 1'32.2583mean Node 23617'52.2579 0 0' 0.0000 0.002569555 -0 3'10.7224Segmentation faultMy humble investigation points me to 'swe_calc' call, the main one for calculation of planetary bodiescoordinates calculation. It is documented here: http://www.astro.com/swisseph/swephp...#_Toc365635945
I would appreciate any suggestions or ideas to fix this.
Thanks in advance.
P.S.Swiss Ephemeris is an open source C library for astronomical and astrological calculationsof celestial bodies coordinates, speeds, etc.


Check Solution