epson r2400/2880 printers on freebsd8.2 amd64

David Southwell admin at
Sun Nov 20 12:58:54 UTC 2011

On Saturday 19 November 2011 06:44:28 Patrick Powell wrote:
> On 11/19/11 01:53, David Southwell wrote:
> > Hi
> > 
> > Anyone up to date on how to do high quality printing with epson inkjet
> > printers (in my case r2400 and r2880) on freebsd8.2 amd64 systems.
> > print/pips* reports
> > they require 386 and do not compile on amd64.
> > 
> > Thanks in advance for useful pointers
> > 
> > David
> > _______________________________________________
> > freebsd-ports at mailing list
> >
> > To unsubscribe, send any mail to "freebsd-ports-unsubscribe at"
> If you comment out ONLY_FOR_ARCHS= i386 in
> /usr/ports/print/pips800/Makefile.pips
> you can get it to compile.
> HOWEVER:  there are a slew of warnings about 'cast from pointer to
> integer of different size'
> that may cause much grief and pain.   Most of these appear to be
> generated in the GTK library,
> and apparently by the use of a cast to implement the 'offsetof' capability.
> Good luck...
Thanks for the tip

I wanted to compile pips780. After commenting out the ONLY_FOR_ARCH-i386 I got 
the errors shown below. I do not know how to fix them :-(    !!!

gsconfig.c: In function 'make_gsc':
gsconfig.c:142: warning: comparison with string literal results in unspecified 
cc  -DGS_PATH=\"gs\" -DLOCALEDIR=\"/usr/local/share/locale\" -
DLIBPATH=\"/usr/local/lib/pips/\" -
DRSC_PATH=\"/usr/local/etc/pipsrc\" -DSPOOL_NAME=\"pm780c\" -
DLOCALE_PATH=\"/usr/local/share/locale\" -
DNAVI_PATH=\"/usr/local/bin/ekpnavi\" -
DDATA_PATH=\"/usr/local/libexec/pips/PM780C\" -
DRULED_PATH=\"/usr/local/libexec/pips/PM780C/BID.PRN\" -
DPATCH_PATH=\"/usr/local/libexec/pips/PM780C/PATCH.PRN\" -
DBAND_PATH=\"/usr/local/libexec/pips/PM780C/BAND.PRN\" -
DCUT_PATH=\"/usr/local/libexec/pips/PM780C/CUT.PRN\" -D_LPR_DIRECT -pipe -g -
std=gnu89 -Wall -fsigned-char -L/usr/local/lib -pthread -o gsconfig780  
gsconfig.o paper.o  -lpthread 
sed "s,%model_name%,PM-780C,; \
     s,%bin_name%,pips780,; \
     s,%gsconfig_name%,gsconfig780," filter.tmp > filter780
gmake[2]: Leaving directory `/usr/ports/print/pips780/work/pips780-2.1.2/src'
Making all in ekpd
gmake[2]: Entering directory 
gmake[3]: Entering directory 
cc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include   -pipe -g -std=gnu89 -
Wall  -c cbtd.c
cc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include   -pipe -g -std=gnu89 -
Wall  -c cbtd_comserv.c
cbtd_comserv.c: In function 'comserv_thread':
cbtd_comserv.c:162: warning: pointer targets in passing argument 3 of 'accept' 
differ in signedness
cc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include   -pipe -g -std=gnu89 -
Wall  -c cbtd_datatrans.c
cc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include   -pipe -g -std=gnu89 -
Wall  -c cbtd_setup.c
cbtd_setup.c: In function 'parameter_setup':
cbtd_setup.c:89: warning: pointer targets in passing argument 4 of 
'get_parameter' differ in signedness
cc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include   -pipe -g -std=gnu89 -
Wall  -c cbtd_signal.c
cc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include   -pipe -g -std=gnu89 -
Wall  -c cbtd_thread.c
cc  -pipe -g -std=gnu89 -Wall  -L/usr/local/lib -pthread -o ekpd  cbtd.o 
cbtd_comserv.o cbtd_datatrans.o cbtd_setup.o cbtd_signal.o cbtd_thread.o 
./libcbt.a -lpthread 
/usr/bin/ld: warning: i386 architecture of input file 
`./libcbt.a(cbtd_wrapper.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `./libcbt.a(ecbteg.o)' 
is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `./libcbt.a(winfunc.o)' 
is incompatible with i386:x86-64 output
/usr/bin/ld: BFD 2.15 [FreeBSD] 2004-05-23 internal error, aborting at 
line 4274 in bfd_generic_get_relocated_section_contents

/usr/bin/ld: Please report this bug.

gmake[3]: *** [ekpd] Error 1
gmake[3]: Leaving directory `/usr/ports/print/pips780/work/pips780-2.1.2/ekpd'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/print/pips780/work/pips780-2.1.2/ekpd'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/print/pips780/work/pips780-2.1.2'
gmake: *** [all-recursive-am] Error 2
*** Error code 1

Stop in /usr/ports/print/pips780.
[root at dns1 /usr/ports/print/pips780]# 

More information about the freebsd-ports mailing list