[Ilugc] Re: Ubuntu 8.04+FUSE filesystem
Vijay Kumar
vijaykumar at bravegnu.org
Tue Sep 9 15:22:45 IST 2008
Zico <mailzico at ...> writes:
> /usr/lib/libfuse.a(fuse.o): In function `curr_time':
> (.text+0x2116): undefined reference to `clock_gettime'
> /usr/lib/libfuse.a(fuse.o): In function `curr_time':
> (.text+0x2148): undefined reference to `clock_gettime'
> /usr/lib/libfuse.a(fuse.o): In function `fuse_put_module':
> (.text+0x2df5): undefined reference to `dlclose'
[clip]
> What should i do now?
Seems like the -lrt and -ldl flags are missing. Try this
$ gcc -I/usr/include -DFUSEINST="\"/usr\"" -D_FILE_OFFSET_BITS=64
-DFUSE_USE_VERSION=22 -L/lib -o siefs siefs.o obex.o transport.o comm.o
crcmodel.o charset.o /usr/lib/libfuse.a -lpthread -lrt -ldl
Regards,
Vijay
More information about the ilugc
mailing list