Problem compiling sane-1.0.1 frontend...

From: David Lindgren (dave@thelonious.new.ox.ac.uk)
Date: Wed Feb 02 2000 - 07:27:24 PST

  • Next message: David Lindgren: "Possible odd coincidence? (was Re: Problem compiling sane-1.0.1 frontend...)"

    I'm getting an odd error compiling sane 1.0.1

    The make is happy until it gets to trying to compile xscanimage.

    The error looks like this:
    make[1]: Leaving directory `/store/dave/sane-1.0.1/backend'
    making all in frontend
    make[1]: Entering directory `/store/dave/sane-1.0.1/frontend'
    gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/local/include -I/usr/X11R6/include -I/usr/lib/glib/include -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0 -g -O2 -Wall xscanimage.c
    xscanimage.c:79: conflicting types for `GIMP_EXTENSION'
    /usr/local/include/libgimp/gimpenums.h:289: previous declaration of `GIMP_EXTENSION'
    make[1]: *** [xscanimage.o] Error 1
    make[1]: Leaving directory `/store/dave/sane-1.0.1/frontend'
    make: *** [all-recursive] Error 1

    at which point the make bombs out.

    I have installed on my system Gimp 1.1.15 (with associated libgimp)
    and gtk+/glib 1.2.6

    Has anyone got any suggestions. I did have a look through the mailing
    list archives, but couldn't find anything useful.

    Dave

    -- 
    email: dave@kites.org.uk
    

    -- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com



    This archive was generated by hypermail 2b29 : Wed Feb 02 2000 - 07:32:37 PST