Subject: libcfitsio3: undefined references
Package: libcfitsio3
Version: 3.040-2
Severity: grave
Justification: renders package unusable

*** Please type your report below this line ***

after the removal of libcfitsio2 and its replacement with libcfitsio3 it
is impossible to compile anything linked to the cfitsio libraries:

_all_ the references to the cfitsio library functions are undefined

this simple program shows the problem:

       program fits

       integer istat,iunit
       istat   = 0
       CALL ftgiou(iunit,istat)
       print*,iunit
       CALL ftgiou(iunit,istat)
       print*,iunit
       CALL ftgiou(iunit,istat)
       print*,iunit

       end


[EMAIL PROTECTED]:~$ gfortran -o fits fits.f -lcfitsio
/tmp/ccSvJBWN.o: In function `MAIN__':
fits.f:(.text+0x3a): undefined reference to `ftgiou_'
fits.f:(.text+0xad): undefined reference to `ftgiou_'
fits.f:(.text+0x120): undefined reference to `ftgiou_'
collect2: ld returned 1 exit status

[EMAIL PROTECTED]:~$ g77 -o fits fits.f -lcfitsio
/tmp/ccw6KIiQ.o: In function `MAIN__':
fits.f:(.text+0x1b): undefined reference to `ftgiou_'
fits.f:(.text+0x61): undefined reference to `ftgiou_'
fits.f:(.text+0xa7): undefined reference to `ftgiou_'
collect2: ld returned 1 exit status

recompiling libcfitsio3 from Debian sources solves the problem.

This is similar to the bug #231069 - now closed.

Gianc.

-- System Information:
Debian Release: lenny/sid
   APT prefers testing
   APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages libcfitsio3 depends on:
ii  libc6                         2.5-9+b1   GNU C Library: Shared libraries

libcfitsio3 recommends no packages.

-- no debconf information

-- 
Giancarlo de Gasperis
Dipartimento di Fisica -- Università di Roma "Tor Vergata"
Via della Ricerca Scientifica 1, I-00133 ROMA RM
Tel.: +39 06 7259 4118        Fax: +39 06 202 3507






Reply via email to