Jason Antman | 3 Jun 2008 23:34
Gravatar

OWFS - Debian problems

Hi,

I've built FUSE, OWFS, etc. from source on a Debian (4.0) machine. I'm 
using a DS9490R USB adapter from Hobby-Boards.com with (for now) one 
DS18S20P wired directly to it (RJ-14 pin 3 (DQ) to chip pin 2, RJ-14 pin 
4 to chip pin 1 (Gnd)).

As far as I can tell, everything is wired and installed correctly. 
However, I keep getting "short circuit" errors:

jantman <at> tuxostat:~$ sudo /opt/owfs/bin/owfs -u -m /mnt/1wire 
--foreground --error_level 9 --error_print 2 | tee /home/jantman/owfs-try1
CONNECT: fuse mount point: /mnt/1wire
   CALL: PARSENAME path=[]
CONNECT: Adapter found: 001/005
DEFAULT: Opened USB DS9490 adapter at 001/005.
   DATA: DS9490_setup_adapter: done (ret=0)
  DEBUG: Start of directory path= device=00 00 00 00 00 00 00 00
  DEBUG: Selecting a path (and device) path= SN=00 00 00 00 00 00 00 00 
last path=00 00 00 00 00 00 00 00
  DEBUG: Clearing root branch
   DATA: DS9490_reset
   DATA: DS9490_getstatus: Status byte[0]: A
   DATA: DS9490_getstatus(): short detected
   DATA: DS9490_reset: short detected
CONNECT: 1-wire bus short circuit.
   DATA: BUS_first failed during connect [001/005] (Probably non-DS9490 
device and empty bus).
  DEBUG: fuse_mnt_opt=[(null)]
  DEBUG: fuse_open_opt=[(null)]
(Continue reading)

Paul Alfille | 4 Jun 2008 02:50
Picon

Re: OWFS - Debian problems

Hi Jason.

The most obvious test would be to disconnect your RJ-14 cable (and the DS18S20 attached to it) and see if the bare DS9490R and it's internal DS2411 work ok.

Please report what you get. I suspect it's an unrecognized short circuit or miswiring, but this is the first step in figuring it out.

Paul Alfille

On Tue, Jun 3, 2008 at 5:34 PM, Jason Antman <jason <at> jasonantman.com> wrote:
Hi,

I've built FUSE, OWFS, etc. from source on a Debian (4.0) machine. I'm
using a DS9490R USB adapter from Hobby-Boards.com with (for now) one
DS18S20P wired directly to it (RJ-14 pin 3 (DQ) to chip pin 2, RJ-14 pin
4 to chip pin 1 (Gnd)).

As far as I can tell, everything is wired and installed correctly.
However, I keep getting "short circuit" errors:

jantman <at> tuxostat:~$ sudo /opt/owfs/bin/owfs -u -m /mnt/1wire
--foreground --error_level 9 --error_print 2 | tee /home/jantman/owfs-try1
CONNECT: fuse mount point: /mnt/1wire
  CALL: PARSENAME path=[]
CONNECT: Adapter found: 001/005
DEFAULT: Opened USB DS9490 adapter at 001/005.
  DATA: DS9490_setup_adapter: done (ret=0)
 DEBUG: Start of directory path= device=00 00 00 00 00 00 00 00
 DEBUG: Selecting a path (and device) path= SN=00 00 00 00 00 00 00 00
last path=00 00 00 00 00 00 00 00
 DEBUG: Clearing root branch
  DATA: DS9490_reset
  DATA: DS9490_getstatus: Status byte[0]: A
  DATA: DS9490_getstatus(): short detected
  DATA: DS9490_reset: short detected
CONNECT: 1-wire bus short circuit.
  DATA: BUS_first failed during connect [001/005] (Probably non-DS9490
device and empty bus).
 DEBUG: fuse_mnt_opt=[(null)]
 DEBUG: fuse_open_opt=[(null)]

I can't find anything on Google about this error message. If anyone can
provide some guidance, or a starting point, I would greatly appreciate it.

I can't find any obvious wiring errors. I do, however, just have the
ends of the Cat5 wrapped around the pins on the DS18S20P, though I've
separated them enough that it should prevent any interference.

Thanks,
Jason Antman
Rutgers University

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Jason Antman | 4 Jun 2008 03:55
Gravatar

Re: OWFS - Debian problems

Paul,

Thanks for the tip. I tried it and, sure enough, see an 81-family 
DS1420. I'll try hacking together another cable and see how that works - 
hopefully the problems will be fixed.

2 quick quesitons:
1) Do I need to restart OWFS after adding a device, or can I just keep 
everything as is and plug in the temperature probe?
2) More important - am I correct in my findings that my DS18S20P 
(sampled from Maxim) does NOT require Vdd to be shorted to ground for 
parasite power? I've tried it both ways...

Thanks Again,
Jason
> Hi Jason.
>
> The most obvious test would be to disconnect your RJ-14 cable (and the 
> DS18S20 attached to it) and see if the bare DS9490R and it's internal 
> DS2411 work ok.
>
> Please report what you get. I suspect it's an unrecognized short 
> circuit or miswiring, but this is the first step in figuring it out.
>
> Paul Alfille
>
> On Tue, Jun 3, 2008 at 5:34 PM, Jason Antman <jason <at> jasonantman.com 
> <mailto:jason <at> jasonantman.com>> wrote:
>
>     Hi,
>
>     I've built FUSE, OWFS, etc. from source on a Debian (4.0) machine. I'm
>     using a DS9490R USB adapter from Hobby-Boards.com with (for now) one
>     DS18S20P wired directly to it (RJ-14 pin 3 (DQ) to chip pin 2,
>     RJ-14 pin
>     4 to chip pin 1 (Gnd)).
>
>     As far as I can tell, everything is wired and installed correctly.
>     However, I keep getting "short circuit" errors:
>
>     jantman <at> tuxostat:~$ sudo /opt/owfs/bin/owfs -u -m /mnt/1wire
>     --foreground --error_level 9 --error_print 2 | tee
>     /home/jantman/owfs-try1
>     CONNECT: fuse mount point: /mnt/1wire
>       CALL: PARSENAME path=[]
>     CONNECT: Adapter found: 001/005
>     DEFAULT: Opened USB DS9490 adapter at 001/005.
>       DATA: DS9490_setup_adapter: done (ret=0)
>      DEBUG: Start of directory path= device=00 00 00 00 00 00 00 00
>      DEBUG: Selecting a path (and device) path= SN=00 00 00 00 00 00 00 00
>     last path=00 00 00 00 00 00 00 00
>      DEBUG: Clearing root branch
>       DATA: DS9490_reset
>       DATA: DS9490_getstatus: Status byte[0]: A
>       DATA: DS9490_getstatus(): short detected
>       DATA: DS9490_reset: short detected
>     CONNECT: 1-wire bus short circuit.
>       DATA: BUS_first failed during connect [001/005] (Probably non-DS9490
>     device and empty bus).
>      DEBUG: fuse_mnt_opt=[(null)]
>      DEBUG: fuse_open_opt=[(null)]
>
>     I can't find anything on Google about this error message. If
>     anyone can
>     provide some guidance, or a starting point, I would greatly
>     appreciate it.
>
>     I can't find any obvious wiring errors. I do, however, just have the
>     ends of the Cat5 wrapped around the pins on the DS18S20P, though I've
>     separated them enough that it should prevent any interference.
>
>     Thanks,
>     Jason Antman
>     Rutgers University
>
>     -------------------------------------------------------------------------
>     Check out the new SourceForge.net Marketplace.
>     It's the best place to buy or sell services for
>     just about anything Open Source.
>     http://sourceforge.net/services/buy/index.php
>     _______________________________________________
>     Owfs-developers mailing list
>     Owfs-developers <at> lists.sourceforge.net
>     <mailto:Owfs-developers <at> lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> ------------------------------------------------------------------------
>
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>   

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
Paul Alfille | 4 Jun 2008 04:06
Picon

Re: OWFS - Debian problems

On Tue, Jun 3, 2008 at 9:55 PM, Jason Antman <jason <at> jasonantman.com> wrote:

1) Do I need to restart OWFS after adding a device, or can I just keep
everything as is and plug in the temperature probe?
2) More important - am I correct in my findings that my DS18S20P
(sampled from Maxim) does NOT require Vdd to be shorted to ground for
parasite power? I've tried it both ways...

Great. Should be a simple fix.

To answer your questions:

1. No (though it might be easier). The bus contents are "cached" for up to 2 minutes. If you use the "uncached" directory, you should force an immediate re-read.
2. According to the datasheet (for the DS18S20-PAR which I assume is what you have) http://datasheets.maxim-ic.com/en/ds/DS18S20-PAR.pdf pin 3 is NC -- not connected.

Paul Alfille
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Jason Antman | 4 Jun 2008 08:32
Gravatar

Re: OWFS - Debian problems

Paul,

Got it all working!

Thanks for the help!

Paul Alfille wrote:
> On Tue, Jun 3, 2008 at 9:55 PM, Jason Antman <jason <at> jasonantman.com 
> <mailto:jason <at> jasonantman.com>> wrote:
>
>     1) Do I need to restart OWFS after adding a device, or can I just keep
>     everything as is and plug in the temperature probe?
>     2) More important - am I correct in my findings that my DS18S20P
>     (sampled from Maxim) does NOT require Vdd to be shorted to ground for
>     parasite power? I've tried it both ways...
>
>
> Great. Should be a simple fix.
>
> To answer your questions:
>
> 1. No (though it might be easier). The bus contents are "cached" for 
> up to 2 minutes. If you use the "uncached" directory, you should force 
> an immediate re-read.
> 2. According to the datasheet (for the DS18S20-PAR which I assume is 
> what you have) http://datasheets.maxim-ic.com/en/ds/DS18S20-PAR.pdf 
> pin 3 is NC -- not connected.
>
> Paul Alfille
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> ------------------------------------------------------------------------
>
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>   

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
Serg Oskin | 7 Jun 2008 17:06
Picon
Favicon

BUG: read /alarm

Hi,

I found such a mistake:

$ tclsh
% package require ow;
% ::OW::init -s 3000
% ::OW::get /alarm
28.2CCD80000000/,28.86BF80000000/
% # ...Clear all alarms...
% ::OW::get /alarm
<pause of ~2 seconds>
I/O error
%

Similar for perl:

$ perl
use OW ;
OW::init("-s 3000");
my $res = OW::get("/alarm") or die;
print "$res\n";
^D
<pause of ~2 seconds>
Died at - line 5.
$

tclsh (or perl) with --error_level=9 --error_print=2 :

   DEBUG: FS_OWQ_create of /alarm
    CALL: PARSENAME path=[/alarm]
   DEBUG: In FS_dir(/alarm)
    CALL: DIRECTORY path=/alarm
   DEBUG: ALARM directory
    CALL: SERVER(0)DIR path=/alarm path_busless=/alarm
<pause of ~2 seconds by tcp_read>
CONNECT: TIMEOUT after 0 bytes
   DEBUG: Return from ALARM is -5
   DEBUG: FS_dir_both out ret=-5
   DEBUG: FS_OWQ_destroy of /alarm
   DEBUG: ParsedName_destroy /alarm

owserver with --error_level=9 --error_print=2 :

   DEBUG: OWSERVER tcp connection persistence -- reusing connection now.
   DEBUG: FromClient payload=7 size=0 type=4 sg=0x105 offset=0
   DEBUG: Persistence requested
    CALL: owserver: parse path=/alarm
   DEBUG: FS_OWQ_create of /alarm
    CALL: PARSENAME path=[/alarm]
    CALL: Directory message (one at a time)
    CALL: DirHandler: pn->path=/alarm
   DEBUG: OWSERVER SpecifiedBus=0 path=/alarm
   DEBUG: In FS_dir_remote(/alarm)
    CALL: DIRECTORY path=/alarm
   DEBUG: ALARM directory
   DEBUG: Selecting a path (and device) path=/alarm SN=00 00 00 00 00 00 
00 00 last path=00 00 00 00 00 00 00 00
   DEBUG: BUS_next return = -5 00 00 00 00 00 00 00 00
   DEBUG: FS_alarmdir BUS_first_alarm = -5
   DEBUG: Return from ALARM is -5
   DEBUG: FS_dir_both out ret=-5
   DEBUG: FS_OWQ_destroy of /alarm
   DEBUG: ParsedName_destroy /alarm
   DEBUG: RealHandler: FS_ParsedName_destroy done
   DEBUG: RealHandler: cm.ret=-5
   DEBUG: RealHandler: done
<pause of ~2 seconds>
   DEBUG: OWSERVER tcp connection persistence -- reusing connection now.
   DEBUG: OWSERVER handler done

Sorry, no time now to seek the cause. :(

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
Lyle Giese | 9 Jun 2008 02:35
Favicon

Make for owfs fails with invalid Python installation

I tried to search the archives for this and came up empty.  I started to
play with OWFS after purchasing some sensors from www.hobby-boards.com
and came upon an issue with OWFS 2.7p4.

I am installing on a system running OpenSuSE 10.3 (i386).  I untarred
OWFS and ran configure with no options.  Then make.  No problems so far.

Then make install.  It dies when entering modules/ownet/python with:

error: invalid Python installation: unable to open
/usr/lib/python2.5/config/Makefile (no such file or directory)

I don't need or want python modules, so I figure this is something I
don't want or need.

I retried running configure with the option of --disable-python, with no
change, same error. 

I went into module/ownet and edited the Makefile by changing
ENABLE_PYTHON = true to false on line 119 and ENABLE_OWPYTHON = true to
false on line 110.  No change, still errors out in make install.

I went into module/ownet again and edited the Makefile by commenting out
line 302:

OWNET_SUBDIRPYTHON = python

Now make install works and I get owfs and everything I really need to
make this work.

I know this is not the proper way to do this, but I have no use for the
python modules as I am a perl man myself.  But thought I should mention
this issue here since I could not find anything in the list archives.

Thanks,
Lyle Giese
LCR Computer Services, Inc.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
Paul Alfille | 10 Jun 2008 18:38
Picon

Fwd: [Owfs-forums] [owfs - Help] Unable to build



---------- Forwarded message ----------
From: SourceForge.net <noreply <at> sourceforge.net>
Date: Tue, Jun 10, 2008 at 11:48 AM
Subject: [Owfs-forums] [owfs - Help] Unable to build
To: noreply <at> sourceforge.net



Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=5020950
By: simonhobson

I'm trying to build OWFS on a Debian Etch box.

At first I was unable to configure - getting the same message. Googling for
the error message came up with hints that this is related to including header
files in the wrong order. I edited
/usr/local/owfs-2.7p4/module/owlib/src/include/ow.h and moved the includes for
time.h and sys/time.h to before sys/stat.h and this allowed configure to run.
However, compile still fails.

Can anyone suggest where to look next ?


Config options are :
Current configuration:

   Deployment location: /opt/owfs

Compile-time options:
                 Caching is enabled
                     USB is enabled
                     I2C is DISABLED
                  HA7Net is DISABLED
          Multithreading is enabled
   Parallel port DS1410E is DISABLED
       TAI8570 barometer is enabled
            Thermocouple is enabled
        Zeroconf/Bonjour is DISABLED
            Debug-output is enabled
               Profiling is DISABLED

Module configuration:
                   owlib is enabled
                 owshell is enabled
                    owfs is enabled
                 owhttpd is DISABLED
                  owftpd is DISABLED
                owserver is DISABLED
                   ownet is DISABLED
                ownetlib is DISABLED
                   owtap is DISABLED
                   owmon is DISABLED
                  owcapi is DISABLED
                    swig is DISABLED
                  owperl is DISABLED
                   owphp is DISABLED
                owpython is DISABLED
                   owtcl is DISABLED

LibUSB and LibFUSE are as follows :

# dpkg -l libusb*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                     Version                  Description
+++-========================-========================-==========================
======================================
ii  libusb-0.1-4             0.1.12-5                 userspace USB programming
library
ii  libusb-dev               0.1.12-5                 userspace USB programming
library development files
un  libusb0                  <none>                   (no description
available)
# dpkg -l libfuse*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                     Version                  Description
+++-========================-========================-==========================
======================================
ii  libfuse-dev              2.7.1-2~bpo40+1          Filesystem in USErspace
(development files)
ii  libfuse2                 2.7.1-2~bpo40+1          Filesystem in USErspace
library


The point where the build fails is :
make[4]: Entering directory `/usr/local/owfs-2.7p4/module/owfs/src/c'
gcc -DHAVE_CONFIG_H -I. -I../../../../src/include    -I../include
-D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -I/usr/include/linux
-I../../../owlib/src/include -L../../../owlib/src/c -fexceptions -Wall -W -Wundef
-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes
-Wredundant-decls  -pthread  -g -O2 -MT owfs.o -MD -MP -MF .deps/owfs.Tpo -c
-o owfs.o owfs.c
In file included from /usr/include/sys/stat.h:105,
                from ../../../owlib/src/include/ow.h:101,
                from ../include/owfs.h:19,
                from owfs.c:18:
/usr/include/bits/stat.h:70: error: field 'st_atim' has incomplete type
/usr/include/bits/stat.h:71: error: field 'st_mtim' has incomplete type
/usr/include/bits/stat.h:72: error: field 'st_ctim' has incomplete type
In file included from /usr/include/sys/types.h:266,
                from ../../../owlib/src/include/ow.h:105,
                from ../include/owfs.h:19,
                from owfs.c:18:
/usr/include/bits/pthreadtypes.h:50: error: expected specifier-qualifier-list
before 'size_t'
In file included from ../../../owlib/src/include/ow.h:108,
                from ../include/owfs.h:19,
                from owfs.c:18:
/usr/include/sys/times.h:37: error: expected specifier-qualifier-list before
'clock_t'
/usr/include/sys/times.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'times'
In file included from ../../../owlib/src/include/ow.h:110,
                from ../include/owfs.h:19,
                from owfs.c:18:
/usr/include/stdlib.h:140: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '__ctype_get_mb_cur_max'
/usr/include/stdlib.h:450: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/stdlib.h:480: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/stdlib.h:482: error: nonnull argument with out-of-range operand
number (argument 1, operand 4)
/usr/include/stdlib.h:584: error: expected ')' before '__size'
/usr/include/stdlib.h:586: error: expected ')' before '__nmemb'
/usr/include/stdlib.h:595: error: expected declaration specifiers or '...' before
'size_t'
In file included from /usr/include/stdlib.h:606,
                from ../../../owlib/src/include/ow.h:110,
                from ../include/owfs.h:19,
                from owfs.c:18:
/usr/include/alloca.h:33: error: expected ')' before '__size'
In file included from ../../../owlib/src/include/ow.h:110,
                from ../include/owfs.h:19,
                from owfs.c:18:
/usr/include/stdlib.h:611: error: expected ')' before '__size'
/usr/include/stdlib.h:768: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/stdlib.h:768: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/stdlib.h:769: error: nonnull argument with out-of-range operand
number (argument 1, operand 5)
/usr/include/stdlib.h:773: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/stdlib.h:773: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/stdlib.h:774: error: nonnull argument with out-of-range operand
number (argument 1, operand 4)
/usr/include/stdlib.h:846: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/stdlib.h:849: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/stdlib.h:853: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/stdlib.h:857: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/stdlib.h:866: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/stdlib.h:869: error: expected ')' before '*' token
/usr/include/stdlib.h:873: error: expected declaration specifiers or '...' before
'wchar_t'
/usr/include/stdlib.h:877: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'mbstowcs'
/usr/include/stdlib.h:880: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'wcstombs'
In file included from /usr/include/_G_config.h:44,
                from /usr/include/libio.h:32,
                from /usr/include/stdio.h:72,
                from ../../../owlib/src/include/ow.h:111,
                from ../include/owfs.h:19,
                from owfs.c:18:
/usr/include/gconv.h:72: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/gconv.h:88: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/gconv.h:97: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/gconv.h:174: error: expected specifier-qualifier-list before
'size_t'
In file included from /usr/include/stdio.h:72,
                from ../../../owlib/src/include/ow.h:111,
                from ../include/owfs.h:19,
                from owfs.c:18:
/usr/include/libio.h:354: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/libio.h:363: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/libio.h:479: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '_IO_sgetn'
In file included from ../../../owlib/src/include/ow.h:111,
                from ../include/owfs.h:19,
                from owfs.c:18:
/usr/include/stdio.h:302: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/stdio.h:309: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/stdio.h:351: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/stdio.h:353: error: format string argument not a string type
/usr/include/stdio.h:355: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/stdio.h:603: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'fread'
/usr/include/stdio.h:609: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'fwrite'
/usr/include/stdio.h:631: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'fread_unlocked'
/usr/include/stdio.h:633: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'fwrite_unlocked'
In file included from ../../../owlib/src/include/ow.h:113,
                from ../include/owfs.h:19,
                from owfs.c:18:
/usr/include/linux/dirent.h:6: error: expected specifier-qualifier-list before
'__kernel_off_t'
/usr/include/linux/dirent.h:12: error: expected specifier-qualifier-list before
'__u64'
In file included from /usr/include/asm/signal.h:8,
                from /usr/include/linux/signal.h:4,
                from ../../../owlib/src/include/ow.h:114,
                from ../include/owfs.h:19,
                from owfs.c:18:
/usr/include/asm-i486/signal.h:32: error: conflicting types for 'sigset_t'
/usr/include/sys/select.h:38: error: previous declaration of 'sigset_t' was
here
In file included from /usr/include/asm/signal.h:8,
                from /usr/include/linux/signal.h:4,
                from ../../../owlib/src/include/ow.h:114,
                from ../include/owfs.h:19,
                from owfs.c:18:
/usr/include/asm-i486/signal.h:154: error: expected specifier-qualifier-list
before 'size_t'
In file included from /usr/include/asm-i486/siginfo.h:4,
                from /usr/include/asm/siginfo.h:8,
                from /usr/include/linux/signal.h:5,
                from ../../../owlib/src/include/ow.h:114,
                from ../include/owfs.h:19,
                from owfs.c:18:
/usr/include/asm-generic/siginfo.h:56: error: expected specifier-qualifier-list
before 'timer_t'
/usr/include/asm-generic/siginfo.h:75: error: expected specifier-qualifier-list
before 'clock_t'
In file included from /usr/include/sys/uio.h:29,
                from ../../../owlib/src/include/ow.h:142,
                from ../include/owfs.h:19,
                from owfs.c:18:
/usr/include/bits/uio.h:45: error: expected specifier-qualifier-list before
'size_t'
In file included from /usr/include/sys/socket.h:35,
                from ../../../owlib/src/include/ow.h:146,
                from ../include/owfs.h:19,
                from owfs.c:18:
/usr/include/bits/socket.h:221: error: expected specifier-qualifier-list before
'size_t'
/usr/include/bits/socket.h:232: error: expected specifier-qualifier-list before
'size_t'
/usr/include/bits/socket.h: In function '__cmsg_nxthdr':
/usr/include/bits/socket.h:266: error: 'size_t' undeclared (first use in this
function)
/usr/include/bits/socket.h:266: error: (Each undeclared identifier is reported
only once
/usr/include/bits/socket.h:266: error: for each function it appears in.)
/usr/include/bits/socket.h:266: error: expected ')' before '__cmsg'
/usr/include/bits/socket.h:271: error: 'struct cmsghdr' has no member named
'cmsg_len'
/usr/include/bits/socket.h:271: error: expected ')' before '~' token
/usr/include/bits/socket.h:272: error: 'struct msghdr' has no member named
'msg_control'
/usr/include/bits/socket.h:273: error: 'struct msghdr' has no member named
'msg_controllen'
/usr/include/bits/socket.h:274: error: 'struct cmsghdr' has no member named
'cmsg_len'
/usr/include/bits/socket.h:274: error: expected ')' before '~' token
/usr/include/bits/socket.h:275: error: 'struct msghdr' has no member named
'msg_control'
/usr/include/bits/socket.h:275: error: 'struct msghdr' has no member named
'msg_controllen'
In file included from ../../../owlib/src/include/ow.h:146,
                from ../include/owfs.h:19,
                from owfs.c:18:
/usr/include/sys/socket.h: At top level:
/usr/include/sys/socket.h:136: error: expected declaration specifiers or '...'
before 'size_t'
/usr/include/sys/socket.h:143: error: expected declaration specifiers or '...'
before 'size_t'
/usr/include/sys/socket.h:150: error: expected declaration specifiers or '...'
before 'size_t'
/usr/include/sys/socket.h:161: error: expected declaration specifiers or '...'
before 'size_t'
In file included from /usr/include/netdb.h:33,
                from ../../../owlib/src/include/ow.h:153,
                from ../include/owfs.h:19,
                from owfs.c:18:
/usr/include/rpc/netdb.h:61: error: expected declaration specifiers or '...'
before 'size_t'
/usr/include/rpc/netdb.h:65: error: expected declaration specifiers or '...'
before 'size_t'
/usr/include/rpc/netdb.h:69: error: expected declaration specifiers or '...'
before 'size_t'
In file included from ../../../owlib/src/include/ow.h:153,
                from ../include/owfs.h:19,
                from owfs.c:18:
/usr/include/netdb.h:162: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/netdb.h:169: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/netdb.h:175: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/netdb.h:181: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/netdb.h:232: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/netdb.h:238: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/netdb.h:244: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/netdb.h:304: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/netdb.h:310: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/netdb.h:315: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/netdb.h:370: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/netdb.h:375: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/netdb.h:380: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/netdb.h:430: error: expected declaration specifiers or '...' before
'size_t'
In file included from ../../../owlib/src/include/ow.h:163,
                from ../include/owfs.h:19,
                from owfs.c:18:
/usr/include/search.h:91: error: expected ')' before '__nel'
/usr/include/search.h:109: error: expected ')' before '__nel'
/usr/include/search.h:166: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/search.h:166: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/search.h:171: error: expected declaration specifiers or '...' before
'size_t'
/usr/include/search.h:171: error: expected declaration specifiers or '...' before
'size_t'
In file included from ../../../owlib/src/include/ow.h:202,
                from ../include/owfs.h:19,
                from owfs.c:18:
../../../owlib/src/include/ow_localtypes.h:79: error: expected '=', ',', ';',
'asm' or '__attribute__' before '_DATE'
In file included from ../../../owlib/src/include/ow.h:211,
                from ../include/owfs.h:19,
                from owfs.c:18:
../../../owlib/src/include/ow_charblob.h:59: error: expected specifier-qualifier-list
before 'size_t'
../../../owlib/src/include/ow_charblob.h:67: error: expected declaration specifiers
or '...' before 'size_t'
In file included from ../../../owlib/src/include/ow.h:214,
                from ../include/owfs.h:19,
                from owfs.c:18:
../../../owlib/src/include/ow_memblob.h:58: error: expected specifier-qualifier-list
before 'size_t'
../../../owlib/src/include/ow_memblob.h:65: error: expected declaration specifiers
or '...' before 'size_t'
../../../owlib/src/include/ow_memblob.h:66: error: expected declaration specifiers
or '...' before 'size_t'
../../../owlib/src/include/ow_memblob.h:67: error: expected declaration specifiers
or '...' before 'size_t'
In file included from ../../../owlib/src/include/ow_mutexes.h:56,
                from ../../../owlib/src/include/ow.h:217,
                from ../include/owfs.h:19,
                from owfs.c:18:
/usr/include/pthread.h:284: error: expected declaration specifiers or '...'
before 'size_t'
/usr/include/pthread.h:288: error: expected declaration specifiers or '...'
before 'size_t'
In file included from ../../../owlib/src/include/ow.h:249,
                from ../include/owfs.h:19,
                from owfs.c:18:
../../../owlib/src/include/ow_filetype.h:175: error: expected
specifier-qualifier-list before 'size_t'
In file included from ../../../owlib/src/include/ow.h:266,
                from ../include/owfs.h:19,
                from owfs.c:18:
../../../owlib/src/include/ow_onewirequery.h:17: error: expected
specifier-qualifier-list before '_DATE'
../../../owlib/src/include/ow_onewirequery.h:25: error: expected
specifier-qualifier-list before 'size_t'
../../../owlib/src/include/ow_onewirequery.h:57: error: expected declaration
specifiers or '...' before 'size_t'
../../../owlib/src/include/ow_onewirequery.h:58: error: expected declaration
specifiers or '...' before 'size_t'
../../../owlib/src/include/ow_onewirequery.h:64: error: expected declaration
specifiers or '...' before 'size_t'
In file included from ../../../owlib/src/include/ow.h:288,
                from ../include/owfs.h:19,
                from owfs.c:18:
../../../owlib/src/include/ow_message.h:30: error: expected specifier-qualifier-list
before 'clock_t'
../../../owlib/src/include/ow_message.h:70: error: expected specifier-qualifier-list
before 'size_t'
In file included from ../../../owlib/src/include/ow.h:292,
                from ../include/owfs.h:19,
                from owfs.c:18:
../../../owlib/src/include/ow_global.h:71: error: expected specifier-qualifier-list
before 'size_t'
In file included from ../include/owfs.h:19,
                from owfs.c:18:
../../../owlib/src/include/ow.h:296: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'start_time'
../../../owlib/src/include/ow.h:297: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'dir_time'
In file included from ../../../owlib/src/include/ow.h:301,
                from ../include/owfs.h:19,
                from owfs.c:18:
../../../owlib/src/include/ow_functions.h:101: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'FileLength'
../../../owlib/src/include/ow_functions.h:102: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'FullFileLength'
../../../owlib/src/include/ow_functions.h:104: warning: type defaults to 'int'
in declaration of 'size_t'
../../../owlib/src/include/ow_functions.h:104: error: expected ';', ',' or ')'
before 'length'
../../../owlib/src/include/ow_functions.h:108: warning: type defaults to 'int'
in declaration of 'size_t'
../../../owlib/src/include/ow_functions.h:108: error: expected ';', ',' or ')'
before 'length'
../../../owlib/src/include/ow_functions.h:109: warning: type defaults to 'int'
in declaration of 'size_t'
../../../owlib/src/include/ow_functions.h:109: error: expected ';', ',' or ')'
before 'length'
../../../owlib/src/include/ow_functions.h:110: warning: type defaults to 'int'
in declaration of 'size_t'
../../../owlib/src/include/ow_functions.h:110: error: expected ';', ',' or ')'
before 'size'
../../../owlib/src/include/ow_functions.h:111: warning: type defaults to 'int'
in declaration of 'size_t'
../../../owlib/src/include/ow_functions.h:111: error: expected ';', ',' or ')'
before 'size'
../../../owlib/src/include/ow_functions.h:114: warning: type defaults to 'int'
in declaration of 'size_t'
../../../owlib/src/include/ow_functions.h:114: error: expected ';', ',' or ')'
before 'length'
../../../owlib/src/include/ow_functions.h:115: warning: type defaults to 'int'
in declaration of 'size_t'
../../../owlib/src/include/ow_functions.h:115: error: expected ';', ',' or ')'
before 'length'
../../../owlib/src/include/ow_functions.h:116: warning: type defaults to 'int'
in declaration of 'size_t'
../../../owlib/src/include/ow_functions.h:116: error: expected ';', ',' or ')'
before 'length'
../../../owlib/src/include/ow_functions.h:117: warning: type defaults to 'int'
in declaration of 'size_t'
../../../owlib/src/include/ow_functions.h:117: error: expected ';', ',' or ')'
before 'length'
../../../owlib/src/include/ow_functions.h:118: warning: type defaults to 'int'
in declaration of 'size_t'
../../../owlib/src/include/ow_functions.h:118: error: expected ';', ',' or ')'
before 'length'
../../../owlib/src/include/ow_functions.h:129: warning: type defaults to 'int'
in declaration of '_DATE'
../../../owlib/src/include/ow_functions.h:129: error: expected ';', ',' or ')'
before 'D'
../../../owlib/src/include/ow_functions.h:130: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'UT_toDate'
In file included from ../../../owlib/src/include/ow_functions.h:134,
                from ../../../owlib/src/include/ow.h:301,
                from ../include/owfs.h:19,
                from owfs.c:18:
../../../owlib/src/include/ow_cache.h:89: warning: type defaults to 'int' in
declaration of 'size_t'
../../../owlib/src/include/ow_cache.h:89: error: expected ';', ',' or ')' before
'datasize'
../../../owlib/src/include/ow_cache.h:92: warning: type defaults to 'int' in
declaration of 'size_t'
../../../owlib/src/include/ow_cache.h:92: error: expected ';', ',' or ')' before
'datasize'
../../../owlib/src/include/ow_cache.h:95: error: expected declaration specifiers
or '...' before 'size_t'
../../../owlib/src/include/ow_cache.h:96: error: expected declaration specifiers
or '...' before 'size_t'
../../../owlib/src/include/ow_cache.h:99: error: expected declaration specifiers
or '...' before 'size_t'
../../../owlib/src/include/ow_cache.h:100: error: expected declaration specifiers
or '...' before 'size_t'
In file included from ../../../owlib/src/include/ow.h:301,
                from ../include/owfs.h:19,
                from owfs.c:18:
../../../owlib/src/include/ow_functions.h:157: error: expected declaration specifiers
or '...' before 'size_t'
../../../owlib/src/include/ow_functions.h:185: warning: type defaults to 'int'
in declaration of 'size_t'
../../../owlib/src/include/ow_functions.h:185: error: expected ';', ',' or ')'
before 'size'
../../../owlib/src/include/ow_functions.h:189: warning: type defaults to 'int'
in declaration of 'size_t'
../../../owlib/src/include/ow_functions.h:189: error: expected ';', ',' or ')'
before 'size'
../../../owlib/src/include/ow_functions.h:199: error: expected declaration specifiers
or '...' before 'size_t'
../../../owlib/src/include/ow_functions.h:206: error: expected declaration specifiers
or '...' before 'size_t'
../../../owlib/src/include/ow_functions.h:206: error: expected declaration specifiers
or '...' before 'size_t'
../../../owlib/src/include/ow_functions.h:206: error: expected declaration specifiers
or '...' before 'size_t'
../../../owlib/src/include/ow_functions.h:207: error: expected declaration specifiers
or '...' before 'size_t'
../../../owlib/src/include/ow_functions.h:207: error: expected declaration specifiers
or '...' before 'size_t'
../../../owlib/src/include/ow_functions.h:207: error: expected declaration specifiers
or '...' before 'size_t'
../../../owlib/src/include/ow_functions.h:207: error: expected declaration specifiers
or '...' before 'size_t'
../../../owlib/src/include/ow_functions.h:209: error: expected declaration specifiers
or '...' before 'size_t'
../../../owlib/src/include/ow_functions.h:209: error: expected declaration specifiers
or '...' before 'size_t'
../../../owlib/src/include/ow_functions.h:210: error: expected declaration specifiers
or '...' before 'size_t'
../../../owlib/src/include/ow_functions.h:210: error: expected declaration specifiers
or '...' before 'size_t'
../../../owlib/src/include/ow_functions.h:211: error: expected declaration specifiers
or '...' before 'size_t'
../../../owlib/src/include/ow_functions.h:211: error: expected declaration specifiers
or '...' before 'size_t'
../../../owlib/src/include/ow_functions.h:212: error: expected declaration specifiers
or '...' before 'size_t'
../../../owlib/src/include/ow_functions.h:212: error: expected declaration specifiers
or '...' before 'size_t'
../../../owlib/src/include/ow_functions.h:213: error: expected declaration specifiers
or '...' before 'size_t'
../../../owlib/src/include/ow_functions.h:213: error: expected declaration specifiers
or '...' before 'size_t'
../../../owlib/src/include/ow_functions.h:214: error: expected declaration specifiers
or '...' before 'size_t'
../../../owlib/src/include/ow_functions.h:214: error: expected declaration specifiers
or '...' before 'size_t'
../../../owlib/src/include/ow_functions.h:216: error: expected declaration specifiers
or '...' before 'size_t'
../../../owlib/src/include/ow_functions.h:217: error: expected declaration specifiers
or '...' before 'size_t'
In file included from /usr/include/sys/ioctl.h:30,
                from ../../../owlib/src/include/ow_connection.h:69,
                from owfs.c:19:
/usr/include/bits/ioctl-types.h:29: error: redefinition of 'struct winsize'
/usr/include/bits/ioctl-types.h:38: error: redefinition of 'struct termio'
In file included from ../../../owlib/src/include/ow_connection.h:70,
                from owfs.c:19:
../../../owlib/src/include/ow_transaction.h:81: error: expected
specifier-qualifier-list before 'size_t'
In file included from owfs.c:19:
../../../owlib/src/include/ow_connection.h:129: warning: type defaults to 'int'
in declaration of 'size_t'
../../../owlib/src/include/ow_connection.h:129: error: expected ';', ',' or
')' before 'len'
../../../owlib/src/include/ow_connection.h:131: error: expected ';' before
'int'
../../../owlib/src/include/ow_connection.h:372: error: expected
specifier-qualifier-list before 'size_t'
../../../owlib/src/include/ow_connection.h:504: warning: type defaults to 'int'
in declaration of 'size_t'
../../../owlib/src/include/ow_connection.h:504: error: expected ';', ',' or
')' before 'len'
../../../owlib/src/include/ow_connection.h:505: warning: type defaults to 'int'
in declaration of 'size_t'
../../../owlib/src/include/ow_connection.h:505: error: expected ';', ',' or
')' before 'len'
../../../owlib/src/include/ow_connection.h:506: warning: type defaults to 'int'
in declaration of 'size_t'
../../../owlib/src/include/ow_connection.h:506: error: expected ';', ',' or
')' before 'len'
../../../owlib/src/include/ow_connection.h:507: warning: type defaults to 'int'
in declaration of 'size_t'
../../../owlib/src/include/ow_connection.h:507: error: expected ';', ',' or
')' before 'len'
../../../owlib/src/include/ow_connection.h:508: warning: type defaults to 'int'
in declaration of 'size_t'
../../../owlib/src/include/ow_connection.h:508: error: expected ';', ',' or
')' before 'len'
../../../owlib/src/include/ow_connection.h:514: warning: type defaults to 'int'
in declaration of 'size_t'
../../../owlib/src/include/ow_connection.h:514: error: expected ';', ',' or
')' before 'len'
../../../owlib/src/include/ow_connection.h:515: warning: type defaults to 'int'
in declaration of 'size_t'
../../../owlib/src/include/ow_connection.h:515: error: expected ';', ',' or
')' before 'len'
owfs.c: In function 'main':
owfs.c:68: warning: implicit declaration of function 'strdup'
owfs.c:68: warning: incompatible implicit declaration of built-in function
'strdup'
owfs.c:164: warning: implicit declaration of function 'fuse_main'
make[4]: *** [owfs.o] Error 1
make[4]: Leaving directory `/usr/local/owfs-2.7p4/module/owfs/src/c'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/owfs-2.7p4/module/owfs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/owfs-2.7p4/module/owfs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/owfs-2.7p4/module'
make: *** [all-recursive] Error 1



______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=292718

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Owfs-forums mailing list
Owfs-forums <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-forums

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Matthias Urlichs | 10 Jun 2008 19:01
Picon

Re: Unable to build

Hi,

> I'm trying to build OWFS on a Debian Etch box.
> 
Bah. I seem to need to update my Debian packaging.

--

-- 
Matthias Urlichs   |   {M:U} IT Design  <at>  m-u-it.de   |  smurf <at> smurf.noris.de
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
 - -
If you aren't rich you should always look useful.
		-- Louis-Ferdinand Celine

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
Paul Alfille | 10 Jun 2008 19:29
Picon

Re: Unable to build

Do you think there is a problem with the include files? Has the structure changed in Etch?

It sounds like this person can't build from source.

Paul Alfille

On Tue, Jun 10, 2008 at 1:01 PM, Matthias Urlichs <smurf <at> smurf.noris.de> wrote:
Hi,

> I'm trying to build OWFS on a Debian Etch box.
>
Bah. I seem to need to update my Debian packaging.

--
Matthias Urlichs   |   {M:U} IT Design <at> m-u-it.de   |  smurf <at> smurf.noris.de
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
 - -
If you aren't rich you should always look useful.
               -- Louis-Ferdinand Celine

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Gmane