Dear all, I tried to install gstat package and add the following compilation error : ------------------------> * Installing *source* package 'gstat' ... creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for AIX... no checking for minix/config.h... no checking for POSIXized ISC... no checking for ANSI C header files... yes checking for working const... yes checking whether time.h and sys/time.h may both be included... yes checking for 8-bit clean memcmp... yes checking for vprintf... yes checking for strstr... yes checking for strtod... yes checking for strtol... yes checking for drand48... yes checking for gettimeofday... yes checking whether byte ordering is bigendian... no checking for memory.h... yes checking for ANSI C header files... (cached) yes checking for gcc option to accept ANSI C... checking for function prototypes... yes checking for working const... (cached) yes checking for complex.h... yes checking for malloc.h... yes checking for varargs.h... no checking for size_t... yes checking for working const... (cached) yes checking whether byte ordering is bigendian... (cached) no checking for u_int computing machine epsilon(s) gcc -o macheps ./src/meschach/dmacheps.c gcc -o macheps ./src/meschach/fmacheps.c computing M_MAX_INT gcc -o maxint maxint.c ./src/meschach/maxint.c: In function 'main': ./src/meschach/maxint.c:37: warning: incompatible implicit declaration of built-in function 'printf' checking char \\0 vs. float zeros checking for bcopy... yes checking for bzero... yes checking for function prototypes checking for function prototypes in structures updating cache ./config.cache creating ./config.status creating makefile creating src/config.h creating src/machine.h ** libs gcc -I/usr/lib/R/include -mieee-with-inexact -fPIC -g -O2 -c block.c -o block.o gcc -I/usr/lib/R/include -mieee-with-inexact -fPIC -g -O2 -c chfactor.c -o chfactor.o gcc -I/usr/lib/R/include -mieee-with-inexact -fPIC -g -O2 -c copy.c -o copy.o gcc -I/usr/lib/R/include -mieee-with-inexact -fPIC -g -O2 -c data.c -o data.o /tmp/ccXDZili.s: Messages de l'assembleur: /tmp/ccXDZili.s:8032: ERREUR: Op??rande de relocalisation inconnue: !lituse_jsrdirect make: *** [data.o] Erreur 1 ERROR: compilation failed for package 'gstat' ** Removing '/usr/local/lib/R/site-library/gstat' ** Restoring previous '/usr/local/lib/R/site-library/gstat' -------------------> R run on a dec alpha station under Debian Sarge 64 bits (alpha version of course). Compiler version is gcc 4.0.2. Regards ------------------------------------------------ Emmanuel Poizot Cnam/Intechmer B.P. 324 50103 Cherbourg Cedex Phone (Direct) : (00 33)(0)233887342 Fax : (00 33)(0)233887339 ------------------------------------------------
This is a compiler error, not an R package error. Please ask on a suitable (Debian?) compiler list. As a possible hint, when such things happen on Solaris it indicates a mis-installed gcc, missing the gnu binutils it depends on. On Mon, 24 Oct 2005, Poizot Emmanuel wrote:> Dear all, > I tried to install gstat package and add the following compilation error : > > ------------------------> > * Installing *source* package 'gstat' ... > creating cache ./config.cache > checking for gcc... gcc > checking whether the C compiler (gcc ) works... yes > checking whether the C compiler (gcc ) is a cross-compiler... no > checking whether we are using GNU C... yes > checking whether gcc accepts -g... yes > checking how to run the C preprocessor... gcc -E > checking for AIX... no > checking for minix/config.h... no > checking for POSIXized ISC... no > checking for ANSI C header files... yes > checking for working const... yes > checking whether time.h and sys/time.h may both be included... yes > checking for 8-bit clean memcmp... yes > checking for vprintf... yes > checking for strstr... yes > checking for strtod... yes > checking for strtol... yes > checking for drand48... yes > checking for gettimeofday... yes > checking whether byte ordering is bigendian... no > checking for memory.h... yes > checking for ANSI C header files... (cached) yes > checking for gcc option to accept ANSI C... > checking for function prototypes... yes > checking for working const... (cached) yes > checking for complex.h... yes > checking for malloc.h... yes > checking for varargs.h... no > checking for size_t... yes > checking for working const... (cached) yes > checking whether byte ordering is bigendian... (cached) no > checking for u_int > computing machine epsilon(s) > gcc -o macheps ./src/meschach/dmacheps.c > gcc -o macheps ./src/meschach/fmacheps.c > computing M_MAX_INT > gcc -o maxint maxint.c > ./src/meschach/maxint.c: In function 'main': > ./src/meschach/maxint.c:37: warning: incompatible implicit declaration of > built-in function 'printf' > checking char \\0 vs. float zeros > checking for bcopy... yes > checking for bzero... yes > checking for function prototypes > checking for function prototypes in structures > updating cache ./config.cache > creating ./config.status > creating makefile > creating src/config.h > creating src/machine.h > ** libs > gcc -I/usr/lib/R/include -mieee-with-inexact -fPIC -g -O2 -c block.c -o > block.o > gcc -I/usr/lib/R/include -mieee-with-inexact -fPIC -g -O2 -c chfactor.c > -o chfactor.o > gcc -I/usr/lib/R/include -mieee-with-inexact -fPIC -g -O2 -c copy.c -o > copy.o > gcc -I/usr/lib/R/include -mieee-with-inexact -fPIC -g -O2 -c data.c -o > data.o > /tmp/ccXDZili.s: Messages de l'assembleur: > /tmp/ccXDZili.s:8032: ERREUR: Op?rande de relocalisation inconnue: > !lituse_jsrdirect > make: *** [data.o] Erreur 1 > ERROR: compilation failed for package 'gstat' > ** Removing '/usr/local/lib/R/site-library/gstat' > ** Restoring previous '/usr/local/lib/R/site-library/gstat' > -------------------> > > R run on a dec alpha station under Debian Sarge 64 bits (alpha version of > course). > Compiler version is gcc 4.0.2. > > Regards > > > ------------------------------------------------ > Emmanuel Poizot > Cnam/Intechmer > B.P. 324 > 50103 Cherbourg Cedex > > Phone (Direct) : (00 33)(0)233887342 > Fax : (00 33)(0)233887339 > ------------------------------------------------ > >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Please, tell us more about the packages and libraries installed. I did compile and installed gstat on a machine running sid64 (unstable) with no problems. The only thing is that I did not compile with the -mieee-with-inexact switch. Hope this helps. On Monday 24 October 2005 17:07, Poizot Emmanuel wrote:> Dear all, > I tried to install gstat package and add the following compilation error : > > ------------------------> > * Installing *source* package 'gstat' ... > creating cache ./config.cache > checking for gcc... gcc > checking whether the C compiler (gcc ) works... yes > checking whether the C compiler (gcc ) is a cross-compiler... no > checking whether we are using GNU C... yes > checking whether gcc accepts -g... yes > checking how to run the C preprocessor... gcc -E > checking for AIX... no > checking for minix/config.h... no > checking for POSIXized ISC... no > checking for ANSI C header files... yes > checking for working const... yes > checking whether time.h and sys/time.h may both be included... yes > checking for 8-bit clean memcmp... yes > checking for vprintf... yes > checking for strstr... yes > checking for strtod... yes > checking for strtol... yes > checking for drand48... yes > checking for gettimeofday... yes > checking whether byte ordering is bigendian... no > checking for memory.h... yes > checking for ANSI C header files... (cached) yes > checking for gcc option to accept ANSI C... > checking for function prototypes... yes > checking for working const... (cached) yes > checking for complex.h... yes > checking for malloc.h... yes > checking for varargs.h... no > checking for size_t... yes > checking for working const... (cached) yes > checking whether byte ordering is bigendian... (cached) no > checking for u_int > computing machine epsilon(s) > gcc -o macheps ./src/meschach/dmacheps.c > gcc -o macheps ./src/meschach/fmacheps.c > computing M_MAX_INT > gcc -o maxint maxint.c > ./src/meschach/maxint.c: In function 'main': > ./src/meschach/maxint.c:37: warning: incompatible implicit declaration > of built-in function 'printf' > checking char \\0 vs. float zeros > checking for bcopy... yes > checking for bzero... yes > checking for function prototypes > checking for function prototypes in structures > updating cache ./config.cache > creating ./config.status > creating makefile > creating src/config.h > creating src/machine.h > ** libs > gcc -I/usr/lib/R/include -mieee-with-inexact -fPIC -g -O2 -c block.c > -o block.o > gcc -I/usr/lib/R/include -mieee-with-inexact -fPIC -g -O2 -c > chfactor.c -o chfactor.o > gcc -I/usr/lib/R/include -mieee-with-inexact -fPIC -g -O2 -c copy.c > -o copy.o > gcc -I/usr/lib/R/include -mieee-with-inexact -fPIC -g -O2 -c data.c > -o data.o > /tmp/ccXDZili.s: Messages de l'assembleur: > /tmp/ccXDZili.s:8032: ERREUR: Op??rande de relocalisation inconnue: > !lituse_jsrdirect > make: *** [data.o] Erreur 1 > ERROR: compilation failed for package 'gstat' > ** Removing '/usr/local/lib/R/site-library/gstat' > ** Restoring previous '/usr/local/lib/R/site-library/gstat' > -------------------> > > R run on a dec alpha station under Debian Sarge 64 bits (alpha version > of course). > Compiler version is gcc 4.0.2. > > Regards > > > ------------------------------------------------ > Emmanuel Poizot > Cnam/Intechmer > B.P. 324 > 50103 Cherbourg Cedex > > Phone (Direct) : (00 33)(0)233887342 > Fax : (00 33)(0)233887339 > -------------------------------------------------- ************************* Miguel A. Arranz Tol-Project maarranz at tol-project.org