[sane-devel] gphoto backend fails to compile
Peter Fales
psfales at lucent.com
Thu Jan 17 03:10:34 GMT 2002
Unfortunately, gphoto2 has been changing rapidly, and it's been a struggle
to keep up. If you want to use the SANE gphoto2 backend, you'll need
the latest bleeding edge CVS of gphoto2 also.
I've got a change to configure that will check the gphoto2 version number
and print an error if the wrong version found. Unfortunately, I can't seem
to commit anything to CVS right now. Is something wrong with the server?
--
On Wed, Jan 16, 2002 at 11:54:17PM +0100, Rene Rebe wrote:
> Hi all.
>
> The gphoto2 backend fails in current CVS:
>
> This is after a vanilla ./configure on a 2.4.17, glibc-2.1.3,
> gcc-2.95.3 system (ROCK Linux).
>
> Haveing gphoto-2.0beta2 installed:
>
> gcc -c -g -O2 -W -Wall -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -pedantic -ansi -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_GNU_SOURCE -I/usr/include/gphoto2 -DPATH_SANE_CONFIG_DIR=/usr/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DV_MAJOR=1 -DV_MINOR=0 -DBACKEND_NAME=gphoto2 -DLIBDIR=/usr/lib/sane gphoto2.c -fPIC -DPIC -o .libs/gphoto2.lo
> gphoto2.c:107: gphoto2-port-log.h: No such file or directory
> make[1]: *** [gphoto2.lo] Error 1
>
>
> Having gphoto-2.0beta3 installed:
>
> In file included from /usr/include/gphoto2/gphoto2-port.h:24,
> from /usr/include/gphoto2/gphoto2-camera.h:26,
> from gphoto2.c:106:
> /usr/include/gphoto2/gphoto2-port-info-list.h: At top level:
> /usr/include/gphoto2/gphoto2-port-info-list.h:28: warning: comma at end of enumerator list
> gphoto2.c: In function `init_gphoto2':
> gphoto2.c:390: too many arguments to function `gp_abilities_list_load'
> gphoto2.c:443: too many arguments to function `gp_camera_init'
> gphoto2.c:468: too many arguments to function `gp_camera_folder_list_folders'
> gphoto2.c: In function `erase':
> gphoto2.c:578: too many arguments to function `gp_camera_file_delete'
> gphoto2.c: In function `sane_gphoto2_init':
> gphoto2.c:696: too many arguments to function `gp_abilities_list_load'
> gphoto2.c: In function `sane_gphoto2_start':
> gphoto2.c:1299: too many arguments to function `gp_camera_file_get'
> gphoto2.c: In function `snap_pic':
> gphoto2.c:1515: too many arguments to function `gp_camera_capture'
> gphoto2.c: In function `read_dir':
> gphoto2.c:1579: too many arguments to function `gp_camera_folder_list_files'
> gphoto2.c:1583: too many arguments to function `gp_camera_folder_list_folders'
> make[1]: *** [gphoto2.lo] Error 1
> make[1]: Leaving directory `/home/rene/src/sane-cvs/sane/sane-backends-test/backend'
> make: *** [all-recursive] Error 1
>
> I'll try to disable it for now ...
>
> k33p h4ck1n6
> René
>
> --
> René Rebe (Registered Linux user: #248718 <http://counter.li.org>)
>
> eMail: rene.rebe at gmx.net
> rene at rocklinux.org
>
> Homepage: http://drocklinux.dyndns.org/rene/
>
> Anyone sending unwanted advertising e-mail to this address will be
> charged $25 for network traffic and computing time. By extracting my
> address from this message or its header, you agree to these terms.
More information about the sane-devel
mailing list