Build failure of fuse-zip 0.2.5 on Mac OS X
Issue #11
closed
Originally reported on Google Code with ID 11
What steps will reproduce the problem?
1. Building fuse-zip
2.
3.
What is the expected output? What do you see instead?
gcc fails with this error:
g++ -c -Wall -Wextra -I/sw/include/fuse -D__FreeBSD__=10 -D_FILE_OFFSET_BITS=64 -
I/sw/include fuse-zip.cpp -o fuse-zip.o
fuse-zip.cpp: In function 'int main(int, char**)':
fuse-zip.cpp:511: error: invalid conversion from 'int (*)(const char*, const char*,
const char*,
size_t, int)' to 'int (*)(const char*, const char*, const char*, size_t, int, uint32_t)'
fuse-zip.cpp:512: error: invalid conversion from 'int (*)(const char*, const char*,
char*, size_t)' to
'int (*)(const char*, const char*, char*, size_t, uint32_t)'
make: *** [fuse-zip.o] Error 1
What version of the product are you using? On what operating system?
fuse-zip 0.2.5 on Mac OS X 10.5.4 with fuse 2.7.3
Please provide any additional information below.
I see that fuse/fuse.h contains:
/** Set extended attributes */
#if (__FreeBSD__ >= 10)
int (*setxattr) (const char *, const char *, const char *, size_t, int, uint32_t);
#else
int (*setxattr) (const char *, const char *, const char *, size_t, int);
#endif /* __FreeBSD__ >= 10 */
/** Get extended attributes */
#if (__FreeBSD__ >= 10)
int (*getxattr) (const char *, const char *, char *, size_t, uint32_t);
#else
int (*getxattr) (const char *, const char *, char *, size_t);
#endif /* __FreeBSD__ >= 10 */
So FreeBSD and Mac OS X need the extra uint32_t parameter.
Reported by daniel.johnson31
on 2008-08-28 12:33:16
Comments (6)
-
Account Deleted -
Account Deleted Reported by `alexander.galanin` on 2008-09-30 14:02:19 - Status changed: `Fixed`
-
Account Deleted ``` fixed on 0.2.6 ```
Reported by `alexander.galanin` on 2008-09-30 14:02:35
-
Account Deleted ``` I am having this same problem with fuse-zip 0.2.13 on Mac OS X 10.6.8 and fuse 2.0.3 main.cpp:205: error: invalid conversion ... main.cpp:206: error: invalid conversion ... ```
Reported by `rlhelinski` on 2012-05-10 12:40:18
-
Account Deleted ``` Can you send full compilation log for investigation? ```
Reported by `alexander.galanin` on 2012-05-10 13:30:10
-
repo owner - changed status to closed
- edited description
Close by timeout waiting for answer.
- Log in to comment
Reported by `alexander.galanin` on 2008-08-28 16:54:09 - Status changed: `Accepted`