Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compiling version 0.1.5 on Ubuntu 9.10 #37

Open
GoogleCodeExporter opened this issue Mar 15, 2015 · 1 comment
Open

Error compiling version 0.1.5 on Ubuntu 9.10 #37

GoogleCodeExporter opened this issue Mar 15, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

"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 [email protected] on 1 Jun 2010 at 5:09

@GoogleCodeExporter
Copy link
Author

solved by running the command again after the installation of the following 
packages:
libgtk2.0-dev
libsndfile1-dev
libusb-dev

Original comment by [email protected] on 1 Jun 2010 at 5:20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant