Menu

Trouble installing on x86_64: undefined reference to `rpl_malloc'

Help
2018-03-22
2018-10-13
  • Ulf Brandes

    Ulf Brandes - 2018-03-22

    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

     
  • xypron

    xypron - 2018-10-13

    How would I compile sispmctl on an x86_64 system?

    git clone; ./autogen.sh; ./configure; make

     

Log in to post a comment.

MongoDB Logo MongoDB