Closed travis-leith closed 9 months ago
Trying to install with R4.3.0 I get the following output
gcc -I"C:/PROGRA~1/R/R-43~1.0/include" -DNDEBUG -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -D_GNU_SOURCE -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rkdb.c -o rkdb.o In file included from rkdb.c:15: common.c: In function 'from_guid_kobject': k.h:29:21: warning: passing argument 1 of 'guid_2_char' from incompatible pointer type [-Wincompatible-pointer-types] 29 | #define kG(x) ((x)->G0) | ~~~~^~~~~ | | | G * {aka unsigned char *} k.h:29:21: note: in definition of macro 'kG' 29 | #define kG(x) ((x)->G0) | ^~ In file included from rkdb.c:20: common.c:116:22: note: expected 'K' {aka 'struct k0 *'} but argument is of type 'G *' {aka 'unsigned char *'} 116 | static K guid_2_char(K); | ^ common.c:264:20: warning: passing argument 1 of 'guid_2_char' from incompatible pointer type [-Wincompatible-pointer-types] 264 | y= guid_2_char((G*)(&kU(x)[i])); | ^~~~~~~~~~~~~~~ | | | G * {aka unsigned char *} common.c:116:22: note: expected 'K' {aka 'struct k0 *'} but argument is of type 'G *' {aka 'unsigned char *'} 116 | static K guid_2_char(K); | ^ k.h:29:21: warning: pointer targets in passing argument 1 of 'kp' differ in signedness [-Wpointer-sign] 29 | #define kG(x) ((x)->G0) | ~~~~^~~~~ | | | G * {aka unsigned char *} k.h:29:21: note: in definition of macro 'kG' 29 | #define kG(x) ((x)->G0) | ^~ common.c:265:18: note: in expansion of macro 'kC' 265 | kK(z)[i]= kp(kC(y)); | ^~ k.h:77:16: note: expected 'S' {aka 'char *'} but argument is of type 'G *' {aka 'unsigned char *'} 77 | knk(I,...),kp(S),ja(K*,V*),js(K*,S),jk(K*,K),jv(K*k,K),k(I,const S,...),xT(K),xD(K,K),ktd(K),r1(K),krr(const S),orr(const S),dot(K,K),b9(I,K),d9(K),sslInfo(K x),vaknk(I,va_list),vak(I,const S,va_list),vi(K,UJ),m4(I); | ^ common.c: In function 'guid_2_char': common.c:468:11: warning: initialization of 'G *' {aka 'unsigned char *'} from incompatible pointer type 'K' {aka 'struct k0 *'} [-Wincompatible-pointer-types] 468 | G*gv= x; | ^ k.h:29:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 29 | #define kG(x) ((x)->G0) | ~~~~^~~~~ | | | G * {aka unsigned char *} k.h:29:21: note: in definition of macro 'kG' 29 | #define kG(x) ((x)->G0) | ^~ common.c:469:13: note: in expansion of macro 'kC' 469 | sprintf(kC(y),"%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x",gv[ 0],gv[ 1],gv[ 2],gv[ 3],gv[ 4],gv[ 5],gv[ 6],gv[ 7],gv[ 8],gv[ 9],gv[10],gv[11],gv[12],gv[13],gv[14],gv[15]); | ^~ In file included from C:/PROGRA~1/R/R-43~1.0/include/R.h:44, from rkdb.c:7: c:\rtools43\x86_64-w64-mingw32.static.posix\include\stdio.h:396:20: note: expected 'char *' but argument is of type 'G *' {aka 'unsigned char *'} 396 | int sprintf (char *__stream, const char *__format, ...) | ~~~~~~^~~~~~~~ gcc -shared -s -static-libgcc -o rkdb.dll tmp.def rkdb.o -L. -lest -lws2_32 -liphlpapi -LC:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -LC:/rtools43/x86_64-w64-mingw32.static.posix/lib -LC:/PROGRA~1/R/R-43~1.0/bin/x64 -lR C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: internal error: aborting at ../../binutils-2.40/ld/ldlang.c:527 in compare_section C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: please report this bug
Desktop:
Trying to install with R4.3.0 I get the following output
Desktop: