Skip to content

Error compiling version 0.1.5 on Ubuntu 9.10 #37

@GoogleCodeExporter

Description

@GoogleCodeExporter
"make odvr" will not succeed. 
the OS is Ubuntu 9.10.
This is what I get in the output:

altima@altima-desktop:~/Downloads/ODVR-1.5.0$ make odvr
gcc -g -O2 -Wall `pkg-config gtk+-2.0 --cflags`   -c -o olympusdvr.o 
olympusdvr.c
olympusdvr.c:24:21: error: sndfile.h: No such file or directory
olympusdvr.c:25:17: error: usb.h: No such file or directory
olympusdvr.c: In function ‘set_error’:
olympusdvr.c:67: warning: implicit declaration of function ‘vsnprintf’
olympusdvr.c: In function ‘find_odvr’:
olympusdvr.c:89: warning: implicit declaration of function ‘usb_get_busses’
olympusdvr.c:89: warning: assignment makes pointer from integer without a 
cast
olympusdvr.c:89: error: dereferencing pointer to incomplete type
olympusdvr.c:90: error: dereferencing pointer to incomplete type
olympusdvr.c:90: error: dereferencing pointer to incomplete type
olympusdvr.c:91: error: dereferencing pointer to incomplete type
olympusdvr.c:92: error: dereferencing pointer to incomplete type
olympusdvr.c: In function ‘trace_hexdump’:
olympusdvr.c:104: warning: implicit declaration of function ‘fprintf’
olympusdvr.c:104: warning: incompatible implicit declaration of built-in 
function ‘fprintf’
olympusdvr.c:104: error: ‘stderr’ undeclared (first use in this function)
olympusdvr.c:104: error: (Each undeclared identifier is reported only once
olympusdvr.c:104: error: for each function it appears in.)
olympusdvr.c: In function ‘try_usb_bulk_write’:
olympusdvr.c:122: warning: implicit declaration of function 
‘usb_bulk_write’
olympusdvr.c:129: warning: implicit declaration of function ‘usb_strerror’
olympusdvr.c: In function ‘try_usb_bulk_read’:
olympusdvr.c:144: warning: implicit declaration of function ‘usb_bulk_read’
olympusdvr.c: In function ‘odvr_open’:
olympusdvr.c:221: warning: implicit declaration of function ‘usb_init’
olympusdvr.c:222: warning: implicit declaration of function 
‘usb_find_busses’
olympusdvr.c:224: warning: implicit declaration of function 
‘usb_find_devices’
olympusdvr.c:228: warning: implicit declaration of function ‘usb_open’
olympusdvr.c:228: warning: assignment makes pointer from integer without a 
cast
olympusdvr.c:236: warning: implicit declaration of function 
‘usb_claim_interface’
olympusdvr.c:239: warning: implicit declaration of function ‘usb_close’
olympusdvr.c: In function ‘odvr_close’:
olympusdvr.c:277: warning: implicit declaration of function ‘usb_reset’
olympusdvr.c: In function ‘odvr_reset’:
olympusdvr.c:309: warning: implicit declaration of function ‘usleep’
olympusdvr.c: In function ‘cmd_check’:
olympusdvr.c:342: warning: implicit declaration of function 
‘usb_interrupt_read’
olympusdvr.c: In function ‘odvr_model’:
olympusdvr.c:427: warning: implicit declaration of function ‘snprintf’
olympusdvr.c:427: warning: incompatible implicit declaration of built-in 
function ‘snprintf’
olympusdvr.c: In function ‘odvr_quality_name’:
olympusdvr.c:611: warning: incompatible implicit declaration of built-in 
function ‘snprintf’
olympusdvr.c:616: warning: incompatible implicit declaration of built-in 
function ‘snprintf’
olympusdvr.c: In function ‘odvr_save_wav’:
olympusdvr.c:821: error: ‘SNDFILE’ undeclared (first use in this function)
olympusdvr.c:821: error: ‘out’ undeclared (first use in this function)
olympusdvr.c:822: error: ‘SF_INFO’ undeclared (first use in this function)
olympusdvr.c:822: error: expected ‘;’ before ‘out_fmt’
olympusdvr.c:833: error: ‘out_fmt’ undeclared (first use in this function)
olympusdvr.c:856: warning: implicit declaration of function 
‘sf_format_check’
olympusdvr.c:862: warning: implicit declaration of function ‘sf_open_fd’
olympusdvr.c:862: error: ‘SFM_WRITE’ undeclared (first use in this 
function)
olympusdvr.c:872: warning: implicit declaration of function 
‘sf_write_short’
olympusdvr.c:874: warning: implicit declaration of function ‘sf_close’
olympusdvr.c: In function ‘odvr_save_raw’:
olympusdvr.c:897: warning: implicit declaration of function ‘write’
make: *** [olympusdvr.o] Ошибка 1

Original issue reported on code.google.com by timashkov@gmail.com on 1 Jun 2010 at 5:09

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions