Gerald Nelson wrote: > When I cd into the first of the modules with problems and run make there, the > first error-looking thing says > > /usr/bin/ld: /usr/local/lib/libfftw3.a(apiplan.o): relocation R_X86_64_32 > against `a local symbol' can not be used when making a shared object; > recompile with -fPIC
First, try to get a shared version of FFTW. If you can't do that: 1. Change lib/gmath/Makefile: -EXTRA_LIBS=$(GISLIB) $(FFTWLIB) $(LAPACKLIB) $(BLASLIB) +EXTRA_LIBS=$(GISLIB) $(LAPACKLIB) $(BLASLIB) 2. Change include/Make/Grass.make.in (and Grass.make if it already exists): -GMATHLIB = -l$(GMATH_LIBNAME) $(GISLIB) +GMATHLIB = -l$(GMATH_LIBNAME) $(GISLIB) $(FFTWLIB) 3. Re-compile. -- Glynn Clements <[EMAIL PROTECTED]> _______________________________________________ grassuser mailing list [email protected] http://grass.itc.it/mailman/listinfo/grassuser

