> >> gcc -o .libs/scanimage scanimage.o stiff.o >> ../backend/.libs/libsane.dylib -framework CoreFoundation -framework >> IOKit ../lib/liblib.a -lm >>
I thought at first that this was a link order issue, so I tried: gcc -ansi -o .libs/scanimage scanimage.o stiff.o ../lib/liblib.a ../backend/.libs/libsane.dylib -framework CoreFoundation -framework IOKit -lm But it told me "Undefined Symbol: _alloca", rebuilding after setting CPPFLAGS=-Dalloca=__builtin_alloca, then changing the link order again made it work. I'll look into doing this in a patch, need some sleep right now. Peter
