[sane-devel] xsane issues on Mac OS X
Hubert Figuiere
hfiguiere@teaser.fr
09 Apr 2002 11:36:32 +0200
--=-yvdinyCrqjV5yxlSVHFa
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
On Tue, 2002-04-09 at 04:42, paul beard wrote:
> SANE builds OK, but then we get this with xsane.
>=20
> cc -c -DHAVE_CONFIG_H -DLOCALEDIR=3D/usr/local/share/locale -I. -I.=20
> -I../include -I../include -I/usr/local/include -D_GNU_SOURCE=20
> -I../intl -DPATH_SANE_DATA_DIR=3D/usr/local/share/sane=20
> -DV_MAJOR=3D0 -DV_MINOR=3D80 -DSANE_V_MAJOR=3D1 -g -O2 -Wall=20
> -I/usr/local/include -I/sw/include -I/sw/include/gtk-1.2=20
> -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include=20
> xsane-back-gtk.c=20
> /sw/include/libgimp/gimp.h:241: illegal external declaration,=20
> missing `;' after `)'=20
> /sw/include/libgimp/gimp.h:241: illegal external declaration,=20
> missing `;' after `void' xsane-back-gtk.c:801:=20
> bad macro argument list=20
> xsane-back-gtk.c:801: bad macro argument list=20
> =20
> xsane-back-gtk.c:801: bad macro argument list=20
Try adding -no-cpp-precomp to the compiler options. gtk+ headers are
known to break MacOS X cpp-precompiler.
Hub
--=-yvdinyCrqjV5yxlSVHFa
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQA8srYgX+4F5qVuFaMRAq2MAKDC+G0wruQUnA5OZMzImnjKn9rP3wCgqk8I
PzpE3LetwvoYL1f4Fr5DQZA=
=ZMYP
-----END PGP SIGNATURE-----
--=-yvdinyCrqjV5yxlSVHFa--