devtools::install_github("gaow/kbac") Downloading GitHub repo gaow/kbac@master from URL https://api.github.com/repos/gaow/kbac/zipball/master Installing KBAC "C:/PROGRA~1/R/R-32~1.5/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL \ "C:/Users/Administrator/AppData/Local/Temp/RtmpEBwjcr/devtoolseb81b902af/gaow-kbac-85d5606" --library="C:/Program Files/R/R-3.2.5/library" \ --install-tests * installing *source* package 'KBAC' ... ** libs gcc -m64 -I"C:/PROGRA~1/R/R-32~1.5/include" -DNDEBUG -I"d:/RCompile/r-compiling/local/local323/include" -O2 -Wall -std=gnu99 -mtune=core2 -c elementary.c -o elementary.o In file included from gsl_math.h:23:0, from elementary.c:23: gsl_sys.h:45:5: warning: 'gsl_finite' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] gcc -m64 -I"C:/PROGRA~1/R/R-32~1.5/include" -DNDEBUG -I"d:/RCompile/r-compiling/local/local323/include" -O2 -Wall -std=gnu99 -mtune=core2 -c error.c -o error.o gcc -m64 -I"C:/PROGRA~1/R/R-32~1.5/include" -DNDEBUG -I"d:/RCompile/r-compiling/local/local323/include" -O2 -Wall -std=gnu99 -mtune=core2 -c exp.c -o exp.o In file included from gsl_math.h:23:0, from exp.c:23: gsl_sys.h:45:5: warning: 'gsl_finite' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] gcc -m64 -I"C:/PROGRA~1/R/R-32~1.5/include" -DNDEBUG -I"d:/RCompile/r-compiling/local/local323/include" -O2 -Wall -std=gnu99 -mtune=core2 -c fdiv.c -o fdiv.o gcc -m64 -I"C:/PROGRA~1/R/R-32~1.5/include" -DNDEBUG -I"d:/RCompile/r-compiling/local/local323/include" -O2 -Wall -std=gnu99 -mtune=core2 -c gamma.c -o gamma.o In file included from gsl_math.h:23:0, from gamma.c:23: gsl_sys.h:45:5: warning: 'gsl_finite' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] gcc -m64 -I"C:/PROGRA~1/R/R-32~1.5/include" -DNDEBUG -I"d:/RCompile/r-compiling/local/local323/include" -O2 -Wall -std=gnu99 -mtune=core2 -c hyperg.c -o hyperg.o gcc -m64 -I"C:/PROGRA~1/R/R-32~1.5/include" -DNDEBUG -I"d:/RCompile/r-compiling/local/local323/include" -O2 -Wall -std=gnu99 -mtune=core2 -c hypergeometric.c -o hypergeometric.o In file included from gsl_math.h:23:0, from hypergeometric.c:45: gsl_sys.h:45:5: warning: 'gsl_finite' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] gcc -m64 -I"C:/PROGRA~1/R/R-32~1.5/include" -DNDEBUG -I"d:/RCompile/r-compiling/local/local323/include" -O2 -Wall -std=gnu99 -mtune=core2 -c infnan.c -o infnan.o infnan.c:50:5: warning: 'gsl_finite' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] g++ -m64 -I"C:/PROGRA~1/R/R-32~1.5/include" -DNDEBUG -I"d:/RCompile/r-compiling/local/local323/include" -O2 -Wall -mtune=core2 -c interface.cpp -o interface.o g++ -m64 -I"C:/PROGRA~1/R/R-32~1.5/include" -DNDEBUG -I"d:/RCompile/r-compiling/local/local323/include" -O2 -Wall -mtune=core2 -c kbac.cpp -o kbac.o kbac.cpp: In constructor 'KbacTest::KbacTest(int*, int*, double*, double*, double*, double*, double*, int*, int*)': kbac.cpp:30:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] kbac.cpp:33:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] kbac.cpp:39:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] kbac.cpp:41:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] kbac.cpp: In member function 'void KbacTest::calcKbacP(double*, int*)': kbac.cpp:197:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] gcc -m64 -I"C:/PROGRA~1/R/R-32~1.5/include" -DNDEBUG -I"d:/RCompile/r-compiling/local/local323/include" -O2 -Wall -std=gnu99 -mtune=core2 -c log.c -o log.o In file included from gsl_math.h:23:0, from log.c:23: gsl_sys.h:45:5: warning: 'gsl_finite' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] gcc -m64 -I"C:/PROGRA~1/R/R-32~1.5/include" -DNDEBUG -I"d:/RCompile/r-compiling/local/local323/include" -O2 -Wall -std=gnu99 -mtune=core2 -c log1p.c -o log1p.o gcc -m64 -I"C:/PROGRA~1/R/R-32~1.5/include" -DNDEBUG -I"d:/RCompile/r-compiling/local/local323/include" -O2 -Wall -std=gnu99 -mtune=core2 -c math.c -o math.o In file included from gsl_math.h:23:0, from math.c:46: gsl_sys.h:45:5: warning: 'gsl_finite' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] gcc -m64 -I"C:/PROGRA~1/R/R-32~1.5/include" -DNDEBUG -I"d:/RCompile/r-compiling/local/local323/include" -O2 -Wall -std=gnu99 -mtune=core2 -c psi.c -o psi.o In file included from gsl_math.h:23:0, from psi.c:23: gsl_sys.h:45:5: warning: 'gsl_finite' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] gcc -m64 -I"C:/PROGRA~1/R/R-32~1.5/include" -DNDEBUG -I"d:/RCompile/r-compiling/local/local323/include" -O2 -Wall -std=gnu99 -mtune=core2 -c trig.c -o trig.o In file included from gsl_math.h:23:0, from trig.c:23: gsl_sys.h:45:5: warning: 'gsl_finite' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] gcc -m64 -I"C:/PROGRA~1/R/R-32~1.5/include" -DNDEBUG -I"d:/RCompile/r-compiling/local/local323/include" -O2 -Wall -std=gnu99 -mtune=core2 -c zeta.c -o zeta.o In file included from gsl_math.h:23:0, from zeta.c:23: gsl_sys.h:45:5: warning: 'gsl_finite' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] g++ -m64 -shared -s -static-libgcc -o KBAC.dll tmp.def elementary.o error.o exp.o fdiv.o gamma.o hyperg.o hypergeometric.o infnan.o interface.o kbac.o log.o log1p.o math.o psi.o trig.o zeta.o -Ld:/RCompile/r-compiling/local/local323/lib/x64 -Ld:/RCompile/r-compiling/local/local323/lib -LC:/PROGRA~1/R/R-32~1.5/bin/x64 -lR elementary.o:elementary.c:(.text+0xd2): undefined reference to `gsl_coerce_double' math.o:math.c:(.text+0xff1): undefined reference to `gsl_acosh' math.o:math.c:(.text+0x102d): undefined reference to `gsl_acosh' math.o:math.c:(.text+0x1112): undefined reference to `gsl_hypot' math.o:math.c:(.text+0x1130): undefined reference to `gsl_hypot' math.o:math.c:(.text+0x1516): undefined reference to `gsl_acosh' math.o:math.c:(.text+0x1542): undefined reference to `gsl_acosh' math.o:math.c:(.text+0x1622): undefined reference to `gsl_hypot' math.o:math.c:(.text+0x1640): undefined reference to `gsl_hypot' math.o:math.c:(.text+0x1a9e): undefined reference to `gsl_hypot' math.o:math.c:(.text+0x1af1): undefined reference to `gsl_hypot' math.o:math.c:(.text+0x1b08): undefined reference to `gsl_hypot' math.o:math.c:(.text+0x1c9c): undefined reference to `gsl_acosh' math.o:math.c:(.text+0x1ce9): undefined reference to `gsl_acosh' math.o:math.c:(.text+0x1d97): undefined reference to `gsl_acosh' math.o:math.c:(.text+0x1dd5): undefined reference to `gsl_acosh' math.o:math.c:(.text+0x23a9): undefined reference to `gsl_acosh' math.o:math.c:(.text+0x23e8): more undefined references to `gsl_acosh' follow math.o:math.c:(.text+0x242e): undefined reference to `gsl_atanh' math.o:math.c:(.text+0x2479): undefined reference to `gsl_atanh' math.o:math.c:(.text+0xaa): undefined reference to `gsl_hypot' collect2: ld returned 1 exit status no DLL was created ERROR: compilation failed for package 'KBAC' * removing 'C:/Program Files/R/R-3.2.5/library/KBAC' Error: Command failed (1) > > > sessionInfo() R version 3.2.5 (2016-04-14) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 7 x64 (build 7601) Service Pack 1 locale: [1] LC_COLLATE=Korean_Korea.949 LC_CTYPE=Korean_Korea.949 LC_MONETARY=Korean_Korea.949 LC_NUMERIC=C LC_TIME=Korean_Korea.949 attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] httr_1.1.0 R6_2.1.2 tools_3.2.5 withr_1.0.1 curl_0.9.7 memoise_1.0.0 git2r_0.14.0 digest_0.6.9 devtools_1.11.1 >