[AMBER] Installation of amber11 on the latest Ubuntu 64bit

From: Qinghua Liao <fantasticqhl.gmail.com>
Date: Mon, 7 Nov 2011 14:19:46 +0100

Dear amber users,

I am trying to install amber11 and ambertools-1.5 on ubuntu 64 bit, but I
failed. I can do the configure successfully without any errors except the
X11, however I installed the xorg-dev package just as the instruction. The
attached file is generated from ./configure gnu, and here are the output of
the ./configure gnu:

Could not find the X11 libraries; you may need to edit config.h
   to set the XHOME and XLIBS variables.
Warning: the X11 libraries are not in the usual location !
    To search for them try the command: locate libXt
    On new Fedora OS's install the libXt-devel libXext-devel
    libX11-devel libICE-devel libSM-devel packages.
    On old Fedora OS's install the xorg-x11-devel package.
    On RedHat OS's install the XFree86-devel package.
    On Ubuntu OS's install the xorg-dev package.
    For the moment Amber will be configured not to build XLEaP.
Using existing python from /home/qinghua/amber11/bin

Obtaining the gnu suite version:
      gcc -v
The version is 4.5.2

Testing the gcc compiler:
     gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o testp testp.c
OK

Validating the C++ compiler version:
     g++ -v
The version is 4.5.2
OK

Testing the gfortran compiler:
     gfortran -O0 -o testp testp.f
OK

Testing mixed C/Fortran compilation:
     gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o testp.c.o
testp.c
     gfortran -O0 -c -o testp.f.o testp.f
     gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o testp testp.c.o
testp.f.o -lgfortran
OK

Testing pointer size:
     gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o test_pointer_size
test_pointer_size.c
Detected 64 bit operating system.

Testing flex: OK

Configuring NetCDF (may be time-consuming)...

    NetCDF configure succeeded.

Checking for zlib: OK

Checking for libbz2: OK

Configuring fftw-3.2.2 (may be time-consuming)...

    fftw-3.2.2 configure succeeded.

Configuring fftw-2.1.5 (may be time-consuming)...

    fftw-2.1.5 configure succeeded.

Configuring MTK++ (may be time-consuming)...

    MTK++-0.2.0 configure succeeded.

The configuration file, config.h, was successfully created.

The next step is to type 'make serial'


 NOTE: after installing AmberTools, if you want to compile
       Amber11 using AmberTools 1.5, you must run the
       AT15_Amber11.py script first, e.g.:
       cd /home/qinghua/amber11; ./AT15_Amber11.py; cd src; make serial
       (See the Amber11 Users' Manual for full instructions,
       and be sure to have a backup, since the AT15_Amber11.py
       script will modify your Amber11 files.)

But when I do the make serial step, I would get these errors finally:

attr.c:(.text+0xff1): undefined reference to `ncx_pad_putn_schar_uchar'
attr.c:(.text+0x100a): undefined reference to `ncx_pad_putn_short_uchar'
attr.c:(.text+0x1023): undefined reference to `ncx_putn_int_uchar'
attr.c:(.text+0x103c): undefined reference to `ncx_putn_float_uchar'
attr.c:(.text+0x1055): undefined reference to `ncx_putn_double_uchar'
../libsrc/.libs/libnetcdf.a(attr.o): In function `ncx_pad_getn_Iuchar':
attr.c:(.text+0x10ad): undefined reference to `ncx_pad_getn_schar_uchar'
attr.c:(.text+0x10c6): undefined reference to `ncx_pad_getn_short_uchar'
attr.c:(.text+0x10df): undefined reference to `ncx_getn_int_uchar'
attr.c:(.text+0x10f8): undefined reference to `ncx_getn_float_uchar'
attr.c:(.text+0x1111): undefined reference to `ncx_getn_double_uchar'
../libsrc/.libs/libnetcdf.a(attr.o): In function `ncx_pad_putn_Ischar':
attr.c:(.text+0x1169): undefined reference to `ncx_pad_putn_schar_schar'
attr.c:(.text+0x1182): undefined reference to `ncx_pad_putn_short_schar'
attr.c:(.text+0x119b): undefined reference to `ncx_putn_int_schar'
attr.c:(.text+0x11b4): undefined reference to `ncx_putn_float_schar'
attr.c:(.text+0x11cd): undefined reference to `ncx_putn_double_schar'
../libsrc/.libs/libnetcdf.a(attr.o): In function `ncx_pad_getn_Ischar':
attr.c:(.text+0x1225): undefined reference to `ncx_pad_getn_schar_schar'
attr.c:(.text+0x123e): undefined reference to `ncx_pad_getn_short_schar'
attr.c:(.text+0x1257): undefined reference to `ncx_getn_int_schar'
attr.c:(.text+0x1270): undefined reference to `ncx_getn_float_schar'
attr.c:(.text+0x1289): undefined reference to `ncx_getn_double_schar'
../libsrc/.libs/libnetcdf.a(attr.o): In function `ncx_pad_putn_Ishort':
attr.c:(.text+0x12e1): undefined reference to `ncx_pad_putn_schar_short'
attr.c:(.text+0x12fa): undefined reference to `ncx_pad_putn_short_short'
attr.c:(.text+0x1313): undefined reference to `ncx_putn_int_short'
attr.c:(.text+0x132c): undefined reference to `ncx_putn_float_short'
attr.c:(.text+0x1345): undefined reference to `ncx_putn_double_short'
../libsrc/.libs/libnetcdf.a(attr.o): In function `ncx_pad_getn_Ishort':
attr.c:(.text+0x139d): undefined reference to `ncx_pad_getn_schar_short'
attr.c:(.text+0x13b6): undefined reference to `ncx_pad_getn_short_short'
attr.c:(.text+0x13cf): undefined reference to `ncx_getn_int_short'
attr.c:(.text+0x13e8): undefined reference to `ncx_getn_float_short'
attr.c:(.text+0x1401): undefined reference to `ncx_getn_double_short'
../libsrc/.libs/libnetcdf.a(attr.o): In function `ncx_pad_putn_Iint':
attr.c:(.text+0x1459): undefined reference to `ncx_pad_putn_schar_int'
attr.c:(.text+0x1472): undefined reference to `ncx_pad_putn_short_int'
attr.c:(.text+0x148b): undefined reference to `ncx_putn_int_int'
attr.c:(.text+0x14a4): undefined reference to `ncx_putn_float_int'
attr.c:(.text+0x14bd): undefined reference to `ncx_putn_double_int'
../libsrc/.libs/libnetcdf.a(attr.o): In function `ncx_pad_getn_Iint':
attr.c:(.text+0x1515): undefined reference to `ncx_pad_getn_schar_int'
attr.c:(.text+0x152e): undefined reference to `ncx_pad_getn_short_int'
attr.c:(.text+0x1547): undefined reference to `ncx_getn_int_int'
attr.c:(.text+0x1560): undefined reference to `ncx_getn_float_int'
attr.c:(.text+0x1579): undefined reference to `ncx_getn_double_int'
../libsrc/.libs/libnetcdf.a(attr.o): In function `ncx_pad_putn_Ilong':
attr.c:(.text+0x15d1): undefined reference to `ncx_pad_putn_schar_long'
attr.c:(.text+0x15ea): undefined reference to `ncx_pad_putn_short_long'
attr.c:(.text+0x1603): undefined reference to `ncx_putn_int_long'
attr.c:(.text+0x161c): undefined reference to `ncx_putn_float_long'
attr.c:(.text+0x1635): undefined reference to `ncx_putn_double_long'
../libsrc/.libs/libnetcdf.a(attr.o): In function `ncx_pad_getn_Ilong':
attr.c:(.text+0x168d): undefined reference to `ncx_pad_getn_schar_long'
attr.c:(.text+0x16a6): undefined reference to `ncx_pad_getn_short_long'
attr.c:(.text+0x16bf): undefined reference to `ncx_getn_int_long'
attr.c:(.text+0x16d8): undefined reference to `ncx_getn_float_long'
attr.c:(.text+0x16f1): undefined reference to `ncx_getn_double_long'
../libsrc/.libs/libnetcdf.a(attr.o): In function `ncx_pad_putn_Ifloat':
attr.c:(.text+0x1749): undefined reference to `ncx_pad_putn_schar_float'
attr.c:(.text+0x1762): undefined reference to `ncx_pad_putn_short_float'
attr.c:(.text+0x177b): undefined reference to `ncx_putn_int_float'
attr.c:(.text+0x1794): undefined reference to `ncx_putn_float_float'
attr.c:(.text+0x17ad): undefined reference to `ncx_putn_double_float'
../libsrc/.libs/libnetcdf.a(attr.o): In function `ncx_pad_getn_Ifloat':
attr.c:(.text+0x1805): undefined reference to `ncx_pad_getn_schar_float'
attr.c:(.text+0x181e): undefined reference to `ncx_pad_getn_short_float'
attr.c:(.text+0x1837): undefined reference to `ncx_getn_int_float'
attr.c:(.text+0x1850): undefined reference to `ncx_getn_float_float'
attr.c:(.text+0x1869): undefined reference to `ncx_getn_double_float'
../libsrc/.libs/libnetcdf.a(attr.o): In function `ncx_pad_putn_Idouble':
attr.c:(.text+0x18c1): undefined reference to `ncx_pad_putn_schar_double'
attr.c:(.text+0x18da): undefined reference to `ncx_pad_putn_short_double'
attr.c:(.text+0x18f3): undefined reference to `ncx_putn_int_double'
attr.c:(.text+0x190c): undefined reference to `ncx_putn_float_double'
attr.c:(.text+0x1925): undefined reference to `ncx_putn_double_double'
../libsrc/.libs/libnetcdf.a(attr.o): In function `ncx_pad_getn_Idouble':
attr.c:(.text+0x197d): undefined reference to `ncx_pad_getn_schar_double'
attr.c:(.text+0x1996): undefined reference to `ncx_pad_getn_short_double'
attr.c:(.text+0x19af): undefined reference to `ncx_getn_int_double'
attr.c:(.text+0x19c8): undefined reference to `ncx_getn_float_double'
attr.c:(.text+0x19e1): undefined reference to `ncx_getn_double_double'
../libsrc/.libs/libnetcdf.a(attr.o): In function `nc_put_att_text':
attr.c:(.text+0x1b81): undefined reference to `ncx_pad_putn_text'
attr.c:(.text+0x1c79): undefined reference to `ncx_pad_putn_text'
../libsrc/.libs/libnetcdf.a(attr.o): In function `nc_get_att_text':
attr.c:(.text+0x1d62): undefined reference to `ncx_pad_getn_text'
../libsrc/.libs/libnetcdf.a(putget.o): In function `NC_fill_schar':
putget.c:(.text+0xd3): undefined reference to `ncx_putn_schar_schar'
../libsrc/.libs/libnetcdf.a(putget.o): In function `NC_fill_char':
putget.c:(.text+0x17c): undefined reference to `ncx_putn_text'
../libsrc/.libs/libnetcdf.a(putget.o): In function `NC_fill_short':
putget.c:(.text+0x202): undefined reference to `ncx_putn_short_short'
../libsrc/.libs/libnetcdf.a(putget.o): In function `NC_fill_int':
putget.c:(.text+0x276): undefined reference to `ncx_putn_int_int'
../libsrc/.libs/libnetcdf.a(putget.o): In function `NC_fill_float':
putget.c:(.text+0x2eb): undefined reference to `ncx_putn_float_float'
../libsrc/.libs/libnetcdf.a(putget.o): In function `NC_fill_double':
putget.c:(.text+0x366): undefined reference to `ncx_putn_double_double'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_char_char':
putget.c:(.text+0xf66): undefined reference to `ncx_putn_text'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_schar_schar':
putget.c:(.text+0x10b2): undefined reference to `ncx_putn_schar_schar'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_schar_uchar':
putget.c:(.text+0x11fe): undefined reference to `ncx_putn_schar_uchar'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_schar_short':
putget.c:(.text+0x134d): undefined reference to `ncx_putn_schar_short'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_schar_int':
putget.c:(.text+0x149f): undefined reference to `ncx_putn_schar_int'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_schar_long':
putget.c:(.text+0x15f2): undefined reference to `ncx_putn_schar_long'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_schar_float':
putget.c:(.text+0x1745): undefined reference to `ncx_putn_schar_float'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_schar_double':
putget.c:(.text+0x1898): undefined reference to `ncx_putn_schar_double'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_short_schar':
putget.c:(.text+0x19e8): undefined reference to `ncx_putn_short_schar'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_short_uchar':
putget.c:(.text+0x1b34): undefined reference to `ncx_putn_short_uchar'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_short_short':
putget.c:(.text+0x1c83): undefined reference to `ncx_putn_short_short'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_short_int':
putget.c:(.text+0x1dd5): undefined reference to `ncx_putn_short_int'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_short_long':
putget.c:(.text+0x1f28): undefined reference to `ncx_putn_short_long'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_short_float':
putget.c:(.text+0x207b): undefined reference to `ncx_putn_short_float'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_short_double':
putget.c:(.text+0x21ce): undefined reference to `ncx_putn_short_double'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_int_schar':
putget.c:(.text+0x231e): undefined reference to `ncx_putn_int_schar'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_int_uchar':
putget.c:(.text+0x246a): undefined reference to `ncx_putn_int_uchar'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_int_short':
putget.c:(.text+0x25b9): undefined reference to `ncx_putn_int_short'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_int_int':
putget.c:(.text+0x270b): undefined reference to `ncx_putn_int_int'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_int_long':
putget.c:(.text+0x285e): undefined reference to `ncx_putn_int_long'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_int_float':
putget.c:(.text+0x29b1): undefined reference to `ncx_putn_int_float'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_int_double':
putget.c:(.text+0x2b04): undefined reference to `ncx_putn_int_double'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_float_schar':
putget.c:(.text+0x2c54): undefined reference to `ncx_putn_float_schar'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_float_uchar':
putget.c:(.text+0x2da0): undefined reference to `ncx_putn_float_uchar'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_float_short':
putget.c:(.text+0x2eef): undefined reference to `ncx_putn_float_short'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_float_int':
putget.c:(.text+0x3041): undefined reference to `ncx_putn_float_int'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_float_long':
putget.c:(.text+0x3194): undefined reference to `ncx_putn_float_long'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_float_float':
putget.c:(.text+0x32e7): undefined reference to `ncx_putn_float_float'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_float_double':
putget.c:(.text+0x343a): undefined reference to `ncx_putn_float_double'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_double_schar':
putget.c:(.text+0x358a): undefined reference to `ncx_putn_double_schar'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_double_uchar':
putget.c:(.text+0x36d6): undefined reference to `ncx_putn_double_uchar'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_double_short':
putget.c:(.text+0x3825): undefined reference to `ncx_putn_double_short'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_double_int':
putget.c:(.text+0x3977): undefined reference to `ncx_putn_double_int'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_double_long':
putget.c:(.text+0x3aca): undefined reference to `ncx_putn_double_long'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_double_float':
putget.c:(.text+0x3c1d): undefined reference to `ncx_putn_double_float'
../libsrc/.libs/libnetcdf.a(putget.o): In function `putNCvx_double_double':
putget.c:(.text+0x3d70): undefined reference to `ncx_putn_double_double'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_char_char':
putget.c:(.text+0x45a7): undefined reference to `ncx_getn_text'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_schar_schar':
putget.c:(.text+0x46f3): undefined reference to `ncx_getn_schar_schar'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_schar_uchar':
putget.c:(.text+0x483f): undefined reference to `ncx_getn_schar_uchar'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_schar_short':
putget.c:(.text+0x498e): undefined reference to `ncx_getn_schar_short'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_schar_int':
putget.c:(.text+0x4ae0): undefined reference to `ncx_getn_schar_int'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_schar_long':
putget.c:(.text+0x4c33): undefined reference to `ncx_getn_schar_long'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_schar_float':
putget.c:(.text+0x4d86): undefined reference to `ncx_getn_schar_float'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_schar_double':
putget.c:(.text+0x4ed9): undefined reference to `ncx_getn_schar_double'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_short_schar':
putget.c:(.text+0x5029): undefined reference to `ncx_getn_short_schar'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_short_uchar':
putget.c:(.text+0x5175): undefined reference to `ncx_getn_short_uchar'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_short_short':
putget.c:(.text+0x52c4): undefined reference to `ncx_getn_short_short'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_short_int':
putget.c:(.text+0x5416): undefined reference to `ncx_getn_short_int'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_short_long':
putget.c:(.text+0x5569): undefined reference to `ncx_getn_short_long'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_short_float':
putget.c:(.text+0x56bc): undefined reference to `ncx_getn_short_float'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_short_double':
putget.c:(.text+0x580f): undefined reference to `ncx_getn_short_double'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_int_schar':
putget.c:(.text+0x595f): undefined reference to `ncx_getn_int_schar'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_int_uchar':
putget.c:(.text+0x5aab): undefined reference to `ncx_getn_int_uchar'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_int_short':
putget.c:(.text+0x5bfa): undefined reference to `ncx_getn_int_short'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_int_int':
putget.c:(.text+0x5d4c): undefined reference to `ncx_getn_int_int'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_int_long':
putget.c:(.text+0x5e9f): undefined reference to `ncx_getn_int_long'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_int_float':
putget.c:(.text+0x5ff2): undefined reference to `ncx_getn_int_float'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_int_double':
putget.c:(.text+0x6145): undefined reference to `ncx_getn_int_double'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_float_schar':
putget.c:(.text+0x6295): undefined reference to `ncx_getn_float_schar'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_float_uchar':
putget.c:(.text+0x63e1): undefined reference to `ncx_getn_float_uchar'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_float_short':
putget.c:(.text+0x6530): undefined reference to `ncx_getn_float_short'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_float_int':
putget.c:(.text+0x6682): undefined reference to `ncx_getn_float_int'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_float_long':
putget.c:(.text+0x67d5): undefined reference to `ncx_getn_float_long'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_float_float':
putget.c:(.text+0x6928): undefined reference to `ncx_getn_float_float'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_float_double':
putget.c:(.text+0x6a7b): undefined reference to `ncx_getn_float_double'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_double_schar':
putget.c:(.text+0x6bcb): undefined reference to `ncx_getn_double_schar'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_double_uchar':
putget.c:(.text+0x6d17): undefined reference to `ncx_getn_double_uchar'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_double_short':
putget.c:(.text+0x6e66): undefined reference to `ncx_getn_double_short'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_double_int':
putget.c:(.text+0x6fb8): undefined reference to `ncx_getn_double_int'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_double_long':
putget.c:(.text+0x710b): undefined reference to `ncx_getn_double_long'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_double_float':
putget.c:(.text+0x725e): undefined reference to `ncx_getn_double_float'
../libsrc/.libs/libnetcdf.a(putget.o): In function `getNCvx_double_double':
putget.c:(.text+0x73b1): undefined reference to `ncx_getn_double_double'
../libsrc/.libs/libnetcdf.a(nc.o): In function `read_numrecs':
nc.c:(.text+0x84b): undefined reference to `ncx_get_size_t'
../libsrc/.libs/libnetcdf.a(nc.o): In function `write_numrecs':
nc.c:(.text+0x913): undefined reference to `ncx_put_size_t'
../libsrc/.libs/libnetcdf.a(v1hpg.o): In function `v1h_put_size_t':
v1hpg.c:(.text+0x223): undefined reference to `ncx_put_size_t'
../libsrc/.libs/libnetcdf.a(v1hpg.o): In function `v1h_get_size_t':
v1hpg.c:(.text+0x26b): undefined reference to `ncx_get_size_t'
../libsrc/.libs/libnetcdf.a(v1hpg.o): In function `v1h_put_nc_type':
v1hpg.c:(.text+0x2bc): undefined reference to `ncx_put_int_int'
../libsrc/.libs/libnetcdf.a(v1hpg.o): In function `v1h_get_nc_type':
v1hpg.c:(.text+0x325): undefined reference to `ncx_get_int_int'
../libsrc/.libs/libnetcdf.a(v1hpg.o): In function `v1h_put_NCtype':
v1hpg.c:(.text+0x3a4): undefined reference to `ncx_put_int_int'
../libsrc/.libs/libnetcdf.a(v1hpg.o): In function `v1h_get_NCtype':
v1hpg.c:(.text+0x40d): undefined reference to `ncx_get_int_int'
../libsrc/.libs/libnetcdf.a(v1hpg.o): In function `v1h_put_NC_string':
v1hpg.c:(.text+0x501): undefined reference to `ncx_pad_putn_text'
../libsrc/.libs/libnetcdf.a(v1hpg.o): In function `v1h_get_NC_string':
v1hpg.c:(.text+0x5c3): undefined reference to `ncx_pad_getn_text'
../libsrc/.libs/libnetcdf.a(v1hpg.o): In function `v1h_put_NC_var':
v1hpg.c:(.text+0x113e): undefined reference to `ncx_putn_int_int'
v1hpg.c:(.text+0x122c): undefined reference to `ncx_put_off_t'
../libsrc/.libs/libnetcdf.a(v1hpg.o): In function `v1h_get_NC_var':
v1hpg.c:(.text+0x1306): undefined reference to `ncx_getn_int_int'
v1hpg.c:(.text+0x13e2): undefined reference to `ncx_get_off_t'
../libsrc/.libs/libnetcdf.a(v1hpg.o): In function `ncx_put_NC':
v1hpg.c:(.text+0x1b4f): undefined reference to `ncx_putn_schar_schar'
v1hpg.c:(.text+0x1b6e): undefined reference to `ncx_putn_schar_schar'
v1hpg.c:(.text+0x1b9e): undefined reference to `ncx_put_size_t'
../libsrc/.libs/libnetcdf.a(v1hpg.o): In function `nc_get_NC':
v1hpg.c:(.text+0x1d81): undefined reference to `ncx_getn_schar_schar'
v1hpg.c:(.text+0x1e14): undefined reference to `ncx_get_size_t'
collect2: ld returned 1 exit status
make[3]: *** [ncgen] Error 1
make[3]: Leaving directory
`/home/qinghua/amber11/AmberTools/src/netcdf/src/ncgen'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/qinghua/amber11/AmberTools/src/netcdf/src'
make[1]: *** [/home/qinghua/amber11/lib/libnetcdf.a] Error 2
make[1]: Leaving directory `/home/qinghua/amber11/AmberTools/src/ptraj'
make: *** [serial] Error 2

I have searched the mailing list, but I didn't get an effective solution.
Any suggestion will be welcome and appreciated.

Best regards,

Qinghua


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber

Received on Mon Nov 07 2011 - 05:30:04 PST
Custom Search