Menu

#38 CENTOS make problem

open
nobody
None
5
2008-03-17
2008-03-17
Anonymous
No

On making this pkg the make fails stating...

Making all in doc
make[2]: Entering directory `/usr/local/curlftpfs-0.9.1/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/curlftpfs-0.9.1/doc'
make[2]: Entering directory `/usr/local/curlftpfs-0.9.1'
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -Wall -W -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/usr/local/include -o curlftpfs ftpfs.o libcurlftpfs.a -lglib-2.0 -pthread -L/usr/local/lib -lfuse -lrt -ldl -L/usr/local/lib -lcurl -L/usr/kerberos/lib
mkdir .libs
gcc -g -O2 -Wall -W -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/usr/local/include -o curlftpfs ftpfs.o -pthread libcurlftpfs.a /usr/lib/libglib-2.0.so -L/usr/local/lib /usr/local/lib/libfuse.so -lrt /usr/local/lib/libcurl.so -L/usr/kerberos/lib -lidn -lssl -lcrypto -ldl -lz -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
ftpfs.o: In function `buf_resize':
/usr/local/curlftpfs-0.9.1/ftpfs.c:84: undefined reference to `rpl_realloc'
ftpfs.o: In function `checkpasswd':
/usr/local/curlftpfs-0.9.1/ftpfs.c:1258: undefined reference to `rpl_realloc'
ftpfs.o: In function `ftpfs_open':
/usr/local/curlftpfs-0.9.1/ftpfs.c:513: undefined reference to `rpl_malloc'
libcurlftpfs.a(charset_utils.o): In function `convert_charsets':
/usr/local/curlftpfs-0.9.1/charset_utils.c:35: undefined reference to `rpl_malloc'
collect2: ld returned 1 exit status
make[2]: *** [curlftpfs] Error 1
make[2]: Leaving directory `/usr/local/curlftpfs-0.9.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/curlftpfs-0.9.1'
make: *** [all] Error 2

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Could this be a dependancy issue?

     
  • Nobody/Anonymous

    Logged In: NO

    try this

    http://www.cenolan.com/2008/05/mounting-an-ftp-filesystem-on-ydl6/

    jm_cv_func_working_malloc=yes
    export jm_cv_func_working_malloc
    ac_cv_func_malloc_0_nonnull=yes
    export ac_cv_func_malloc_0_nonnull
    jm_cv_func_working_realloc=yes
    export jm_cv_func_working_realloc
    ac_cv_func_realloc_0_nonnull=yes
    export ac_cv_func_realloc_0_nonnull

     
  • Joe Aston

    Joe Aston - 2008-11-18

    Follow the suggestion here: http://www.cenolan.com/2008/05/mounting-an-ftp-filesystem-on-ydl6/

    Seems to fix the problem for me (centos/5.2, curlftpfs/0.9.2, libcurl/7.19.2, fuse/2.7)

     

Log in to post a comment.