Menu

Impossible de patcher drivers Ubuntu

Messages postés
1329
Date d'inscription
mardi 18 mars 2008
Statut
Membre
Dernière intervention
1 février 2019
-
bonjour j'ai un soucis avec mon lecteur d'empreinte sur Hp pavilion dv6
les divers logiciel scanne mon doigt seulement une fois ..donc impossible d'enregistrer mon empreinte
j'ai trouvé une solution sur Google mais impossible de le faire ...voir capture d'ecran









la solution :

Hi Andrej!

IT WORKS!!!! Amazing!

Great job! Thanks for the effort!

I compiled and installed. fprint_demo GUI.

So if anybody wants to give it a shot here is what I did:

I have Ubuntu 11.10 64bit

I have installed fprint_demo from repositories.

Now download fprint: http://cgit.freedesktop.org/libfprint/libfprint/snapshot/v_0_4_0.tar.gz
and download the driver: https://github.com/andree182/vfs301/tarball/master
uncompressed them!

Now from the driver copy all the files:
libfprint/vfs301.c
and all the files on the other folder
cli/vfs301_photo.* (they are 3 files)

So copy all them on the libfprint uncompressed folder v_0_4_0/libfprint/drivers

Then in a Terminal apply the patch:
$ cd ~/v_0_4_0
$ patch -p1 < ~/Desktop/integrate_vfs301.patch
$ ./autogen.sh
$ make
$ sudo make install

Restart the Computer


je tape donc :

phenomix@phenomix-HP-Pavilion-dv6-Notebook-PC:~/Bureau/v_0_4_0$ 


Ensuite

phenomix@phenomix-HP-Pavilion-dv6-Notebook-PC:~/Bureau/v_0_4_0$ patch -p1 < ~/Bureau/integrate_vfs301.patch
bash: /home/phenomix/Bureau/integrate_vfs301.patch: Aucun fichier ou dossier de ce type

alors je deplace le fichier integrate_vfs301.patch sur le bureau et j'obtiens:

root@phenomix-HP-Pavilion-dv6-Notebook-PC:/home/phenomix/Bureau/v_0_4_0# patch /home/phenomix/Bureau/v_0_4_0/libfprint/drivers/integrate_vfs301.patch


Mais sa n'avance pas sa reste bloquer avec un carrer noir

ensuite je tape sa

 phenomix@phenomix-HP-Pavilion-dv6-Notebook-PC:~/Bureau/v_0_4_0$ patch -p1 <libfprint/drivers/integrate_vfs301.patch
patching file configure.ac
Hunk #5 succeeded at 283 (offset -2 lines).
patching file libfprint/Makefile.am
Hunk #3 succeeded at 130 (offset 1 line).
patching file libfprint/core.c
patching file libfprint/drivers/vfs301.c
The next patch would create the file libfprint/drivers/vfs301_proto.c,
which already exists! Assume -R? [n] -R
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file libfprint/drivers/vfs301_proto.h,
which already exists! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file libfprint/drivers/vfs301_proto_fragments.h,
which already exists! Assume -R? [n] A
Apply anyway? [n] Y
Skipping patch.
1 out of 1 hunk ignored
patching file libfprint/fp_internal.h


ensuite
message d'erreur au moment ou je tape : ./autogen.sh

libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:214: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from...
configure.ac:214: the top level
configure.ac:214: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from...
configure.ac:214: the top level
configure.ac:214: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from...
configure.ac:214: the top level
configure.ac:214: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from...
configure.ac:214: the top level
configure.ac:214: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from...
configure.ac:214: the top level
configure.ac:11: installing './compile'
configure.ac:2: installing './missing'
examples/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
examples/Makefile.am: installing './depcomp'
libfprint/Makefile.am:5: warning: source file 'drivers/upeke2.c' is in a subdirectory,
libfprint/Makefile.am:5: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
libfprint/Makefile.am:6: warning: source file 'drivers/upekts.c' is in a subdirectory,
libfprint/Makefile.am:6: but option 'subdir-objects' is disabled
libfprint/Makefile.am:8: warning: source file 'drivers/upeksonly.c' is in a subdirectory,
libfprint/Makefile.am:8: but option 'subdir-objects' is disabled
libfprint/Makefile.am:9: warning: source file 'drivers/uru4000.c' is in a subdirectory,
libfprint/Makefile.am:9: but option 'subdir-objects' is disabled
libfprint/Makefile.am:14: warning: source file 'drivers/vcom5s.c' is in a subdirectory,
libfprint/Makefile.am:14: but option 'subdir-objects' is disabled
libfprint/Makefile.am:10: warning: source file 'drivers/aes1610.c' is in a subdirectory,
libfprint/Makefile.am:10: but option 'subdir-objects' is disabled
libfprint/Makefile.am:11: warning: source file 'drivers/aes2501.c' is in a subdirectory,
libfprint/Makefile.am:11: but option 'subdir-objects' is disabled
libfprint/Makefile.am:12: warning: source file 'drivers/aes4000.c' is in a subdirectory,
libfprint/Makefile.am:12: but option 'subdir-objects' is disabled
libfprint/Makefile.am:15: warning: source file 'drivers/vfs101.c' is in a subdirectory,
libfprint/Makefile.am:15: but option 'subdir-objects' is disabled
libfprint/Makefile.am:16: warning: source file 'drivers/vfs301.c' is in a subdirectory,
libfprint/Makefile.am:16: but option 'subdir-objects' is disabled
libfprint/Makefile.am:16: warning: source file 'drivers/vfs301_proto.c' is in a subdirectory,
libfprint/Makefile.am:16: but option 'subdir-objects' is disabled
libfprint/Makefile.am:38: warning: source file 'nbis/bozorth3/bozorth3.c' is in a subdirectory,
libfprint/Makefile.am:38: but option 'subdir-objects' is disabled
libfprint/Makefile.am:38: warning: source file 'nbis/bozorth3/bz_alloc.c' is in a subdirectory,
libfprint/Makefile.am:38: but option 'subdir-objects' is disabled
libfprint/Makefile.am:38: warning: source file 'nbis/bozorth3/bz_drvrs.c' is in a subdirectory,
libfprint/Makefile.am:38: but option 'subdir-objects' is disabled
libfprint/Makefile.am:38: warning: source file 'nbis/bozorth3/bz_gbls.c' is in a subdirectory,
libfprint/Makefile.am:38: but option 'subdir-objects' is disabled
libfprint/Makefile.am:38: warning: source file 'nbis/bozorth3/bz_io.c' is in a subdirectory,
libfprint/Makefile.am:38: but option 'subdir-objects' is disabled
libfprint/Makefile.am:38: warning: source file 'nbis/bozorth3/bz_sort.c' is in a subdirectory,
libfprint/Makefile.am:38: but option 'subdir-objects' is disabled
libfprint/Makefile.am:38: warning: source file 'nbis/mindtct/binar.c' is in a subdirectory,
libfprint/Makefile.am:38: but option 'subdir-objects' is disabled
libfprint/Makefile.am:38: warning: source file 'nbis/mindtct/block.c' is in a subdirectory,
libfprint/Makefile.am:38: but option 'subdir-objects' is disabled
libfprint/Makefile.am:38: warning: source file 'nbis/mindtct/contour.c' is in a subdirectory,
libfprint/Makefile.am:38: but option 'subdir-objects' is disabled
libfprint/Makefile.am:38: warning: source file 'nbis/mindtct/detect.c' is in a subdirectory,
libfprint/Makefile.am:38: but option 'subdir-objects' is disabled
libfprint/Makefile.am:38: warning: source file 'nbis/mindtct/dft.c' is in a subdirectory,
libfprint/Makefile.am:38: but option 'subdir-objects' is disabled
libfprint/Makefile.am:38: warning: source file 'nbis/mindtct/free.c' is in a subdirectory,
libfprint/Makefile.am:38: but option 'subdir-objects' is disabled
libfprint/Makefile.am:38: warning: source file 'nbis/mindtct/globals.c' is in a subdirectory,
libfprint/Makefile.am:38: but option 'subdir-objects' is disabled
libfprint/Makefile.am:38: warning: source file 'nbis/mindtct/imgutil.c' is in a subdirectory,
libfprint/Makefile.am:38: but option 'subdir-objects' is disabled
libfprint/Makefile.am:38: warning: source file 'nbis/mindtct/init.c' is in a subdirectory,
libfprint/Makefile.am:38: but option 'subdir-objects' is disabled
libfprint/Makefile.am:38: warning: source file 'nbis/mindtct/line.c' is in a subdirectory,
libfprint/Makefile.am:38: but option 'subdir-objects' is disabled
libfprint/Makefile.am:38: warning: source file 'nbis/mindtct/log.c' is in a subdirectory,
libfprint/Makefile.am:38: but option 'subdir-objects' is disabled
libfprint/Makefile.am:38: warning: source file 'nbis/mindtct/loop.c' is in a subdirectory,
libfprint/Makefile.am:38: but option 'subdir-objects' is disabled
libfprint/Makefile.am:38: warning: source file 'nbis/mindtct/maps.c' is in a subdirectory,
libfprint/Makefile.am:38: but option 'subdir-objects' is disabled
libfprint/Makefile.am:38: warning: source file 'nbis/mindtct/matchpat.c' is in a subdirectory,
libfprint/Makefile.am:38: but option 'subdir-objects' is disabled
libfprint/Makefile.am:38: warning: source file 'nbis/mindtct/minutia.c' is in a subdirectory,
libfprint/Makefile.am:38: but option 'subdir-objects' is disabled
libfprint/Makefile.am:38: warning: source file 'nbis/mindtct/morph.c' is in a subdirectory,
libfprint/Makefile.am:38: but option 'subdir-objects' is disabled
libfprint/Makefile.am:38: warning: source file 'nbis/mindtct/quality.c' is in a subdirectory,
libfprint/Makefile.am:38: but option 'subdir-objects' is disabled
libfprint/Makefile.am:38: warning: source file 'nbis/mindtct/remove.c' is in a subdirectory,
libfprint/Makefile.am:38: but option 'subdir-objects' is disabled
libfprint/Makefile.am:38: warning: source file 'nbis/mindtct/ridges.c' is in a subdirectory,
libfprint/Makefile.am:38: but option 'subdir-objects' is disabled
libfprint/Makefile.am:38: warning: source file 'nbis/mindtct/shape.c' is in a subdirectory,
libfprint/Makefile.am:38: but option 'subdir-objects' is disabled
libfprint/Makefile.am:38: warning: source file 'nbis/mindtct/sort.c' is in a subdirectory,
libfprint/Makefile.am:38: but option 'subdir-objects' is disabled
libfprint/Makefile.am:38: warning: source file 'nbis/mindtct/util.c' is in a subdirectory,
libfprint/Makefile.am:38: but option 'subdir-objects' is disabled
configure: WARNING: unrecognized options: --enable-maintainer-mode
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for inline... inline
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
./configure: line 16080: syntax error near unexpected token `LIBUSB,'
./configure: line 16080: `PKG_CHECK_MODULES(LIBUSB, libusb-1.0 >= 0.9.1)'


et quand je tape make

phenomix@phenomix-HP-Pavilion-dv6-Notebook-PC:~/Bureau/v_0_4_0$ make
make: *** Pas de cible spécifiée et aucun makefile n'a été trouvé. Arrêt

MERCI beaucoup si quelqu'un peux maider



Cordialement votre Comme disait M. GABIN :<< il y a une chose que je sais , c est que l'on ne sait jama­is ! >> 

>><gras>Pensez juste a cocher vos problème résolus quand ils le sont (en haut a droite
Afficher la suite 

Votre réponse

1 réponse

Messages postés
1329
Date d'inscription
mardi 18 mars 2008
Statut
Membre
Dernière intervention
1 février 2019
117
0
Merci
Comme d'habitude ..


...alors je suis vraiment étonné que personne de m'est répondus ...
Surtout les habitués de Linux ...
.....
Simple de problème de librairies
Commenter la réponse de toflfou