Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#17907 closed defect (worksforme)

xsane fails to build unviersal

Reported by: jeremyhu (Jeremy Huddleston Sequoia) Owned by: hama@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: universal Cc: hama@…
Port: xsane

Description

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)

comment:1 Changed 16 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: worksforme
Status: newclosed

It turns out I had a /usr/local/include/sane/sane.h which was conflicting...

comment:2 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.