* installing *source* package 'arulesSequences' ...
** package 'arulesSequences' 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_24_01_50_00_27005/Rtmp0SClAR/R.INSTALLe1747ccec94/arulesSequences/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 arrayIndex.c -o arrayIndex.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 dll.c -o dll.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 idlists.c -o idlists.o
idlists.c: In function 'R_ilscount':
idlists.c:198:17: warning: implicit declaration of function 'R_chk_memcpy' [-Wimplicit-function-declaration]
198 | R_chk_memcpy(ii, it + i, sizeof(int) * ni);
| ^~~~~~~~~~~~
idlists.c:200:21: warning: implicit declaration of function 'R_chk_memset' [-Wimplicit-function-declaration]
200 | R_chk_memset(di, 0, sizeof(int) * ni);
| ^~~~~~~~~~~~
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 makebin.c -o makebin.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 matrix.c -o matrix.o
matrix.c: In function 'R_rowSums_sgCMatrix':
matrix.c:28:5: warning: implicit declaration of function 'R_chk_memset' [-Wimplicit-function-declaration]
28 | R_chk_memset(INTEGER(r), 0, sizeof(int) * n);
| ^~~~~~~~~~~~
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 ported.c -o ported.o
ported.c: In function 'R_transpose_ngCMatrix':
ported.c:39:3: warning: implicit declaration of function 'R_chk_memset' [-Wimplicit-function-declaration]
39 | R_chk_memset(INTEGER(pr), 0, sizeof(int) * (nr+1));
| ^~~~~~~~~~~~
ported.c: In function 'R_cbind_ngCMatrix':
ported.c:414:3: warning: implicit declaration of function 'R_chk_memcpy' [-Wimplicit-function-declaration]
414 | R_chk_memcpy(INTEGER(pr), INTEGER(px), sizeof(int) * LENGTH(px));
| ^~~~~~~~~~~~
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 ptree.c -o ptree.o
ptree.c: In function 'R_pnssuperset':
ptree.c:949:17: warning: implicit declaration of function 'R_chk_memcpy' [-Wimplicit-function-declaration]
949 | R_chk_memcpy(INTEGER(t), cb, sizeof(int) * n);
| ^~~~~~~~~~~~
ptree.c: In function 'eballoc':
ptree.c:208:12: warning: pointer 'q' may be used after 'realloc' [-Wuse-after-free]
208 | eb = q;
| ~~~^~~
ptree.c:206:10: note: call to 'realloc' here
206 | eb = realloc(q, sizeof(int) * ne);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 similarity.c -o similarity.o
similarity.c: In function 'R_similarity_sgCMatrix':
similarity.c:186:13: warning: implicit declaration of function 'R_chk_memcpy' [-Wimplicit-function-declaration]
186 | R_chk_memcpy(INTEGER(ir), INTEGER(t), sizeof(int) * n);
| ^~~~~~~~~~~~
similarity.c: In function 'R_as_dist_dsCMatrix':
similarity.c:310:5: warning: implicit declaration of function 'R_chk_memset' [-Wimplicit-function-declaration]
310 | R_chk_memset(REAL(r), 0, sizeof(double) * n);
| ^~~~~~~~~~~~
gcc -shared -s -static-libgcc -o arulesSequences.dll tmp.def arrayIndex.o dll.o idlists.o makebin.o matrix.o ported.o ptree.o similarity.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: idlists.o:idlists.c:(.text+0x61a): undefined reference to `R_chk_memcpy'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: idlists.o:idlists.c:(.text+0x779): undefined reference to `R_chk_memset'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: matrix.o:matrix.c:(.text+0xdf): undefined reference to `R_chk_memset'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: matrix.o:matrix.c:(.text+0x300): undefined reference to `R_chk_memset'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: matrix.o:matrix.c:(.text+0x12c6): undefined reference to `R_chk_memset'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: ported.o:ported.c:(.text+0x154): undefined reference to `R_chk_memset'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: ported.o:ported.c:(.text+0x5e6): more undefined references to `R_chk_memset' follow
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: ported.o:ported.c:(.text+0x18b4): undefined reference to `R_chk_memcpy'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: ported.o:ported.c:(.text+0x1943): undefined reference to `R_chk_memcpy'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: ported.o:ported.c:(.text+0x1987): undefined reference to `R_chk_memcpy'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: ported.o:ported.c:(.text+0x2925): undefined reference to `R_chk_memcpy'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: ptree.o:ptree.c:(.text+0x2e7d): undefined reference to `R_chk_memcpy'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: ptree.o:ptree.c:(.text+0x2f5f): more undefined references to `R_chk_memcpy' follow
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: similarity.o:similarity.c:(.text+0x1162): undefined reference to `R_chk_memset'
collect2.exe: error: ld returned 1 exit status
# binaries
make --no-print-directory -C TPOSE -f win.mk -f Makefile\
CC="gcc " CFLAGS="-pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign "\
CXX="g++ -std=gnu++17 " CXXFLAGS="-pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign "\
LDFLAGS=" -static-libgcc -static-libstdc++"\
BINDIR="inst/bin/x64"\
install-bin
g++ -std=gnu++17 -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c -o calcdb.o calcdb.cc
g++ -std=gnu++17 -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c -o Array.o Array.cc
gcc -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c -o mmap-win32.o mmap-win32.c
g++ -std=gnu++17 -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -static-libgcc -static-libstdc++ -o exttpose exttpose.cc calcdb.o Array.o mmap-win32.o -lm
exttpose.cc: In function 'void parse_args(int, char**)':
exttpose.cc:134:49: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
134 | if (read(c,(char *)&DBASE_NUM_TRANS,ITSZ) < ITSZ){
exttpose.cc:138:47: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
138 | if (read(c,(char *)&DBASE_MAXITEM,ITSZ) < ITSZ){
exttpose.cc:142:51: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare]
142 | if (read(c,(char *)&DBASE_AVG_CUST_SZ,FTSZ) < FTSZ){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
exttpose.cc:146:52: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare]
146 | if (read(c,(char *)&DBASE_AVG_TRANS_SZ,FTSZ) < FTSZ){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
exttpose.cc:150:49: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
150 | if (read(c,(char *)&DBASE_TOT_TRANS,ITSZ) < ITSZ){
exttpose.cc:158:49: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
158 | if (read(c,(char *)&DBASE_NUM_TRANS,ITSZ) < ITSZ){
exttpose.cc:162:47: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
162 | if (read(c,(char *)&DBASE_MAXITEM,ITSZ) < ITSZ){
exttpose.cc:166:52: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare]
166 | if (read(c,(char *)&DBASE_AVG_TRANS_SZ,FTSZ) < FTSZ){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
exttpose.cc: In function 'void process_cust(int*, int, int, int*, Array**, CHAR*, CHAR*, char*, int*, int, int)':
exttpose.cc:438:69: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
438 | if (write(seqfd, (char *)&backidx[fidx[k]], ITSZ) < ITSZ){
exttpose.cc:442:69: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
442 | if (write(seqfd, (char *)&backidx[fidx[j]], ITSZ) < ITSZ){
exttpose.cc:461:66: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
461 | if (write(isetfd, (char *)&backidx[ii1], ITSZ) < ITSZ)
exttpose.cc:463:66: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
463 | if (write(isetfd, (char *)&backidx[ii2], ITSZ) < ITSZ)
exttpose.cc:474:72: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
474 | if (write(seqfd, (char *)&backidx[fidx[j]], ITSZ) < ITSZ)
exttpose.cc:476:72: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
476 | if (write(seqfd, (char *)&backidx[fidx[k]], ITSZ) < ITSZ)
exttpose.cc: In function 'void tpose()':
exttpose.cc:868:72: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
868 | if (write(isetfd, (char *)&buf[j], ITSZ) < ITSZ){
exttpose.cc:872:72: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
872 | if (write(isetfd, (char *)&buf[l], ITSZ) < ITSZ){
g++ -std=gnu++17 -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -static-libgcc -static-libstdc++ -o getconf getconf.cc calcdb.o -lm
getconf.cc: In function 'int main(int, char**)':
getconf.cc:122:54: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
122 | if (write(conffd,(char *)&DBASE_NUM_CUST,ITSZ) < ITSZ){
| ^
getconf.cc:126:53: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
126 | if (write(conffd,(char *)&DBASE_MAXITEM,ITSZ) < ITSZ){
| ^
getconf.cc:130:57: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare]
130 | if (write(conffd,(char *)&DBASE_AVG_CUST_SZ,FTSZ) < FTSZ){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
getconf.cc:134:58: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare]
134 | if (write(conffd,(char *)&DBASE_AVG_TRANS_SZ,FTSZ) < FTSZ){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
getconf.cc:138:55: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
138 | if (write(conffd,(char *)&DBASE_NUM_TRANS,ITSZ) < ITSZ){
| ^
getconf.cc:142:54: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
142 | if (write(conffd,(char *)&DBASE_MINTRANS,ITSZ) < ITSZ){
| ^
getconf.cc:146:54: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
146 | if (write(conffd,(char *)&DBASE_MAXTRANS,ITSZ) < ITSZ){
| ^
getconf.cc:153:55: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
153 | if (write(conffd,(char *)&DBASE_NUM_TRANS,ITSZ) < ITSZ){
| ^
getconf.cc:157:53: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
157 | if (write(conffd,(char *)&DBASE_MAXITEM,ITSZ) < ITSZ){
| ^
getconf.cc:161:58: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare]
161 | if (write(conffd,(char *)&DBASE_AVG_TRANS_SZ,FTSZ) < FTSZ){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
getconf.cc:165:54: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
165 | if (write(conffd,(char *)&DBASE_MINTRANS,ITSZ) < ITSZ){
| ^
getconf.cc:169:54: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
169 | if (write(conffd,(char *)&DBASE_MAXTRANS,ITSZ) < ITSZ){
| ^
g++ -std=gnu++17 -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -static-libgcc -static-libstdc++ -o makebin makebin.cc
mkdir -p ../../inst/bin/x64
cp exttpose getconf makebin ../../inst/bin/x64
make --no-print-directory -C cSPADE -f win.mk -f Makefile\
CXX="g++ -std=gnu++17 " CXXFLAGS="-pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign "\
LDFLAGS=" -static-libgcc -static-libstdc++"\
BINDIR="inst/bin/x64"\
install-bin
g++ -std=gnu++17 -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Itemset.cc
g++ -std=gnu++17 -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Array.cc
g++ -std=gnu++17 -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Eqclass.cc
g++ -std=gnu++17 -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Lists.cc
g++ -std=gnu++17 -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c extl2.cc
g++ -std=gnu++17 -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c partition.cc
partition.cc: In function 'void partition_get_minmaxcustid(int*, int, int, int&, int&)':
partition.cc:171:56: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare]
171 | if (read(DATAFD[pnum], (char *)&custid, ITSZ) < ITSZ){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
partition.cc:177:56: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare]
177 | if (read(DATAFD[pnum], (char *)&custid, ITSZ) < ITSZ){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
g++ -std=gnu++17 -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c maxgap.cc
g++ -std=gnu++17 -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -static-libgcc -static-libstdc++ -o spade sequence.cc Itemset.o Array.o Eqclass.o Lists.o extl2.o partition.o maxgap.o ../TPOSE/mmap-win32.o -lm
sequence.cc: In function 'void parse_args(int, char**)':
sequence.cc:245:46: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
245 | if (read(c,(char *)&DBASE_NUM_TRANS,ITSZ) < ITSZ){
sequence.cc:255:44: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
255 | if (read(c,(char *)&DBASE_MAXITEM,ITSZ) < ITSZ){
sequence.cc:259:48: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare]
259 | if (read(c,(char *)&DBASE_AVG_CUST_SZ,FTSZ) < FTSZ){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
sequence.cc:263:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare]
263 | if (read(c,(char *)&DBASE_AVG_TRANS_SZ,FTSZ) < FTSZ){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
sequence.cc:267:46: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
267 | if (read(c,(char *)&DBASE_TOT_TRANS,ITSZ) < ITSZ){
cp spade ../../inst/bin/x64
make[1]: Leaving directory '/d/temp/2025_12_24_01_50_00_27005/Rtmp0SClAR/R.INSTALLe1747ccec94/arulesSequences/src'
make[1]: Entering directory '/d/temp/2025_12_24_01_50_00_27005/Rtmp0SClAR/R.INSTALLe1747ccec94/arulesSequences/src'
make[1]: Leaving directory '/d/temp/2025_12_24_01_50_00_27005/Rtmp0SClAR/R.INSTALLe1747ccec94/arulesSequences/src'
no DLL was created
ERROR: compilation failed for package 'arulesSequences'
* removing 'd:/Rcompile/CRANpkg/lib/4.4/arulesSequences'
* restoring previous 'd:/Rcompile/CRANpkg/lib/4.4/arulesSequences'