[Ilugc] Re: Ubuntu 8.04+FUSE filesystem

  • From: mailzico@xxxxxxxxx (Zico)
  • Date: Wed Sep 10 16:08:48 2008

On Tue, Sep 9, 2008 at 3:52 PM, Vijay Kumar <vijaykumar@xxxxxxxxxxxx> wrote:


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


This is what i got after applying the above command:

*root@laptop:/opt/siefs-0.5# gcc -l /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
gcc: siefs.o: No such file or directory
gcc: obex.o: No such file or directory
gcc: transport.o: No such file or directory
gcc: comm.o: No such file or directory
gcc: crcmodel.o: No such file or directory
gcc: charset.o: No such file or directory*

-- 
Best,
Z

Other related posts: