#72 undefined reference to `_gsl_sf_coulomb_wave_FGp_array_e'

critical
closed-fixed
core (120)
5
2003-11-22
2003-09-14
Anonymous
No

I am running the latest cygwin with:
windows 2k server sp4
perl 5.8.0
gnu make 3.80

I have tried installing via perl -e shell -MCPAN and
download source and compile (which this is)

I saw the same error on both attempts..

gcc -c -I/home/Administrator/PDL-2.4.0/Basic/Core -
I/usr/include -DPERL_USE_SAFE_PUTENV -fno-strict-
aliasing -DUSEIMP
ORTLIB -O3 -DVERSION=\"2.4.0\" -
DXS_VERSION=\"2.4.0\" "-I/usr/lib/perl5/5.8.0/cygwin-
multi-64int/CORE" COULOMB.c
Running Mkbootstrap for PDL::GSLSF::COULOMB ()
chmod 644 COULOMB.bs
rm -
f ../../../../blib/arch/auto/PDL/GSLSF/COULOMB/COULOMB
.dll
LD_RUN_PATH="" ld2 -s -L/usr/local/lib COULOMB.o -
o ../../../../blib/arch/auto/PDL/GSLSF/COULOMB/COULOM
B.dll /usr/lib
/perl5/5.8.0/cygwin-multi-64int/CORE/libperl.dll.a -
L/usr/lib -lgsl -lgslcblas -lm
gcc -shared -o COULOMB.dll -Wl,--out-
implib=libCOULOMB.dll.a -Wl,--export-all-symbols -Wl,--
enable-auto-import -Wl,--st
ack,8388608 \ -s -L/usr/local/lib
COULOMB.o /usr/lib/perl5/5.8.0/cygwin-multi-
64int/CORE/libperl.dll.a -L/usr/lib -lgsl -lgslcblas -l
m
Creating library file: libCOULOMB.dll.a
COULOMB.o(.text+0x23f1):COULOMB.c: undefined
reference to `_gsl_sf_coulomb_wave_FGp_array_e'
COULOMB.o(.text+0x3d29):COULOMB.c: undefined
reference to `_gsl_sf_coulomb_CL'
collect2: ld returned 1 exit status
perlld: *** system() failed to execute
gcc -shared -o COULOMB.dll -Wl,--out-
implib=libCOULOMB.dll.a -Wl,--export-all-symbols -Wl,--
enable-auto-import -Wl,--st
ack,8388608 \ -s -L/usr/local/lib
COULOMB.o /usr/lib/perl5/5.8.0/cygwin-multi-
64int/CORE/libperl.dll.a -L/usr/lib -lgsl -lgslcblas -l
m

make[4]: ***
[../../../../blib/arch/auto/PDL/GSLSF/COULOMB/COULOMB
.dll] Error 1
make[3]: *** [subdirs] Error 2
make[2]: *** [subdirs] Error 2
make[1]: *** [subdirs] Error 2
make: *** [subdirs] Error 2
make[4]: Leaving directory `/home/Administrator/PDL-
2.4.0/Lib/GSL/SF/coulomb'
make[3]: Leaving directory `/home/Administrator/PDL-
2.4.0/Lib/GSL/SF'
make[2]: Leaving directory `/home/Administrator/PDL-
2.4.0/Lib/GSL'
make[1]: Leaving directory `/home/Administrator/PDL-
2.4.0/Lib'

Discussion

  • Nobody/Anonymous

    This is the output tee'd from the make command

     
  • Nobody/Anonymous

    Logged In: NO

    Forgot: gcc-3.3.1

     
  • Craig DeForest

    Craig DeForest - 2003-09-15

    Logged In: YES
    user_id=20200

    Sounds like there may be a problem with the GSL version
    you're using.
    It seems to compile OK for me with GSL 1.3 or 1.4
    (admittedly I'm not using Cygwin). Two things to try and
    report: (A) edit your perldl.conf in
    /home/Administrator/PDL-2.4.0/ and remove the GSL (should
    compile OK, just not put the GSL functionality in); and (B)
    get a more recent version of GSL and install it.

    If it turns out to be a version issue, then we need to put a
    check in the default installation path to prevent this sort
    of thing from biting others.

     
  • Craig DeForest

    Craig DeForest - 2003-11-22
    • status: open --> open-fixed
     
  • Craig DeForest

    Craig DeForest - 2003-11-22
    • assigned_to: nobody --> csopen
     
  • Craig DeForest

    Craig DeForest - 2003-11-22

    Logged In: YES
    user_id=20200

    This appears to have been recently fixed by Christian. (I'm
    leaving it open since he probably had a reason not to close it!)

     
  • Christian Soeller

    Logged In: YES
    user_id=1120

    I have implemented version checking now. This should avoid
    bugs as this one but I don't have a cygwin installation to
    test this nor can I be 100% sure that this bug just reflects
    a versioning problem.

    We'll close this bug for now but the anonymous submitter may
    reopen it if necessary. The real bugger with anonymous
    submissions is the difficulty to contact Nobody...

     
  • Christian Soeller

    • status: open-fixed --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks