[R-sig-Debian] building R Devel --enable-R-shlib

Sebastian P. Luque spluque at gmail.com
Fri Feb 5 05:56:35 CET 2016


Hello,

It has been a while since my last R Devel build, and now I'm running
into an issue I'm not sure how to isolate.  After updating to the latest
SVN sources, and using:

---<--------------------cut here---------------start------------------->---
tools/rsync-recommended
R_PAPERSIZE=letter \
R_BATCHSAVE="--no-save --no-restore" \
R_BROWSER=xdg-open \
LIBnn=lib \
./configure \
    --enable-R-shlib \
    --enable-strict-barrier \
    --with-blas \
    --with-lapack \
    --with-readline \
    --with-tcl-config=/usr/lib/tcl8.6/tclConfig.sh \
    --with-tk-config=/usr/lib/tk8.6/tkConfig.sh
make
---<--------------------cut here---------------end--------------------->---

the build shows several warnings about function dataptr:

---<--------------------cut here---------------start------------------->---
radixsort.c:1643:10: warning: implicit declaration of function ‘DATAPTR’ [-Wimplicit-function-declaration]
     xd = DATAPTR(x);
          ^
radixsort.c:1643:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     xd = DATAPTR(x);
        ^
radixsort.c:1735:5: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  xd = DATAPTR(x);
---<--------------------cut here---------------end--------------------->---

which eventually cause the build to fail completely with:

---<--------------------cut here---------------start------------------->---
../../lib/libR.so: undefined reference to `DATAPTR'
collect2: error: ld returned 1 exit status
Makefile:144: recipe for target 'R.bin' failed
make[3]: *** [R.bin] Error 1
make[3]: Leaving directory '/usr/local/src/R/Devel/src/main'
Makefile:134: recipe for target 'R' failed
make[2]: *** [R] Error 2
make[2]: Leaving directory '/usr/local/src/R/Devel/src/main'
Makefile:28: recipe for target 'R' failed
make[1]: *** [R] Error 1
make[1]: Leaving directory '/usr/local/src/R/Devel/src'
Makefile:60: recipe for target 'R' failed
make: *** [R] Error 1
---<--------------------cut here---------------end--------------------->---

Any tips to pinpoint the problem?

Thanks,

-- 
Seb



More information about the R-SIG-Debian mailing list