[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDFPerl #GUU-870609]: undefined symbol: PL_stack_max
- To: Drew.Peterson@xxxxxxxx
- Subject: [netCDFPerl #GUU-870609]: undefined symbol: PL_stack_max
- From: "Unidata netCDF Perl Support" <support-netcdf-perl@xxxxxxxxxxxxxxxx>
- Date: Tue, 29 Jul 2008 09:22:33 -0600
- Delivered-to: support-netcdf-perl@unidata.ucar.edu by laraine.unidata.ucar.edu (Postfix) with ESMTP id 505B9CB190; Tue, 29 Jul 2008 09:22:34 -0600 (MDT) id 2AA95D4FBA; Tue, 29 Jul 2008 09:22:34 -0600 (MDT)
Drew,
> I followed your instructions, but there still seems to be an issue somewhere.
>
> First, I did not have a perl/Makefile specifically the first time I tried to run make, but it later showed up.
> I then change the POLLUTE variable to 0 and ran make. Here are the results:
>
> scooby:oper:967$ make
> make[1]: Entering directory `/fc/scooby/apps/utils/netcdf/perl/netcdf-perl-1.2.1/src'
> make[2]: Entering directory `/fc/scooby/apps/utils/netcdf/perl/netcdf-perl-1.2.1/src'
> cd perl && perl Makefile.PL POLLUTE=0
> /local/apps/utils/netcdf/perl/netcdf-perl-1.2.1/src/perl
> Checking if your kit is complete...
> Looks good
> Writing Makefile for NetCDF
>
> /local/apps/utils/netcdf/perl/netcdf-perl-1.2.1/src/perl
> making `dynamic' in directory /local/apps/utils/netcdf/perl/netcdf-perl-1.2.1/src/perl
>
> make[3]: Entering directory `/fc/scooby/apps/utils/netcdf/perl/netcdf-perl-1.2.1/src/perl'
> gcc -c -I/usr/local/netcdf/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=i386 -mcpu=i686 -DVERSION=\"\" -DXS_VERSION=\"\" -fpic "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" NetCDF.c
The "make" didn't create the file "NetCDF.c", so it must have been
left over from a previous "make". As a consequence, the change to the
POLLUTE variable didn't take effect. I suggest going into the "perl"
subdirectory, removing the files "NetCDF.c" and "NetCDF.o", and
executing the command "make".
> NetCDF.xs: In function `pv_data':
> NetCDF.xs:823: `na' undeclared (first use in this function)
> NetCDF.xs:823: (Each undeclared identifier is reported only once
> NetCDF.xs:823: for each function it appears in.)
> NetCDF.xs: In function `XS_NetCDF_attput':
> NetCDF.xs:2251: `na' undeclared (first use in this function)
> make[3]: *** [NetCDF.o] Error 1
> make[3]: Leaving directory `/fc/scooby/apps/utils/netcdf/perl/netcdf-perl-1.2.1/src/perl'
> make[2]: *** [perl/dynamic] Error 1
> make[2]: Leaving directory `/fc/scooby/apps/utils/netcdf/perl/netcdf-perl-1.2.1/src'
> make[1]: *** [decision] Error 2
> make[1]: Leaving directory `/fc/scooby/apps/utils/netcdf/perl/netcdf-perl-1.2.1/src'
> make: *** [all] Error 2
>
>
> At this point, would it be easier to wipe things clean and reinstall the latest versions?
I don't know if it would be any easier, but I always build and install
the latest version whenever I need to re-install a package.
Regards,
Steve Emmerson
Ticket Details
===================
Ticket ID: GUU-870609
Department: Support netCDF Perl
Priority: Normal
Status: On Hold