JackYeh / s3fs

Automatically exported from code.google.com/p/s3fs
GNU General Public License v2.0
0 stars 0 forks source link

curl_multi_timeout issue again in latest release... #39

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. make clean
2. make
3. pull hair

What is the expected output? What do you see instead?

starbase2:~/s3fs root# make
g++ -Wall -D__FreeBSD__=10 -D_FILE_OFFSET_BITS=64 -D__FreeBSD__=10 -
D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse  -L/usr/local/lib -
lfuse   -lcurl -lcrypto -I/usr/include/libxml2 -L/usr/lib -lxml2 -lz -
lpthread -liconv -lm -ggdb s3fs.cpp -o s3fs
s3fs.cpp: In function `int s3fs_readdir(const char*, void*, int (*)(void*, 
const char*, const stat*, off_t), off_t, fuse_file_info*)':
s3fs.cpp:1364: error: 'curl_multi_timeout' was not declared in this scope
s3fs.cpp: In function `std::string trim_right(const std::string&, const 
std::string&)':
s3fs.cpp:103: warning: control reaches end of non-void function
s3fs.cpp: At global scope:
s3fs.cpp:440: warning: 'size_t readCallback(void*, size_t, size_t, void*)' 
defined but not used
make: *** [all] Error 1
starbase2:~/s3fs root#

What version of the product are you using? On what operating system?
s3fs-r166-source.tar.gz - mac osx tiger

Please provide any additional information below.

verified that s3fs.cpp has the r133 changes but issue is back.  Used 
pkgsrc libxml/curl.

Original issue reported on code.google.com by donfann...@msn.com on 30 Jul 2008 at 9:07

GoogleCodeExporter commented 8 years ago
be sure you have at least curl 7.15.4

http://curl.haxx.se/libcurl/c/curl_multi_timeout.html

Original comment by rri...@gmail.com on 30 Jul 2008 at 9:26

GoogleCodeExporter commented 8 years ago
I have this same issue and already have curl 7.16.3 .

donfann... Were you able to get this resolved?  If so, how did you do it?

Thanks,
Justin Noel
AppBeacon.com

Original comment by justinbn...@gmail.com on 5 Feb 2009 at 1:07

GoogleCodeExporter commented 8 years ago
change these two lines:

long milliseconds;
VERIFY(curl_multi_timeout(multi_handle.get(), &milliseconds));

to just this one line:

long milliseconds = 50;

Original comment by rri...@gmail.com on 5 Feb 2009 at 1:14

GoogleCodeExporter commented 8 years ago
rrizun - thanks for the help.  worked a little better. Still having trouble 
though:

t# make
make: pkg-config: Command not found
g++ -Wall -D__FreeBSD__=10 -D_FILE_OFFSET_BITS=64  -lcurl -lcrypto 
-I/usr/include/libxml2 -L/usr/lib -
lxml2 -lz -lpthread -liconv -lm -ggdb s3fs.cpp -o s3fs
s3fs.cpp:440: warning: 'size_t readCallback(void*, size_t, size_t, void*)' 
defined but not used
/usr/bin/ld: Undefined symbols:
_fuse_main_real
_fuse_opt_parse
collect2: ld returned 1 exit status
make: *** [all] Error 1

Original comment by justinbn...@gmail.com on 5 Feb 2009 at 1:47

GoogleCodeExporter commented 8 years ago
@justinbroel.

I had the same problem. You have 'pkg-config: Command not found'. Thats messing
things up. Do a locate on pkg-config. Add the PATH of the first one to your 
path and
recompile.

Best.

Original comment by sca...@gmail.com on 27 Jul 2009 at 12:08

GoogleCodeExporter commented 8 years ago
This old issue appears to be related to either missing or old packages on the 
build system.  Hopefully recent changes in the Installation Notes and the use 
of autotools will help the user ensure that the prerequisite collateral is 
installed.

Please try rebuilding with more recent release.  If a problem still exists, 
then report back with details of the issue. If we don't hear anything in a few 
days, then this issue will be closed.

Original comment by dmoore4...@gmail.com on 3 Dec 2010 at 9:25

GoogleCodeExporter commented 8 years ago
Assumed to be fixed.

Original comment by dmoore4...@gmail.com on 19 Dec 2010 at 1:46