ctio - suse 10.2 - PC-IRAF Revision 2.12.2-EXPORT
kanaan wrote on Nov 02, 2007
Hi iraf users and supporters,
my disk crashed, I reinstalled everything from backup. My iraf install had several quirks so I decide to redo it from scratch.
As the subject says I run suse10.2 + iraf 2.12.2
I can' t get ctio to compile.
I did all as I am told by the install instructions. Then I run
mkpkg -p ctio
and I get this:
warning: library `libpkg.a' not found
xc -c -w -p ctio t_mkshift.x t_normalize.x t_ringpars.x t_velocity.x t_zeropt.x
t_mkshift.x:
t_mkshift:
gcoords:
deltas:
load_table:
mkdelta:
mkimscript:
unwhite:
...
t_mkshift.c:382: error: conflicting types for 'mkdela_'
t_mkshift.c:248: error: previous declaration of 'mkdela_' was here
ar r /home/hal/iraf_install/extern/ctio/fabry/libpkg.a getentry.o getradii.o hdr
.o icntr.o lfit.o peaks.o rngfit.o simul.o t_avgvel.o t_findsky.o t_fitring.o t_
icntr.o t_mkcube.o t_mkshift.o t_normalize.o t_ringpars.o t_velocity.o t_zeropt.
o
ar: creating /home/hal/iraf_install/extern/ctio/fabry/libpkg.a
ar: t_mkshift.o: No such file or directory
ranlib libpkg.a
ranlib: 'libpkg.a': No such file
Updated 18 files in libpkg.a
Warning, mkpkg line 12: module `libpkg.a' not found or returned error
this goes on and on and no executable is created in the end. why?
I did compile tables and stsdas for my system, no problem. The noao and the base system were downloaded for suse.
any ideas?
thanks,
Antonio
my disk crashed, I reinstalled everything from backup. My iraf install had several quirks so I decide to redo it from scratch.
As the subject says I run suse10.2 + iraf 2.12.2
I can' t get ctio to compile.
I did all as I am told by the install instructions. Then I run
mkpkg -p ctio
and I get this:
warning: library `libpkg.a' not found
xc -c -w -p ctio t_mkshift.x t_normalize.x t_ringpars.x t_velocity.x t_zeropt.x
t_mkshift.x:
t_mkshift:
gcoords:
deltas:
load_table:
mkdelta:
mkimscript:
unwhite:
...
t_mkshift.c:382: error: conflicting types for 'mkdela_'
t_mkshift.c:248: error: previous declaration of 'mkdela_' was here
ar r /home/hal/iraf_install/extern/ctio/fabry/libpkg.a getentry.o getradii.o hdr
.o icntr.o lfit.o peaks.o rngfit.o simul.o t_avgvel.o t_findsky.o t_fitring.o t_
icntr.o t_mkcube.o t_mkshift.o t_normalize.o t_ringpars.o t_velocity.o t_zeropt.
o
ar: creating /home/hal/iraf_install/extern/ctio/fabry/libpkg.a
ar: t_mkshift.o: No such file or directory
ranlib libpkg.a
ranlib: 'libpkg.a': No such file
Updated 18 files in libpkg.a
Warning, mkpkg line 12: module `libpkg.a' not found or returned error
this goes on and on and no executable is created in the end. why?
I did compile tables and stsdas for my system, no problem. The noao and the base system were downloaded for suse.
any ideas?
thanks,
Antonio
Mike Fitzpatrick wrote on Nov 02, 2007
For this particular error the problem is that the calls to mkdelta() in the ctio$fabry/t_mkshift.x file are being passed the pointer 'work' as the last argument instead of 'Memr[work]'. This is causing a type conflict in a picky compiler but is a real bug.
I've uploaded a patched source tarball to the download area you can compile, or else just use the pre-compiled linux binaries.
Cheers,
-Mike
I've uploaded a patched source tarball to the download area you can compile, or else just use the pre-compiled linux binaries.
Cheers,
-Mike
Last post on Nov 02, 2007