Hi, I'm struggling migrating sispmctl to my new 64bit Synology server.
make teminates with an error:
main.o: In function main':
/usr/local/sispmctl-4.0/src/main.c:858: undefined reference torpl_malloc'
collect2: error: ld returned 1 exit status
Makefile:488: recipe for target 'sispmctl' failed
I suspect this has to do with usage of macro 'malloc' on a 64bit system, e.g. oob = (char *) malloc(32);
socket.c: In function 'l_listen':
../config.h:118:16: warning: implicit declaration of function 'rpl_malloc' [-Wimplicit-function-declaration]
How would I compile sispmctl on an x86_64 system?
Thank you! Ulf
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I'm struggling migrating sispmctl to my new 64bit Synology server.
make teminates with an error:
main.o: In function
main': /usr/local/sispmctl-4.0/src/main.c:858: undefined reference torpl_malloc'collect2: error: ld returned 1 exit status
Makefile:488: recipe for target 'sispmctl' failed
I suspect this has to do with usage of macro 'malloc' on a 64bit system, e.g. oob = (char *) malloc(32);
socket.c: In function 'l_listen':
../config.h:118:16: warning: implicit declaration of function 'rpl_malloc' [-Wimplicit-function-declaration]
How would I compile sispmctl on an x86_64 system?
Thank you! Ulf
git clone; ./autogen.sh; ./configure; make