g++ -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -pthread -lfuse -lrt
-ldl -lcurl -I/usr/include/libxml2 -L/usr/lib -lxml2 -ggdb s3fs.cpp -o s3fs
s3fs.cpp: In function ‘std::string calc_signature(std::string, std::string,
std::string, curl_slist*, std::string)’:
s3fs.cpp:254: warning: value computed is not used
s3fs.cpp: At global scope:
s3fs.cpp:273: warning: ‘size_t readCallback(void*, size_t, size_t, void*)’
defined but not used
/home/tv/tmp/cc9ATbRc.o: In function
`__static_initialization_and_destruction_0':
/home/tv/src/s3fs/s3fs.git/s3fs/s3fs.cpp:198: undefined reference to `EVP_sha1'
/home/tv/tmp/cc9ATbRc.o: In function
`calc_signature(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, curl_slist*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)':
/home/tv/src/s3fs/s3fs.git/s3fs/s3fs.cpp:248: undefined reference to `HMAC'
/home/tv/src/s3fs/s3fs.git/s3fs/s3fs.cpp:250: undefined reference to
`BIO_f_base64'
/home/tv/src/s3fs/s3fs.git/s3fs/s3fs.cpp:250: undefined reference to `BIO_new'
/home/tv/src/s3fs/s3fs.git/s3fs/s3fs.cpp:251: undefined reference to
`BIO_s_mem'
/home/tv/src/s3fs/s3fs.git/s3fs/s3fs.cpp:251: undefined reference to `BIO_new'
/home/tv/src/s3fs/s3fs.git/s3fs/s3fs.cpp:252: undefined reference to `BIO_push'
/home/tv/src/s3fs/s3fs.git/s3fs/s3fs.cpp:253: undefined reference to
`BIO_write'
/home/tv/src/s3fs/s3fs.git/s3fs/s3fs.cpp:254: undefined reference to `BIO_ctrl'
/home/tv/src/s3fs/s3fs.git/s3fs/s3fs.cpp:256: undefined reference to `BIO_ctrl'
/home/tv/src/s3fs/s3fs.git/s3fs/s3fs.cpp:261: undefined reference to
`BIO_free_all'
/home/tv/tmp/cc9ATbRc.o: In function `s3fs_open':
/home/tv/src/s3fs/s3fs.git/s3fs/s3fs.cpp:665: undefined reference to `MD5_Init'
/home/tv/src/s3fs/s3fs.git/s3fs/s3fs.cpp:670: undefined reference to
`MD5_Update'
/home/tv/src/s3fs/s3fs.git/s3fs/s3fs.cpp:674: undefined reference to
`MD5_Final'
collect2: ld returned 1 exit status
make: *** [all] Error 1
adding -lssl made it build
Original issue reported on code.google.com by tommi.vi...@gmail.com on 17 Dec 2007 at 10:50
Original issue reported on code.google.com by
tommi.vi...@gmail.com
on 17 Dec 2007 at 10:50