xsane fails to build unviersal
making all in src
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H -DLOCALEDIR=/opt/local/share/locale -DSANELOCALEDIR=/opt/local/share/locale -I. -I. -I../include -I../include -I/usr/local/include -I/opt/local/include -no-cpp-precomp -isysroot /Developer/SDKs/MacOSX10.5.sdk -D_GNU_SOURCE -I../intl -DV_MAJOR=0 -DV_MINOR=996 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/opt/local/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/opt/local/share/sane -O2 -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch ppc -arch i386 -mmacosx-version-min=10.5 -Wall -I/opt/lo
xsane-back-gtk.c: In function 'xsane_back_gtk_set_sensitivity':
xsane-back-gtk.c:2615: error: 'SANE_CAP_ALWAYS_SETTABLE' undeclared (first use in this function)
xsane-back-gtk.c:2615: error: (Each undeclared identifier is reported only once
xsane-back-gtk.c:2615: error: for each function it appears in.)
xsane-back-gtk.c: In function 'xsane_back_gtk_set_sensitivity':
xsane-back-gtk.c:2615: error: 'SANE_CAP_ALWAYS_SETTABLE' undeclared (first use in this function)
xsane-back-gtk.c:2615: error: (Each undeclared identifier is reported only once
xsane-back-gtk.c:2615: error: for each function it appears in.)
lipo: can't figure out the architecture type of: /var/tmp//ccSXXn1d.out
make[1]: *** [xsane-back-gtk.o] Error 1
make: *** [all-recursive] Error 1
Change History (2)
Resolution: |
→ worksforme
|
Status: |
new →
closed
|
It turns out I had a /usr/local/include/sane/sane.h which was conflicting...