Package: netcdfg-dev
Version: 3.5.0-7.1
Severity: normal
Trying to compile test program
tncdf.cc:
#include <netcdfcpp.h>
int main()
{
NcFile f("t.nc");
return 0;
}
I get:
[EMAIL PROTECTED]:~/src$ g++-3.3 tncdf.cc -lnetcdf -lnetcdf_c++
[EMAIL PROTECTED]:~/src$ g++-3.4 tncdf.cc -lnetcdf -lnetcdf_c++
/usr/lib/gcc/i486-linux-gnu/3.4.6/../../../../lib/libnetcdf_c++.so: undefined
reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_S_empty_rep_storage'
collect2: ld returned 1 exit status
[EMAIL PROTECTED]:~/src$ g++-4.0 tncdf.cc -lnetcdf -lnetcdf_c++
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libnetcdf_c++.so: undefined
reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_S_empty_rep_storage'
collect2: ld returned 1 exit status
So probably some dependancies or recomendations should be set for g++ version.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27-2-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages netcdfg-dev depends on:
ii libc6-dev 2.3.5-13 GNU C Library: Development Librari
ii netcdfg3 3.5.0-7.1 An interface for scientific data a
netcdfg-dev recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]