yangljun / s3fs

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

complie time error after running #make #361

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Detailed description of observed behavior:

Hi ,

I am geting compile time error while running make command see the error below.

++++++++++++++++++++++++++++++++++++++++++++++
#./configure
....
checking dependency style of g++... gcc3
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for DEPS... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating doc/Makefile
config.status: executing depfiles commands
[root@ip-10-0-0-155 s3fs-1.72]# make
Making all in src
make[1]: Entering directory `/root/s3fs-1.72/src'
g++  -g -O2 -Wall -D_FILE_OFFSET_BITS=64   -o s3fs s3fs.o curl.o cache.o 
string_util.o s3fs_util.o fdcache.o -pthread -L/lib -lfuse -lcurl -lxml2 
-lcrypto
curl.o: In function `GetContentMD5(int)':
/root/s3fs-1.72/src/curl.cpp:2613: undefined reference to `md5hexsum(int, long 
long, int)'
curl.o: In function `S3fsCurl::UploadMultipartPostSetup(char const*, int, 
std::string&)':
/root/s3fs-1.72/src/curl.cpp:2035: undefined reference to `md5sum(int, long 
long, int)'
collect2: error: ld returned 1 exit status
make[1]: *** [s3fs] Error 1
make[1]: Leaving directory `/root/s3fs-1.72/src'
make: *** [all-recursive] Error 1

[root@ip-10-0-0-155 s3fs-1.72]# cat /etc/issue
Amazon Linux AMI release 2012.03
Kernel \r on an \m

[root@ip-10-0-0-155 s3fs-1.72]# uname -a
Linux ip-10-0-0-155 3.2.12-3.2.4.amzn1.i686 #1 SMP Thu Mar 22 07:59:03 UTC 2012 
i686 i686 i386 GNU/Linux
[root@ip-10-0-0-155 s3fs-1.72]# Linux ip-10-0-0-155 3.2.12-3.2.4.amzn1.i686 #1 
SMP Thu Mar 22 07:59:03 UTC 2012 i686 i686 i386 GNU/Linux^C
[root@ip-10-0-0-155 s3fs-1.72]# pkg-config --modversion fuse
2.9.2
++++++++++++++++++++++++++++++++++++++++

===================================================================
The following information is very important in order to help us to help
you.  Omission of the following details may delay your support request or
receive no attention at all.
===================================================================
Version of s3fs being used (s3fs --version):s3fs-1.72

Version of fuse being used (pkg-config --modversion fuse): fuse 2.9.2

System information (uname -a):Linux ip-10-0-0-155 3.2.12-3.2.4.amzn1.i686 #1 
SMP Thu Mar 22 07:59:03 UTC 2012 i686 i686 i386 GNU/Linux

Distro (cat /etc/issue):Amazon Linux AMI release 2012.03

Regards,
Kshitij mali
kshitijmmali@gmail.com

Original issue reported on code.google.com by kshitijm...@gmail.com on 16 Aug 2013 at 6:15

GoogleCodeExporter commented 9 years ago
Hi

I updated new revision as r466.
Please try to make this, if you have a problem yet, please let me know.

Thank you for your help.

Original comment by ggta...@gmail.com on 19 Aug 2013 at 6:32

GoogleCodeExporter commented 9 years ago
Hi

Have the same issue on CentOS 6.2.
Packages:
   fuse 2.8.4
   curl 7.19.7

Original comment by yury.shu...@gmail.com on 21 Aug 2013 at 6:34

GoogleCodeExporter commented 9 years ago
Hi

I'm sorry for mis-coding which is wrong prototype for md5sum and md5hexsum 
functions.
(This bug is as same as Issue 360)
Thus I updated new revision(r469).
Please checkout new revision and check it.

I closed this issue, if you find another bug please let me know.

Thanks in advance.

Original comment by ggta...@gmail.com on 21 Aug 2013 at 8:43