我试图在 SLES 11 SP1 上安装 kernlab 包。我安装了所有必备软件包,例如。gcc-fortran...
使用 install.packages("kernlab") 开始安装后,我收到以下错误消息。如果你们中的任何人都可以帮助我,那就太好了。
g++ -L/usr/local/lib64 -o kernlab.so brweight.o ctable.o cweight.o dbreakpt.o dcauchy.o dgpnrm.o dgpstep.o dprecond.o dprsrch.o dspcg.o dtron.o dtrpcg.o dtrqsol.o esa.o expdecayweight.o inductionsort.o kspectrumweight.o lcp.o misc.o msufsort.o solvebqp.o stringk.o stringkernel.o svm.o wkasailcp.o wmsufsort.o -L/usr/local/lib64/R/lib -lRlapack -L/usr/local/lib64/R/lib -lRblas -lgfortran -lm -L/usr/local/lib64/R/lib -lR
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/crt1.o: In function `_start':
/usr/src/packages/BUILD/glibc-2.11.1/csu/../sysdeps/x86_64/elf/start.S:109: undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [kernlab.so] Error 1
ERROR: compilation failed for package ‘kernlab’
* removing ‘/usr/local/lib64/R/library/kernlab’
The downloaded source packages are in
‘/tmp/RtmpCf2yIn/downloaded_packages’
Updating HTML index of packages in '.Library'
Making packages.html ... done
Warning message:
In install.packages("kernlab") :
installation of package ‘kernlab’ had non-zero exit status