On Wednesday 19 March 2008 04:58, Willmott, Paul wrote:
Hi All,
I've been working on a general c/c++ astrodynamics library. It is strictly a work in progress, and so far only includes the basic astronomy routines. Next up will be the orbit propagators, and tracking stuff. Anyway, its time for it to see the outside world. It can be downloaded from here:
http://homepage.mac.com/pclwillmott/GAL/index.html
Its released under GPL 2 and was developed under OSX using the GNU development tools, so should compile OK on UNIX / GNU Linux / and under cygwin in Windows.
The routines are primitives, and it is deliberatly not framework based, so you can rip bits for your projects without lots of baggage.
Please let me know any comments.
snipped
Hi Paul, I had a go at your GAL package on my Debian 4.0 hppa box. Download, unpack, configure, make and make install work well but make check barfs with the trace you'll see quoted below. I don't have the programming skills to do anything with it but I'm always glad to try and break software :-) .
73 de Geoff vk2tfg.
hppa:/home/vk2tfg/libgal-0.1.0# make check Making check in test make[1]: Entering directory `/home/vk2tfg/libgal-0.1.0/test' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/home/vk2tfg/libgal-0.1.0/test' Making check in vec_mat make[1]: Entering directory `/home/vk2tfg/libgal-0.1.0/vec_mat' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/home/vk2tfg/libgal-0.1.0/vec_mat' Making check in ephemerides make[1]: Entering directory `/home/vk2tfg/libgal-0.1.0/ephemerides' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/home/vk2tfg/libgal-0.1.0/ephemerides' Making check in pstrings make[1]: Entering directory `/home/vk2tfg/libgal-0.1.0/pstrings' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/home/vk2tfg/libgal-0.1.0/pstrings' Making check in star make[1]: Entering directory `/home/vk2tfg/libgal-0.1.0/star' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/home/vk2tfg/libgal-0.1.0/star' Making check in eao make[1]: Entering directory `/home/vk2tfg/libgal-0.1.0/eao' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/home/vk2tfg/libgal-0.1.0/eao' Making check in date_time make[1]: Entering directory `/home/vk2tfg/libgal-0.1.0/date_time' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/home/vk2tfg/libgal-0.1.0/date_time' make[1]: Entering directory `/home/vk2tfg/libgal-0.1.0' make gal_tdatetime gal_tvecmat gal_tprecnut gal_tearthrot gal_tephemerides gal_tpstrings gal_tstar make[2]: Entering directory `/home/vk2tfg/libgal-0.1.0' gcc -DHAVE_CONFIG_H -I. -Itest -g -O2 -c -o gal_tdatetime.o `test -f 'date_time/gal_tdatetime.c' || echo './'`date_time/gal_tdatetime.c In file included from date_time/gal_tdatetime.c:44: test/gal_test_common.h:78:3: warning: no newline at end of file In file included from test/gal_test.h:38, from date_time/gal_tdatetime.c:45: test/gal_test_start.h:93:3: warning: no newline at end of file In file included from test/gal_test.h:39, from date_time/gal_tdatetime.c:45: test/gal_test_stop.h:82:3: warning: no newline at end of file In file included from test/gal_test.h:40, from date_time/gal_tdatetime.c:45: test/gal_vcv.h:92:3: warning: no newline at end of file In file included from test/gal_test.h:41, from date_time/gal_tdatetime.c:45: test/gal_vdv.h:94:3: warning: no newline at end of file In file included from test/gal_test.h:42, from date_time/gal_tdatetime.c:45: test/gal_viv.h:92:3: warning: no newline at end of file In file included from test/gal_test.h:43, from date_time/gal_tdatetime.c:45: test/gal_vsv.h:92:3: warning: no newline at end of file In file included from date_time/gal_tdatetime.c:45: test/gal_test.h:70:3: warning: no newline at end of file date_time/gal_tdatetime.c:110:3: warning: no newline at end of file /bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -o gal_tdatetime gal_tdatetime.o libgal_test.la libgal.la libtool: link: gcc -g -O2 -o .libs/gal_tdatetime gal_tdatetime.o ./.libs/libgal_test.a ./.libs/libgal.so -Wl,-rpath -Wl,/usr/local/lib ./.libs/libgal.so: undefined reference to `sqrt' ./.libs/libgal.so: undefined reference to `floor' ./.libs/libgal.so: undefined reference to `fmod' ./.libs/libgal.so: undefined reference to `cos' ./.libs/libgal.so: undefined reference to `sin' ./.libs/libgal.so: undefined reference to `atan2' ./.libs/libgal.so: undefined reference to `pow' ./.libs/libgal.so: undefined reference to `atan' collect2: ld returned 1 exit status make[2]: *** [gal_tdatetime] Error 1 make[2]: Leaving directory `/home/vk2tfg/libgal-0.1.0' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/home/vk2tfg/libgal-0.1.0' make: *** [check-recursive] Error 1 hppa:/home/vk2tfg/libgal-0.1.0#