|
From: Tony S. <tsh...@os...> - 2007-04-13 18:12:02
|
Yes, there is Fuse for FreeBSD. I've built it from ports, and it's
using API 2.6.
Anyhooo....../configure is okay (after editing fuse.h to report the
correct API, apparently it has a backwards compat mode to version 2.1
and defaults to that. Changing to 2.6 per the instructions works
fine!), then when I attempt to do make or gmake, I get this error:
manager# gmake
gmake all-am
gmake[1]: Entering directory `/usr/local/src/mysqlfs-0.4.0-rc1'
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/local/include
-L/usr/lib -L/usr/local/lib -I/usr/include -I/usr/local/include
-L/usr/lib -L/usr/local/lib -I/usr/local/include -Wall -Werror
-I/usr/local/include/mysql -Wall -Werror -MT query.o -MD -MP -MF
".deps/query.Tpo" -c -o query.o query.c; \
then mv -f ".deps/query.Tpo" ".deps/query.Po"; else rm -f
".deps/query.Tpo"; exit 1; fi
query.c: In function `query_utime':
query.c:439: warning: long int format, time_t arg (arg 4)
query.c:439: warning: long int format, time_t arg (arg 5)
query.c:439: warning: long int format, time_t arg (arg 4)
query.c:439: warning: long int format, time_t arg (arg 5)
gmake[1]: *** [query.o] Error 1
gmake[1]: Leaving directory `/usr/local/src/mysqlfs-0.4.0-rc1'
gmake: *** [all] Error 2
The code section it's complaining about is below. The last line is line
439.
---------
int query_utime(MYSQL *mysql, long inode, struct utimbuf *time)
{
int ret;
char sql[SQL_MAX];
snprintf(sql, SQL_MAX,
"UPDATE inodes "
"SET atime=%ld, mtime=%ld "
"WHERE inode=%lu",
time->actime, time->modtime, inode);
--------
It appears to not like time->actime and time->modtime. Any idea what
might cause this or how to debug it/fix it up?
Thanks!
Tony Shadwick
OSS Solutions
|