Christian Magnusson wrote: > There were no dependencies to libpthread when compiling libow.so, > so OW.so loaded libow.so and didn't understand to use libpthread.so > too. > > I have updated some of the makefiles and configure.ac to fix the > problem (I hope). I guess this fix only was needed for older libc.
YES! Now it works like a charm :-) thank you! I still have a strange problem with owfs, sometimes I can not read files - just after I disconnect 18b20 from 1 wire network, its "address" directory (cache) still exists but reading the "temperature" file is impossible -> mc gives error and crashes :-) File exists (I also did test -e, test -s to check it) however I can't read it :-) I did a little work around now to avoid passing wrong data to rrd database (perl) (reading data) if ($temp1 = `cat /mnt/1wire/10.0EFE82000800/temperature`) { chomp($temp1); } else { $temp1=NaN; #(somehow I could not read the file :( ) } But is there any other work around for this problem? And sometimes this problem happens even when nothing has been done on the network ("hardware" change like disconnecting device) (logging script) open(PLIK, ">>/usr/local/meteo/plik.txt"); my $data=`date +%T`; print PLIK "$data | $temp1 | $temp2 | $temp3 | $temp4 | $temp5 | $temp6 | $temp7 | $solar \n"; close PLIK; (plik.txt, result :-O) ... 18:07:05 | 21.75 | 4.13 | 37 | 48.0 | 45.0 | 20 | 19.8438 | 32 18:08:01 | NaN | | 37 | 47.5 | 43.0 | NaN | NaN | NaN 18:09:05 | 21.8125 | 4.13 | 37 | 43.0 | 43.0 | 20 | 20.3438 | 37 ... ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers