Hi,
I downloaded Omni-0.7.2 and unpacked it into the ghostscript directory.
setupOmni runs fine except that it doesn't find HPLaserJet/Makefile.in
but I commented that line out in the configure script, because I only
want the driver for the Star LC-100 Colour (yes, I commented the other
drivers out in devices.mak and Star/Device List), and ran configure
again. make stops with this error message:
make[2]: Entering directory `/home/tobias/printer/ghostscript-6.53/Omni'
/bin/sh ./libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I.
-I./hppcl3
-I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib/glib/include
-I/usr/local/include
/libxml2 -DUSE_STANDARD_NAMES=1 -DRETAIL=1 -Wall
-Wstrict-prototypes -Wmissi
ng-declarations -Wmissing-prototypes -fno-builtin
-fno-common -c MonoDither.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I. -I. -I./hppcl3
-I/opt/gnome/include/glib-1.2 -I/
opt/gnome/lib/glib/include
-I/usr/local/include/libxml2 -DUSE_STANDARD_NAMES=1 -
DRETAIL=1 -Wall
-Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes
-fno-builtin
-fno-common -Wp,-MD,.deps/MonoDither.pp -c MonoDither.cpp -fPIC -D
PIC -o MonoDither.o
MonoDither.cpp: In function `long int
DiffusionDither(_DIFFUSIONDITHERINFO *, _I
MAGEINFOS *, unsigned char **, unsigned int)':
MonoDither.cpp:252: redefinition of `long int
DiffusionDither(_DIFFUSIONDITHERIN
FO *, _IMAGEINFOS *, unsigned char **, unsigned int)'
MonoDither.cpp:236: `long int
DiffusionDither__FP20_DIFFUSIONDITHERINFOP11_IMAGE
INFOSPPUcUi(_DIFFUSIONDITHERINFO *,
_IMAGEINFOS *, unsigned char **, unsigned in
t)' previously defined here
make[2]: *** [MonoDither.lo] Error 1
make[2]: Leaving directory `/home/tobias/printer/ghostscript-6.53/Omni'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tobias/printer/ghostscript-6.53/Omni'
make: *** [all-recursive-am] Error 2
tobias@tobias:~/printer/ghostscript-6.53/Omni$
When I comment out
long
DiffusionDither__FP20_DIFFUSIONDITHERINFOP11_IMAGEINFOSPPUcUi (PDDI
pdi,
PIMAGEINFO pimg_infos,
PBYTE
*pBuffer,
ULONG
ulFlgs)
{
return DiffusionDither (pdi, pimg_infos, pBuffer, ulFlgs);
}
it compiles until some similar looking code in the Star driver dir. I
commented all that code out and Omni compiles fine. But when I execute
OmniDevices exits with a segmentation fault after listing the Star
printer. OmniDeviceOptions exits with a segmentation fault when I use
try to set the options with OmniDeviceOptions -sproperites="xxx".
Can anyone help me?
Regards,
Tobi
|