errors due to compatibility

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

errors due to compatibility

sankar raman
Hi,

when I compile a simple filesystem
program, I get the following error.

/tmp/ccxIodBH.o(.text+0x580): In function `main':
: undefined reference to `fuse_main_compat2'
collect2: ld returned 1 exit status

Kindly help me out.
Thanks in advance

-Sankar


               
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
fuse-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/fuse-devel
Reply | Threaded
Open this post in threaded view
|

Re: errors due to compatibility

Miklos Szeredi
> when I compile a simple filesystem
> program, I get the following error.
>
> /tmp/ccxIodBH.o(.text+0x580): In function `main':
> : undefined reference to `fuse_main_compat2'
> collect2: ld returned 1 exit status

The fuse include files, and the library are not the same version.

You should use 'pkg-config --cflags --libs fuse' to determine the
compile flags.  You may also need to set the PKG_CONFIG_PATH before
that:

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH

Also it is possible that an old fuse package is installed on your
system, which you may need to remove.

Miklos


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
fuse-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/fuse-devel