DEVICE_STATUS_TIMEOUT undeclared

Henrik libdivecomputer at henrik.synth.no
Tue Aug 28 06:12:33 UTC 2012


Den 27.08.12 23:18, skrev Jef Driesen:
> I have committed another change to the master branch. There is now a 
> new dc_context_t object that is intended to initialize and shutdown 
> the library. All public interfaces have been changed to include a 
> context pointer as one of their arguments. If you are using the 
> dc_device_open() and dc_parser_new() functions, you'll only have to 
> update the dc_device_open() call, because the context pointer is 
> automatically inherited.

Hi Jef.

When I compile the new libdivecomputer on MacOSX 10.8, I get the 
following error:

CC atomics_cobalt.lo
atomics_cobalt.c: In function ‘atomics_cobalt_device_version’:
atomics_cobalt.c:224: error: ‘DEVICE_STATUS_TIMEOUT’ undeclared (first 
use in this function)
atomics_cobalt.c:224: error: (Each undeclared identifier is reported 
only once
atomics_cobalt.c:224: error: for each function it appears in.)
atomics_cobalt.c:224: error: ‘DEVICE_STATUS_IO’ undeclared (first use in 
this function)
atomics_cobalt.c: In function ‘atomics_cobalt_read_dive’:
atomics_cobalt.c:280: error: ‘DEVICE_STATUS_TIMEOUT’ undeclared (first 
use in this function)
atomics_cobalt.c:280: error: ‘DEVICE_STATUS_IO’ undeclared (first use in 
this function)
make[3]: *** [atomics_cobalt.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

The only references to DEVICE_STATUS_TIMEOUT and DEVICE_STATUS_IO I can 
find is in atomics_cobalt.c. What am I missing?

Cheers,
Henrik





More information about the Devel mailing list