[sane-devel] gphoto backend fails to compile

Rene Rebe rene.rebe@gmx.net
Wed, 16 Jan 2002 23:54:17 +0100 (CET)


----Security_Multipart(Wed_Jan_16_23:54:17_2002_436)--
Content-Type: Text/Plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

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_GN=
U_SOURCE -I/usr/include/gphoto2 -DPATH_SANE_CONFIG_DIR=3D/usr/etc/sane.=
d -DPATH_SANE_DATA_DIR=3D/usr/share -DV_MAJOR=3D1 -DV_MINOR=3D0 -DBACKE=
ND_NAME=3Dgphoto2 -DLIBDIR=3D/usr/lib/sane gphoto2.c  -fPIC -DPIC -o .l=
ibs/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_fo=
lders'
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_f=
iles'
gphoto2.c:1583: too many arguments to function `gp_camera_folder_list_f=
olders'
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=E9

-- =

Ren=E9 Rebe (Registered Linux user: #248718 <http://counter.li.org>)

eMail:    rene.rebe@gmx.net
          rene@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.

----Security_Multipart(Wed_Jan_16_23:54:17_2002_436)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEABECAAYFAjxGBJsACgkQ7xFmmAeJADfuewCeIQkyMDQrAx5S5xR1tjAgb8NW
V0cAnRofP8SfRRi3dUvaZsmZbTo5ImWs
=9wZy
-----END PGP SIGNATURE-----

----Security_Multipart(Wed_Jan_16_23:54:17_2002_436)----