[sane-devel] Fail to compile latest git

stef stef.dev at free.fr
Mon May 18 19:29:14 UTC 2009


Le lundi 18 mai 2009 21:15:05 Nicolas Martin, vous avez écrit :
> Latest git compilation fails and drops at genesys backend.
> The same on 2 different Linux machines.
> Below, the beginning of the error message from make.
>
> Any idea ?
>
> Nicolas
>
> /bin/bash ../libtool --silent --tag=CC   --mode=compile gcc
> -DHAVE_CONFIG_H -I. -I../include/sane -I/usr/local/include -I. -I.
> -I../include -I../include -DLIBDIR="/usr/lib/sane"
> -DBACKEND_NAME=genesys -DPATH_SANE_CONFIG_DIR=/etc/sane.d
> -DPATH_SANE_DATA_DIR=/usr/share 	  -DPATH_SANE_LOCK_DIR=/var/lock/sane
> -DV_MAJOR=1 -DV_MINOR=0  -g -O2 -W -Wall -Wcast-align -Wcast-qual
> -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith
> -Wreturn-type -Wstrict-prototypes -pedantic -ansi -MT
> libgenesys_la-genesys_gl646.lo -MD -MP
> -MF .deps/libgenesys_la-genesys_gl646.Tpo -c -o
> libgenesys_la-genesys_gl646.lo `test -f 'genesys_gl646.c' || echo
> './'`genesys_gl646.c
> In file included from genesys.h:50,
>                  from genesys_gl646.h:162,
>                  from genesys_gl646.c:49:
> genesys_low.h:169: erreur: expected specifier-qualifier-list before
> «uint8_t»
> genesys_low.h:175: attention : struct has no members
> genesys_low.h:179: erreur: expected specifier-qualifier-list before
> «uint8_t»
> genesys_low.h:196: attention : struct has no members
> genesys_low.h:200: erreur: expected specifier-qualifier-list before
> «uint8_t»
> genesys_low.h:203: attention : struct has no members
> genesys_low.h:219: erreur: expected specifier-qualifier-list before
> «uint8_t»
> genesys_low.h:225: attention : struct has no members
> genesys_low.h:337: erreur: expected declaration specifiers or «...»
> before «uint8_t»
> genesys_low.h:366: erreur: expected declaration specifiers or «...»
> before «uint8_t»
> genesys_low.h:367: erreur: expected declaration specifiers or «...»
> before «uint8_t»
> genesys_low.h:369: erreur: expected declaration specifiers or «...»
> before «uint8_t»
> genesys_low.h:370: erreur: expected declaration specifiers or «...»
> before «uint8_t»
> genesys_low.h:520: erreur: expected specifier-qualifier-list before
> «time_t»
> genesys_low.h:548: erreur: expected specifier-qualifier-list before
> «uint16_t»
> genesys_low.h:609: erreur: expected declaration specifiers or «...»
> before «uint8_t»
> genesys_low.h:610: erreur: expected declaration specifiers or «...»
> before «uint8_t»
> genesys_low.h:613: erreur: expected declaration specifiers or «...»
> before «uint8_t»
> genesys_low.h:614: erreur: expected declaration specifiers or «...»
> before «uint8_t»
> genesys_low.h:617: erreur: expected declaration specifiers or «...»
> before «uint8_t»
> genesys_low.h:634: erreur: expected declaration specifiers or «...»
> before «uint32_t»
> genesys_low.h:635: erreur: expected declaration specifiers or «...»
> before «uint16_t»
> genesys_low.h:637: erreur: expected declaration specifiers or «...»
> before «uint32_t»
> genesys_low.h:638: erreur: expected declaration specifiers or «...»
> before «uint32_t»
> genesys_low.h:642: erreur: expected declaration specifiers or «...»
> before «uint32_t»
> ...
>
>
	Hello,

	I committed wrong change. This is now fixed. Sorry for the inconvenience.

Regards,
	Stef





More information about the sane-devel mailing list