From help-request at octave dot org Wed Dec 21 07:37:03 2005 Subject: octcdf compile problems X86_64 From: hwz at hwz dot bv dot TU-Berlin dot DE To: help at octave dot org cc: abarth at marine dot usf dot edu Date: Wed, 21 Dec 2005 14:34:46 +0100 (CET) hello, does anyone have experiences compiling octcdf on a x86-64 system? the following error occurs during make: mkoctfile -o ov-netcdf.oct -I/usr/local/include -DHAVE_OCTAVE_INT ov-netcdf.o ov-ncfile.o ov-ncvar.o ov-ncatt.o ov-ncdim.o -L/usr/local/lib -lnetcdf /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib/libnetcdf.a(attr.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libnetcdf.a: could not read symbols: Bad value collect2: ld gab 1 als Ende-Status zurck make: *** [ov-netcdf.oct] Fehler 1 built netcdf from source, checked the location of lib and include, recompiled netcdf with -fPIC - nothing helped... using Octave, version 2.9.4 (x86_64-unknown-linux-gnu) from cvs (this week). does anyone has an idea? many thanks - hartmut ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------