Hi Prof. Brian,

Thanks.
The full info is pretty long:
23941 continue
     1
Warning: Label 23941 at (1) defined but not used
linear.f:2557.5:

23937 continue
     1
Warning: Label 23937 at (1) defined but not used
linear.f:2553.5:

23935 continue
     1
Warning: Label 23935 at (1) defined but not used
linear.f:2549.5:

23933 continue
     1
Warning: Label 23933 at (1) defined but not used
linear.f:2533.5:

23923 continue
     1
Warning: Label 23923 at (1) defined but not used
linear.f:2527.5:

23915 continue
     1
Warning: Label 23915 at (1) defined but not used
linear.f:2567.5:

23905 continue
     1
Warning: Label 23905 at (1) defined but not used
linear.f:2846.5:

24059 l = l+1
     1
Warning: Label 24059 at (1) defined but not used
linear.f:2849.5:

24054 j = j-1
     1
Warning: Label 24054 at (1) defined but not used
linear.f:2916.5:

24092 continue
     1
Warning: Label 24092 at (1) defined but not used
linear.f:2906.5:

24087 continue
     1
Warning: Label 24087 at (1) defined but not used
linear.f:2895.5:

24082 continue
     1
Warning: Label 24082 at (1) defined but not used
linear.f:2883.5:

24077 continue
     1
Warning: Label 24077 at (1) defined but not used
linear.f:2864.5:

24064 continue
     1
Warning: Label 24064 at (1) defined but not used
linear.f: In function ādnrm2ā:
linear.f:2055: warning: āxmaxā may be used uninitialized in this function
linear.f: In function āhqrā:
linear.f:730: warning: āmā may be used uninitialized in this function
linear.f:732: warning: āpā may be used uninitialized in this function
linear.f:732: warning: āqā may be used uninitialized in this function
linear.f:732: warning: ārā may be used uninitialized in this function
linear.f: In function ādsvdcā:
linear.f:2479: warning: ālā may be used uninitialized in this function
linear.f:2479: warning: ālsā may be used uninitialized in this function
linear.f: In function ātqlratā:
linear.f:1468: warning: ābā may be used uninitialized in this function
linear.f:1468: warning: ācā may be used uninitialized in this function
linear.f: In function ātql2ā:
linear.f:1355: warning: āc3ā may be used uninitialized in this function
linear.f:1355: warning: ās2ā may be used uninitialized in this function
linear.f: In function āhqr2ā:
linear.f:928: warning: āwā is used uninitialized in this function
linear.f:928: warning: āzzā is used uninitialized in this function
linear.f:928: warning: āqā is used uninitialized in this function
linear.f:925: warning: āmā may be used uninitialized in this function
linear.f:928: warning: āpā may be used uninitialized in this function
linear.f:928: warning: ārā may be used uninitialized in this function
linear.f:928: warning: āsā may be used uninitialized in this function
gfortran -m32   -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 
-mtune=atom -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules  -c 
lo.f -o lo.o
lo.f:162.5:

23054 j=j+1
     1
Warning: Label 23054 at (1) defined but not used
lo.f:156.5:

23051 j=j+1
     1
Warning: Label 23051 at (1) defined but not used
lo.f:151.5:

23049 continue
     1
Warning: Label 23049 at (1) defined but not used
lo.f:147.5:

23045 continue
     1
Warning: Label 23045 at (1) defined but not used
lo.f:135.5:

23043 continue
     1
Warning: Label 23043 at (1) defined but not used
lo.f:128.5:

23041 continue
     1
Warning: Label 23041 at (1) defined but not used
lo.f:136.5:

23038 j=j+1
     1
Warning: Label 23038 at (1) defined but not used
lo.f:120.5:

23034 continue
     1
Warning: Label 23034 at (1) defined but not used
lo.f:114.5:

23032 continue
     1
Warning: Label 23032 at (1) defined but not used
lo.f:104.5:

23028 continue
     1
Warning: Label 23028 at (1) defined but not used
lo.f:99.5:

23026 continue
     1
Warning: Label 23026 at (1) defined but not used
lo.f:88.5:

23023 j=j+1
     1
Warning: Label 23023 at (1) defined but not used
lo.f:80.5:

23020 j=j+1
     1
Warning: Label 23020 at (1) defined but not used
lo.f:76.5:

23018 continue
     1
Warning: Label 23018 at (1) defined but not used
lo.f:84.5:

23016 continue
     1
Warning: Label 23016 at (1) defined but not used
lo.f:65.5:

23013 j=j+1
     1
Warning: Label 23013 at (1) defined but not used
lo.f:61.5:

23011 continue
     1
Warning: Label 23011 at (1) defined but not used
lo.f:70.5:

23007 continue
     1
Warning: Label 23007 at (1) defined but not used
lo.f:54.5:

23003 continue
     1
Warning: Label 23003 at (1) defined but not used
lo.f:179.5:

23059 continue
     1
Warning: Label 23059 at (1) defined but not used
lo.f:175.5:

23057 continue
     1
Warning: Label 23057 at (1) defined but not used
lo.f:202.5:

23065 continue
     1
Warning: Label 23065 at (1) defined but not used
lo.f:193.5:

23063 continue
     1
Warning: Label 23063 at (1) defined but not used
lo.f:189.5:

23061 continue
     1
Warning: Label 23061 at (1) defined but not used
lo.f:214.5:

23071 continue
     1
Warning: Label 23071 at (1) defined but not used
lo.f:227.5:

23073 continue
     1
Warning: Label 23073 at (1) defined but not used
gcc -m32 -std=gnu99 -I/usr/include/R -DNDEBUG  -I/usr/local/include -fpic 
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom 
-fasynchronous-unwind-tables  -c loessc.c -o loessc.o
In file included from /usr/include/features.h:385,
                 from /usr/include/string.h:27,
                 from loessc.c:41:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or 
directory
make: *** [loessc.o] Error 1
ERROR: compilation failed for package āgamā
* removing ā/usr/lib/R/library/gamā
* restoring previous ā/usr/lib/R/library/gamā

The downloaded source packages are in
        ā/tmp/RtmphVJ9j7/downloaded_packagesā
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Warning message:
In install.packages("gam") :
  installation of package āgamā had non-zero exit status
Thanks.

Leslie
212 331 1755
qingqing.xiao@rriny.com



From:   Prof Brian Ripley <ripley@stats.ox.ac.uk>
To:     Qingqing.Xiao@rriny.com, r-help@r-project.org, 
Date:   03/24/2014 03:55 AM
Subject:        Re: [R] install gam in LINUX R



On 23/03/2014 22:49, Qingqing.Xiao@rriny.com wrote:
> Hi, Dear R expert,
>
> I am using:
> OS: Linux VM (RedHat 6.2)
> R: R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"
> Copyright (C) 2013 The R Foundation for Statistical Computing
> Platform: i686-redhat-linux-gnu (32-bit)
>
> I try to install package "gam" by  install.packages("gam",
> lib="/usr/qxiao") and get the error:
>
> ERROR: compilation failed for package āgamā
> * removing ā/home/qxiao/R/i686-redhat-linux-gnu-library/3.0/gamā
>
> The downloaded source packages are in
>          ā/tmp/Rtmp0ldWLv/downloaded_packagesā
> Warning message:
> In install.packages("gam") :
>    installation of package āgamā had non-zero exit status
>
> Can you help me?

Not unless you show us the full output.

> Thanks.
>
> Leslie
>
>                [[alternative HTML version deleted]]
>
>
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
PLEASE do.  As this seems to be about compiled code, the appropriate 
list is R-devel, not R-help.



-- 
Brian D. Ripley,                  ripley@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


	[[alternative HTML version deleted]]

