* installing *source* package 'memo' ...
** package 'memo' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 13.3.0'
make[1]: Entering directory '/d/temp/2025_12_29_16_12_34_1110/RtmpaKgIgT/R.INSTALL1ac4041ad387c/memo/src'
gcc  -I"D:/RCompile/recent/R-4.4.3/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c getPointer.c -o getPointer.o
getPointer.c: In function 'stringify_item':
getPointer.c:167:34: warning: implicit declaration of function 'R_ClosureFormals' [-Wimplicit-function-declaration]
  167 |                         (void *) R_ClosureFormals(item),
      |                                  ^~~~~~~~~~~~~~~~
getPointer.c:167:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  167 |                         (void *) R_ClosureFormals(item),
      |                         ^
getPointer.c:168:34: warning: implicit declaration of function 'R_ClosureBody'; did you mean 'R_ClosureExpr'? [-Wimplicit-function-declaration]
  168 |                         (void *) R_ClosureBody(item),
      |                                  ^~~~~~~~~~~~~
      |                                  R_ClosureExpr
getPointer.c:168:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  168 |                         (void *) R_ClosureBody(item),
      |                         ^
getPointer.c:169:34: warning: implicit declaration of function 'R_ClosureEnv'; did you mean 'R_ClosureExpr'? [-Wimplicit-function-declaration]
  169 |                         (void *) R_ClosureEnv(item));
      |                                  ^~~~~~~~~~~~
      |                                  R_ClosureExpr
getPointer.c:169:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  169 |                         (void *) R_ClosureEnv(item));
      |                         ^
gcc  -I"D:/RCompile/recent/R-4.4.3/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c init.c -o init.o
gcc  -I"D:/RCompile/recent/R-4.4.3/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c vadr.c -o vadr.o
gcc -shared -s -static-libgcc -o memo.dll tmp.def getPointer.o init.o vadr.o -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.4.3/bin/x64 -lR
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: getPointer.o:getPointer.c:(.text+0x2f3): undefined reference to `R_ClosureEnv'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: getPointer.o:getPointer.c:(.text+0x2fe): undefined reference to `R_ClosureBody'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: getPointer.o:getPointer.c:(.text+0x309): undefined reference to `R_ClosureFormals'
collect2.exe: error: ld returned 1 exit status
make[1]: Leaving directory '/d/temp/2025_12_29_16_12_34_1110/RtmpaKgIgT/R.INSTALL1ac4041ad387c/memo/src'
make[1]: Entering directory '/d/temp/2025_12_29_16_12_34_1110/RtmpaKgIgT/R.INSTALL1ac4041ad387c/memo/src'
make[1]: Leaving directory '/d/temp/2025_12_29_16_12_34_1110/RtmpaKgIgT/R.INSTALL1ac4041ad387c/memo/src'
no DLL was created
ERROR: compilation failed for package 'memo'
* removing 'd:/Rcompile/CRANpkg/lib/4.4/memo'
* restoring previous 'd:/Rcompile/CRANpkg/lib/4.4/memo'