[sane-devel] xsane issues on Mac OS X
Hubert Figuiere
hfiguiere at teaser.fr
Tue Apr 9 10:36:32 BST 2002
On Tue, 2002-04-09 at 04:42, paul beard wrote:
> SANE builds OK, but then we get this with xsane.
>
> cc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/local/share/locale -I. -I.
> -I../include -I../include -I/usr/local/include -D_GNU_SOURCE
> -I../intl -DPATH_SANE_DATA_DIR=/usr/local/share/sane
> -DV_MAJOR=0 -DV_MINOR=80 -DSANE_V_MAJOR=1 -g -O2 -Wall
> -I/usr/local/include -I/sw/include -I/sw/include/gtk-1.2
> -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include
> xsane-back-gtk.c
> /sw/include/libgimp/gimp.h:241: illegal external declaration,
> missing `;' after `)'
> /sw/include/libgimp/gimp.h:241: illegal external declaration,
> missing `;' after `void' xsane-back-gtk.c:801:
> bad macro argument list
> xsane-back-gtk.c:801: bad macro argument list
>
> xsane-back-gtk.c:801: bad macro argument list
Try adding -no-cpp-precomp to the compiler options. gtk+ headers are
known to break MacOS X cpp-precompiler.
Hub
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20020409/b3b51638/attachment.sig>
More information about the sane-devel
mailing list