Re: [Owfs-developers] FC4 OWFS compile problem

2006-01-27 Thread Congo Lawrence
Yes I got this solved several days ago.  A bunch of old fuse stuff 
sitting around that muddled up the install.  Started clean and had no 
issues with the FUSE or OWFS build.


Steve

Christian Magnusson wrote:

I don't know if you managed to fix the problem yourself, but the main
reason is that your new installation contains fuse-2.4 from beginning
+ you have fuse-2.5.x installed at /usr/local/include/fuse*
and /usr/local/lib/libfuse*.

You should either install the rpms fuse, fuse-libs and fuse-devel,
and then delete the installation-files under /usr/local/, or do the
opposite.
Notice that the kernel-module is installed by the kernel-rpm (and
possibly overwritten by your fuse-2.5 installation)
# rpm -qf /lib/modules/2.6.14-1.1656_FC4/kernel/fs/fuse/fuse.ko
kernel-2.6.14-1.1656_FC4

The current configure-script doesn't handle this situation very good
right now. I'll do some tests and see if we could change the behavior
and compilation flags to make sure it will use the latest version only
(or something similar).

/Christian



On Tue, 2006-01-24 at 21:10 -0500, Stephen Lawrence wrote:
  
I have been using the OWFS for over a year now, but a recent upgrade to 
FC4 to FC3 has given me some grief.


I did the whole FUSE install as per the installation instructions.  It 
does mention the FUSE kernel module is already present in FC4, but I did 
it anyway.  Scanned the  developer archieves, and updated ld.so.conf to 
include a path to /usr/local/lib as was suggested by someone.


I did the OWFS install and get this during make:

===
/usr/local/owfs/module/owfs/src/c/owfs.c:135: undefined reference to 
`fuse_mount_compat22'
owfs.o(.text+0x1b7):/usr/local/owfs/module/owfs/src/c/owfs.c:166: 
undefined reference to `fuse_new_compat22'

collect2: ld returned 1 exit status
make[4]: *** [owfs] Error 1
make[4]: Leaving directory `/usr/local/owfs/module/owfs/src/c'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/owfs/module/owfs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/owfs/module/owfs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/owfs/module'
make: *** [all-recursive] Error 1


I am no expert here, but have successfully, many times, recompilied both 
FUSE and OWFS using the provided instructions when using FC3, with no 
problems.


Any suggestions?  Need more info?

Thanks

Steve


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

  



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] FC4 OWFS compile problem

2006-01-26 Thread Christian Magnusson

I don't know if you managed to fix the problem yourself, but the main
reason is that your new installation contains fuse-2.4 from beginning
+ you have fuse-2.5.x installed at /usr/local/include/fuse*
and /usr/local/lib/libfuse*.

You should either install the rpms fuse, fuse-libs and fuse-devel,
and then delete the installation-files under /usr/local/, or do the
opposite.
Notice that the kernel-module is installed by the kernel-rpm (and
possibly overwritten by your fuse-2.5 installation)
# rpm -qf /lib/modules/2.6.14-1.1656_FC4/kernel/fs/fuse/fuse.ko
kernel-2.6.14-1.1656_FC4

The current configure-script doesn't handle this situation very good
right now. I'll do some tests and see if we could change the behavior
and compilation flags to make sure it will use the latest version only
(or something similar).

/Christian



On Tue, 2006-01-24 at 21:10 -0500, Stephen Lawrence wrote:
> I have been using the OWFS for over a year now, but a recent upgrade to 
> FC4 to FC3 has given me some grief.
> 
> I did the whole FUSE install as per the installation instructions.  It 
> does mention the FUSE kernel module is already present in FC4, but I did 
> it anyway.  Scanned the  developer archieves, and updated ld.so.conf to 
> include a path to /usr/local/lib as was suggested by someone.
> 
> I did the OWFS install and get this during make:
> 
> ===
> /usr/local/owfs/module/owfs/src/c/owfs.c:135: undefined reference to 
> `fuse_mount_compat22'
> owfs.o(.text+0x1b7):/usr/local/owfs/module/owfs/src/c/owfs.c:166: 
> undefined reference to `fuse_new_compat22'
> collect2: ld returned 1 exit status
> make[4]: *** [owfs] Error 1
> make[4]: Leaving directory `/usr/local/owfs/module/owfs/src/c'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/usr/local/owfs/module/owfs/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/owfs/module/owfs'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/owfs/module'
> make: *** [all-recursive] Error 1
> 
> 
> I am no expert here, but have successfully, many times, recompilied both 
> FUSE and OWFS using the provided instructions when using FC3, with no 
> problems.
> 
> Any suggestions?  Need more info?
> 
> Thanks
> 
> Steve
> 
> 
> ---
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] FC4 OWFS compile problem

2006-01-24 Thread Congo Lawrence
That narrows it down a bit.  I will try ripping out FUSE, and re-install 
it again.  I tend to agree, there may be some old stuff around that 
needs to come out before the next install attempt..


Thanks

Steve

Paul Alfille wrote:

On Tuesday 24 January 2006 09:10 pm, Stephen Lawrence wrote:
  

I have been using the OWFS for over a year now, but a recent upgrade to
FC4 to FC3 has given me some grief.

I did the whole FUSE install as per the installation instructions.  It
does mention the FUSE kernel module is already present in FC4, but I did
it anyway.  Scanned the  developer archieves, and updated ld.so.conf to
include a path to /usr/local/lib as was suggested by someone.

I did the OWFS install and get this during make:

===
/usr/local/owfs/module/owfs/src/c/owfs.c:135: undefined reference to
`fuse_mount_compat22'
owfs.o(.text+0x1b7):/usr/local/owfs/module/owfs/src/c/owfs.c:166:
undefined reference to `fuse_new_compat22'
collect2: ld returned 1 exit status
make[4]: *** [owfs] Error 1
make[4]: Leaving directory `/usr/local/owfs/module/owfs/src/c'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/owfs/module/owfs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/owfs/module/owfs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/owfs/module'
make: *** [all-recursive] Error 1


I am no expert here, but have successfully, many times, recompilied both
FUSE and OWFS using the provided instructions when using FC3, with no
problems.

Any suggestions?  Need more info?

Thanks

Steve



I did a bit of grepping.
fuse_new_compat22 and fuse_mount_compat22 are fuse functions, I think matching 
changes in the fuse API. They don't appear, per se, in owfs.


So from that, is sounds like a fuse installation problem. I wonder if old fuse 
libraries or include files are causing some confusion.


Like you, I found that I had to install fuse even though modern kernels 
include it, mainly because the included header files are needed for compiling 
owfs.


Paul Alfille


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

  



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] FC4 OWFS compile problem

2006-01-24 Thread Paul Alfille
On Tuesday 24 January 2006 09:10 pm, Stephen Lawrence wrote:
> I have been using the OWFS for over a year now, but a recent upgrade to
> FC4 to FC3 has given me some grief.
>
> I did the whole FUSE install as per the installation instructions.  It
> does mention the FUSE kernel module is already present in FC4, but I did
> it anyway.  Scanned the  developer archieves, and updated ld.so.conf to
> include a path to /usr/local/lib as was suggested by someone.
>
> I did the OWFS install and get this during make:
>
> ===
> /usr/local/owfs/module/owfs/src/c/owfs.c:135: undefined reference to
> `fuse_mount_compat22'
> owfs.o(.text+0x1b7):/usr/local/owfs/module/owfs/src/c/owfs.c:166:
> undefined reference to `fuse_new_compat22'
> collect2: ld returned 1 exit status
> make[4]: *** [owfs] Error 1
> make[4]: Leaving directory `/usr/local/owfs/module/owfs/src/c'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/usr/local/owfs/module/owfs/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/owfs/module/owfs'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/owfs/module'
> make: *** [all-recursive] Error 1
> 
>
> I am no expert here, but have successfully, many times, recompilied both
> FUSE and OWFS using the provided instructions when using FC3, with no
> problems.
>
> Any suggestions?  Need more info?
>
> Thanks
>
> Steve

I did a bit of grepping.
fuse_new_compat22 and fuse_mount_compat22 are fuse functions, I think matching 
changes in the fuse API. They don't appear, per se, in owfs.

So from that, is sounds like a fuse installation problem. I wonder if old fuse 
libraries or include files are causing some confusion.

Like you, I found that I had to install fuse even though modern kernels 
include it, mainly because the included header files are needed for compiling 
owfs.

Paul Alfille


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers