Skip Menu |

This queue is for tickets about the Astro-FITS-CFITSIO CPAN distribution.

Report information
The Basics
Id: 118394
Status: open
Priority: 0/
Queue: Astro-FITS-CFITSIO

People
Owner: Nobody in particular
Requestors: kmx [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: v1.11 - linker error - undefined undefined reference to ffgsky / ffgksl / ffeopn
I have experienced the following error when trying to build  Astro::FITS::CFITSIO v1.11

gcc -c  -I      -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2     -DVERSION=\"1.11\"         -DXS_VERSION=\"1.11\"  "-IC:\tmp524\perl\lib\CORE"   util.c
"C:\tmp524\perl\bin\perl.exe" -MExtUtils::Mksymlists \
     -e "Mksymlists('NAME'=>\"Astro::FITS::CFITSIO\", 'DLBASE' => 'CFITSIO', 'DL_FUNCS' => {  }, 'FUNCLIST' => [], 'IMPORTS' => {  }, 'DL_VARS' => []);"
g++.exe CFITSIO.def -o blib\arch\auto\Astro\FITS\CFITSIO\CFITSIO.xs.dll -mdll -s -L"C:\tmp524\perl\lib\CORE" -L"C:\tmp524\c\lib" CFITSIO.o util.o   "C:\tmp524\perl\lib\CORE\libperl524.a" "C:\tmp524\c\lib\libcfitsio.a" "C:\tmp524\c\i686-w64-mingw32\lib\libmoldname.a" "C:\tmp524\c\i686-w64-mingw32\lib\libkernel32.a" "C:\tmp524\c\i686-w64-mingw32\lib\libuser32.a" "C:\tmp524\c\i686-w64-mingw32\lib\libgdi32.a" "C:\tmp524\c\i686-w64-mingw32\lib\libwinspool.a" "C:\tmp524\c\i686-w64-mingw32\lib\libcomdlg32.a" "C:\tmp524\c\i686-w64-mingw32\lib\libadvapi32.a" "C:\tmp524\c\i686-w64-mingw32\lib\libshell32.a" "C:\tmp524\c\i686-w64-mingw32\lib\libole32.a" "C:\tmp524\c\i686-w64-mingw32\lib\liboleaut32.a" "C:\tmp524\c\i686-w64-mingw32\lib\libnetapi32.a" "C:\tmp524\c\i686-w64-mingw32\lib\libuuid.a" "C:\tmp524\c\i686-w64-mingw32\lib\libws2_32.a" "C:\tmp524\c\i686-w64-mingw32\lib\libmpr.a" "C:\tmp524\c\i686-w64-mingw32\lib\libwinmm.a" "C:\tmp524\c\i686-w64-mingw32\lib\libversion.a" "C:\tmp524\c\i686-w64-mingw32\lib\libodbc32.a" "C:\tmp524\c\i686-w64-mingw32\lib\libodbccp32.a" "C:\tmp524\c\i686-w64-mingw32\lib\libcomctl32.a" -Wl,--enable-auto-image-base
CFITSIO.o:CFITSIO.c:(.text+0x49e35): undefined reference to `ffgsky'
CFITSIO.o:CFITSIO.c:(.text+0x4a1d1): undefined reference to `ffgksl'
CFITSIO.o:CFITSIO.c:(.text+0x7ff82): undefined reference to `ffeopn'
collect2.exe: error: ld returned 1 exit status
dmake.exe:  Error code 129, while making 'blib\arch\auto\Astro\FITS\CFITSIO\CFITSIO.xs.dll'
FAIL
Subject: Re: [rt.cpan.org #118394] v1.11 - linker error - undefined undefined reference to ffgsky / ffgksl / ffeopn
Date: Sat, 15 Oct 2016 11:52:54 -0400
To: bug-Astro-FITS-CFITSIO [...] rt.cpan.org
From: Peter Ratzlaff <pratzlaff [...] cfa.harvard.edu>
These routines were added in cfitsio 3.39, so that is the version which is necessary to have. On 10/15/2016 09:42 AM, kmx via RT wrote: Show quoted text
> Sat Oct 15 09:42:39 2016: Request 118394 was acted upon. > Transaction: Ticket created by KMX > Queue: Astro-FITS-CFITSIO > Subject: v1.11 - linker error - undefined undefined reference to ffgsky / > ffgksl / ffeopn > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: kmx@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=118394 > > > > I have experienced the following error when trying to build > Astro::FITS::CFITSIO v1.11 > > gcc -c -I -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT > -DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2 > -DVERSION=\"1.11\" -DXS_VERSION=\"1.11\" "-IC:\tmp524\perl\lib\CORE" util.c > "C:\tmp524\perl\bin\perl.exe" -MExtUtils::Mksymlists \ > -e "Mksymlists('NAME'=>\"Astro::FITS::CFITSIO\", 'DLBASE' => 'CFITSIO', > 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" > g++.exe CFITSIO.def -o blib\arch\auto\Astro\FITS\CFITSIO\CFITSIO.xs.dll -mdll > -s -L"C:\tmp524\perl\lib\CORE" -L"C:\tmp524\c\lib" CFITSIO.o util.o > "C:\tmp524\perl\lib\CORE\libperl524.a" "C:\tmp524\c\lib\libcfitsio.a" > "C:\tmp524\c\i686-w64-mingw32\lib\libmoldname.a" > "C:\tmp524\c\i686-w64-mingw32\lib\libkernel32.a" > "C:\tmp524\c\i686-w64-mingw32\lib\libuser32.a" > "C:\tmp524\c\i686-w64-mingw32\lib\libgdi32.a" > "C:\tmp524\c\i686-w64-mingw32\lib\libwinspool.a" > "C:\tmp524\c\i686-w64-mingw32\lib\libcomdlg32.a" > "C:\tmp524\c\i686-w64-mingw32\lib\libadvapi32.a" > "C:\tmp524\c\i686-w64-mingw32\lib\libshell32.a" > "C:\tmp524\c\i686-w64-mingw32\lib\libole32.a" > "C:\tmp524\c\i686-w64-mingw32\lib\liboleaut32.a" > "C:\tmp524\c\i686-w64-mingw32\lib\libnetapi32.a" > "C:\tmp524\c\i686-w64-mingw32\lib\libuuid.a" > "C:\tmp524\c\i686-w64-mingw32\lib\libws2_32.a" > "C:\tmp524\c\i686-w64-mingw32\lib\libmpr.a" > "C:\tmp524\c\i686-w64-mingw32\lib\libwinmm.a" > "C:\tmp524\c\i686-w64-mingw32\lib\libversion.a" > "C:\tmp524\c\i686-w64-mingw32\lib\libodbc32.a" > "C:\tmp524\c\i686-w64-mingw32\lib\libodbccp32.a" > "C:\tmp524\c\i686-w64-mingw32\lib\libcomctl32.a" -Wl,--enable-auto-image-base > CFITSIO.o:CFITSIO.c:(.text+0x49e35): undefined reference to `ffgsky' > CFITSIO.o:CFITSIO.c:(.text+0x4a1d1): undefined reference to `ffgksl' > CFITSIO.o:CFITSIO.c:(.text+0x7ff82): undefined reference to `ffeopn' > collect2.exe: error: ld returned 1 exit status > dmake.exe: Error code 129, while making > 'blib\arch\auto\Astro\FITS\CFITSIO\CFITSIO.xs.dll' > FAIL >
That's it, thanks.