error compile graphics/sane-backends

Gvozdikov Veniamin g.veniamin at
Sat Jan 3 16:14:46 UTC 2009

ss# uname -a
FreeBSD 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Fri Jan  2 09:21:10 
KRAT 2009     root at  i386

I use default options in make config....

cc -c -O2 -pipe -fno-strict-aliasing -W -Wall -DHAVE_CONFIG_H -I. -I. 
-I../include -I../include -I/usr/local/include -D_REENTRANT 
-DPATH_SANE_LOCK_DIR=/usr/local/var/lock/sane -DV_MAJOR=1 -DV_MINOR=0 
-DBACKEND_NAME=epson2_net -DLIBDIR=/usr/local/lib/sane epson2_net.c  
-fPIC -DPIC -o .libs/epson2_net.o  
In file included from 
../include/sane/sanei_tcp.h:28: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 
../include/sane/sanei_tcp.h:29: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 
epson2_net.c: In function 
epson2_net.c:57: warning: implicit declaration of function 
epson2_net.c: In function 
epson2_net.c:194: warning: implicit declaration of function 
gmake[1]: *** [epson2_net.lo] Error 
gmake[1]: Leaving directory 
gmake: *** [all-recursive] Error 
*** Error code 2             

More information about the freebsd-ports mailing list