|
From: Tobias K. <tob...@gm...> - 2003-01-05 17:22:04
|
Mark Hamzy wrote:
>Hello Tobi,
>
>Sorry for the delay. I was on vacation.
>
>The CVS compiles under gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 >3.2-7).
>Can you move the
>DiffusionDither__FP20_DIFFUSIONDITHERINFOP11_IMAGEINFOSPPUcUi function >to
>the end of the file?
>Does that fix the compile problem?
>
Hi Mark,
don't mind the delay. :) I resent this message, because I was to tired
and didn't hit "reply all"...
Moving the function to the end of the file didn't help :(
Now I get the following:
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 -DPIC -o MonoDither.o
MonoDither.cpp: In function `long int
DiffusionDither__FP20_DIFFUSIONDITHERINFOP11_IMAGEINFOSPPUcUi(_DIFFUSIONDITHERINFO
*, _IMAGEINFOS *, unsigned char **, unsigned int)':
MonoDither.cpp:418: redefinition of `long int
DiffusionDither__FP20_DIFFUSIONDITHERINFOP11_IMAGEINFOSPPUcUi(_DIFFUSIONDITHERINFO
*, _IMAGEINFOS *, unsigned char **, unsigned int)'
MonoDither.cpp:246: `long int DiffusionDither(_DIFFUSIONDITHERINFO *,
_IMAGEINFOS *, unsigned char **, unsigned int)' previously defined here
make[2]: *** [MonoDither.lo] Error 1
make[2]: Leaving directory `/home/tobias/printer/espgs-7.05.5/Omni'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tobias/printer/espgs-7.05.5/Omni'
make: *** [all-recursive-am] Error 2
tobias@tobias:~/printer/espgs-7.05.5/Omni$
OmniDeviceOptions does not take a -sproperties="...". An example usage
would be
OmniDeviceOptions driver libStar_NX_1001.so
No? and how do I change the driver options? the Usage file says:
"These options are then combined and put on the command line as follows:
-sproperties="..."
For example:
-sproperties="form=FORM_A4 media=MEDIA_PLAIN printmode=PRINT_MODE_1_ANY"
"
That's why I used it :)
If that did not help you or you still get a trap, then can you build debug
(with make clean; ./configure --enable-debug=true; make) and then gdb the
failing scenario?
how does that work again? I never really made a backtrace.
happy new year and thanks for the help,
tobi
|