odvr
odvr copied to clipboard
Can't build
Hi! I have a problem...
1. I placed "41-odvr.rules" into "/etc/udev/rules.d"
2. I run "udevcontrol reload_rules" and replugged my DVR
3. I use Fedora, so I changed GROUP="audio" to GROUP="gisela" (gisela is my
user, did I right?)
The answer I get is "make: *** No hay ninguna regla para construir el
objetivo `install'. Alto." That means something like "there is no rules to
build the objective".
I downloaded odvr-0.1.4.1 and I use Fedora 10. I really don't know much
about this things, only what I have learned using GNU+Linux. Please help, I
need to use my DVR!
Thank you very much for this driver, it's very useful for a lot of people!
Gisela.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected] on 20 Mar 2009 at 2:33
You should unpack downloaded archive in this way:
tar -xvf odvr-0.1.4.1.tar.gz
And then, build it from source:
make odvr
And install:
make install
Original comment by ivan%[email protected] on 28 Mar 2009 at 6:53
Hi! Thank you very much.
I did what you say, and I get this:
[gisela@pelliz ~]$ tar -xvf odvr-0.1.4.1.tar.gz
odvr-0.1.4.1/
odvr-0.1.4.1/util/
odvr-0.1.4.1/util/decodesetup
odvr-0.1.4.1/util/splogfilter
odvr-0.1.4.1/Makefile
odvr-0.1.4.1/cli.c
odvr-0.1.4.1/odvr.x86
odvr-0.1.4.1/README
odvr-0.1.4.1/41-odvr.rules
odvr-0.1.4.1/olympusdvr.c
odvr-0.1.4.1/olympusdvr.h
odvr-0.1.4.1/INSTALL
odvr-0.1.4.1/COPYING
[gisela@pelliz ~]$ cd odvr-0.1.4.1
[gisela@pelliz odvr-0.1.4.1]$ su
Contraseña:
[root@pelliz odvr-0.1.4.1]# make odvr
gcc -g -O2 -Wall -c -o cli.o cli.c
gcc -g -O2 -Wall -c -o olympusdvr.o olympusdvr.c
olympusdvr.c:24:21: error: sndfile.h: No existe el fichero o el directorio
olympusdvr.c: En la función ‘set_error’:
olympusdvr.c:67: aviso: declaración implícita de la función ‘vsnprintf’
olympusdvr.c: En la función ‘trace_hexdump’:
olympusdvr.c:104: aviso: declaración implícita de la función ‘fprintf’
olympusdvr.c:104: aviso: declaración implícita incompatible de la función
interna
‘fprintf’
olympusdvr.c:104: error: ‘stderr’ no se declaró aquí (primer uso en esta
función)
olympusdvr.c:104: error: (Cada identificador no declarado solamente se reporta
una vez
olympusdvr.c:104: error: para cada funcion en la que aparece.)
olympusdvr.c: En la función ‘odvr_model’:
olympusdvr.c:427: aviso: declaración implícita de la función ‘snprintf’
olympusdvr.c:427: aviso: declaración implícita incompatible de la función
interna
‘snprintf’
olympusdvr.c: En la función ‘odvr_quality_name’:
olympusdvr.c:602: aviso: declaración implícita incompatible de la función
interna
‘snprintf’
olympusdvr.c:607: aviso: declaración implícita incompatible de la función
interna
‘snprintf’
olympusdvr.c: En la función ‘odvr_save_wav’:
olympusdvr.c:777: error: ‘SNDFILE’ no se declaró aquí (primer uso en esta
función)
olympusdvr.c:777: error: ‘out’ no se declaró aquí (primer uso en esta
función)
olympusdvr.c:778: error: ‘SF_INFO’ no se declaró aquí (primer uso en esta
función)
olympusdvr.c:778: error: expected ‘;’ before ‘out_fmt’
olympusdvr.c:789: error: ‘out_fmt’ no se declaró aquí (primer uso en esta
función)
olympusdvr.c:807: aviso: declaración implícita de la función
‘sf_format_check’
olympusdvr.c:813: aviso: declaración implícita de la función ‘sf_open_fd’
olympusdvr.c:813: error: ‘SFM_WRITE’ no se declaró aquí (primer uso en
esta función)
olympusdvr.c:823: aviso: declaración implícita de la función
‘sf_write_short’
olympusdvr.c:825: aviso: declaración implícita de la función ‘sf_close’
make: *** [olympusdvr.o] Error 1
[root@pelliz odvr-0.1.4.1]#
Now that I've read it, I recognize that I don't know what this means:
<There is no configure script at this time. You'll need libusb and libsndfile,
and their associated development headers.>
Please explain me!!
Thank you again
Original comment by [email protected] on 28 Mar 2009 at 7:52
You should install theese libraries: libusb and libsndfile, and their headers,
named
libusb-devel and libsndfile-devel.
1) yum install libusb libusb-devel libsndfile libsndfile-devel.
Other way, you can find rpm files for theese packages, and install them.
Original comment by ivan%[email protected] on 29 Mar 2009 at 10:41
Thank you very much!
Now I'm using it.
You really help me.
Thank you again!
Original comment by [email protected] on 29 Mar 2009 at 5:23