Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Nov 2011 03:57:13 -0800
From:      David Southwell <admin@vizion2000.net>
To:        freebsd-ports@freebsd.org, papowell@astart.com
Subject:   Re: epson r2400/2880 printers on freebsd8.2 amd64
Message-ID:  <201111200357.14036.admin@vizion2000.net>
In-Reply-To: <4EC7C0CC.4090105@astart.com>
References:  <201111190153.59986.david@vizion2000.net> <4EC7C0CC.4090105@astart.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
> 
> 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 
behaviour
cc  -DGS_PATH=\"gs\" -DLOCALEDIR=\"/usr/local/share/locale\" -
DPRINTER_MODEL="\"PM-780C\"" -DPM780C -
DLIBPATH=\"/usr/local/lib/pips/libpm780c.so\" -
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 
`/usr/ports/print/pips780/work/pips780-2.1.2/ekpd'
gmake[3]: Entering directory 
`/usr/ports/print/pips780/work/pips780-2.1.2/ekpd'
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 
/usr/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/reloc.c 
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@dns1 /usr/ports/print/pips780]# 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111200357.14036.admin>