Re: [SLE] Cups ./configure and make for SuSE 7.3 Pro and Epson Stylus C80.
On Thursday 30 May 2002 01:55, John Lamb wrote: - Brian Durant wrote: - - I'm sure I've had exactly the same error. I had a look at the source - code for my last gimp-print build and I think I can recall the solution: - Install readline from series a of your 7.3 disks (disk 1). I certainly - seem to have done this during a gimp-print build on 7.3. Realine was installed, but I installed readline development kit as well and that seems to help. However, I still got errors with "make". Are any of these important errors? Unfortunately, I haven't got a clue: printdefy.y:107: warning: static declaration for `yyerror' follows non-static source='printdefl.c' object='printdefl.o' libtool=no \ lex.yy.c:645: warning: no previous prototype for `yylex' /bin/sh ../../libtool --mode=link gcc -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -pedantic -g -O2 -O -o printdef printdefl.o printdefy.o mkdir .libs gcc -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -pedantic -g -O2 -O -o printdef printdefl.o printdefy.o make[2]: Leaving directory `/home/brian/Downloads/Printer/gimp-print-4.3.0/src/printdef' depmode=gcc /bin/sh ../../scripts/depcomp \ /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../intl -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -pedantic -g -O2 -O -c -o print-lexmark.lo `test -f print-lexmark.c || echo './'`print-lexmark.c gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../intl -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -pedantic -g -O2 -O -c print-lexmark.c -Wp,-MD,.deps/print-lexmark.TPlo -fPIC -DPIC -o print-lexmark.lo source='print-canon.c' object='print-canon.lo' libtool=yes \ depfile='.deps/print-canon.Plo' tmpdepfile='.deps/print-canon.TPlo' \ depmode=gcc /bin/sh ../../scripts/depcomp \ /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../intl -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -pedantic -g -O2 -O -c -o print-canon.lo `test -f print-canon.c || echo './'`print-canon.c gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../intl -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -pedantic -g -O2 -O -c print-canon.c -Wp,-MD,.deps/print-canon.TPlo -fPIC -DPIC -o print-canon.lo print-canon.c:2966: warning: `canon_shift_buffer2' defined but not used source='print-dither.c' object='print-dither.lo' libtool=yes \ depfile='.deps/print-dither.Plo' tmpdepfile='.deps/print-dither.TPlo' \ depmode=gcc /bin/sh ../../scripts/depcomp \ /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../intl -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -pedantic -g -O2 -O -c -o print-dither.lo `test -f print-dither.c || echo './'`print-dither.c gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../intl -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -pedantic -g -O2 -O -c print-dither.c -Wp,-MD,.deps/print-dither.TPlo -fPIC -DPIC -o print-dither.lo source='print-escp2.c' object='print-escp2.lo' libtool=yes \ depfile='.deps/print-escp2.Plo' tmpdepfile='.deps/print-escp2.TPlo' \ depmode=gcc /bin/sh ../../scripts/depcomp \ /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../intl -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -pedantic -g -O2 -O -c -o print-escp2.lo `test -f print-escp2.c || echo './'`print-escp2.c gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../intl -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -pedantic -g -O2 -O -c print-escp2.c -Wp,-MD,.deps/print-escp2.TPlo -fPIC -DPIC -o print-escp2.lo source='print-escp2-data.c' object='print-escp2-data.lo' libtool=yes \ depfile='.deps/print-escp2-data.Plo' tmpdepfile='.deps/print-escp2-data.TPlo' \ depmode=gcc /bin/sh ../../scripts/depcomp \ /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../intl -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -pedantic -g -O2 -O -c -o print-escp2-data.lo `test -f print-escp2-data.c || echo './'`print-escp2-data.c gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../intl -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -pedantic -g -O2 -O -c print-escp2-data.c -Wp,-MD,.deps/print-escp2-data.TPlo -fPIC -DPIC -o print-escp2-data.lo source='print-pcl.c' object='print-pcl.lo' libtool=yes \ depfile='.deps/print-pcl.Plo' tmpdepfile='.deps/print-pcl.TPlo' \ depmode=gcc /bin/sh ../../scripts/depcomp \ /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../intl -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -pedantic -g -O2 -O -c -o print-pcl.lo `test -f print-pcl.c || echo './'`print-pcl.c gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../intl -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -pedantic -g -O2 -O -c print-pcl.c -Wp,-MD,.deps/print-pcl.TPlo -fPIC -DPIC -o print-pcl.lo source='print-ps.c' object='print-ps.lo' libtool=yes \ depfile='.deps/print-ps.Plo' tmpdepfile='.deps/print-ps.TPlo' \ depmode=gcc /bin/sh ../../scripts/depcomp \ /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../intl -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -pedantic -g -O2 -O -c -o print-ps.lo `test -f print-ps.c || echo './'`print-ps.c gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../intl -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -pedantic -g -O2 -O -c print-ps.c -Wp,-MD,.deps/print-ps.TPlo -fPIC -DPIC -o print-ps.lo ../printdef/printdef < ./printers.xml > print-printers.c source='print-util.c' object='print-util.lo' libtool=yes \ depfile='.deps/print-util.Plo' tmpdepfile='.deps/print-util.TPlo' \ depmode=gcc /bin/sh ../../scripts/depcomp \ /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../intl -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -pedantic -g -O2 -O -c -o print-util.lo `test -f print-util.c || echo './'`print-util.c gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../intl -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -pedantic -g -O2 -O -c print-util.c -Wp,-MD,.deps/print-util.TPlo -fPIC -DPIC -o print-util.lo source='print-color.c' object='print-color.lo' libtool=yes \ depfile='.deps/print-color.Plo' tmpdepfile='.deps/print-color.TPlo' \ depmode=gcc /bin/sh ../../scripts/depcomp \ /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../intl -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -pedantic -g -O2 -O -c -o print-color.lo `test -f print-color.c || echo './'`print-color.c gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../intl -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -pedantic -g -O2 -O -c print-color.c -Wp,-MD,.deps/print-color.TPlo -fPIC -DPIC -o print-color.lo source='print-weave.c' object='print-weave.lo' libtool=yes \ depfile='.deps/print-weave.Plo' tmpdepfile='.deps/print-weave.TPlo' \ depmode=gcc /bin/sh ../../scripts/depcomp \ /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../intl -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -pedantic -g -O2 -O -c -o print-weave.lo `test -f print-weave.c || echo './'`print-weave.c gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../intl -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -pedantic -g -O2 -O -c print-weave.c -Wp,-MD,.deps/print-weave.TPlo -fPIC -DPIC -o print-weave.lo source='print-version.c' object='print-version.lo' libtool=yes \ depfile='.deps/print-version.Plo' tmpdepfile='.deps/print-version.TPlo' \ depmode=gcc /bin/sh ../../scripts/depcomp \ /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../intl -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -pedantic -g -O2 -O -c -o print-version.lo `test -f print-version.c || echo './'`print-version.c gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../intl -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -pedantic -g -O2 -O -c print-version.c -Wp,-MD,.deps/print-version.TPlo -fPIC -DPIC -o print-version.lo source='print-dither-matrices.c' object='print-dither-matrices.lo' libtool=yes \depfile='.deps/print-dither-matrices.Plo' tmpdepfile='.deps/print-dither-matrices.TPlo' \ depmode=gcc /bin/sh ../../scripts/depcomp \ /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../intl -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -pedantic -g -O2 -O -c -o print-dither-matrices.lo `test -f print-dither-matrices.c || echo './'`print-dither-matrices.c gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../intl -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -pedantic -g -O2 -O -c print-dither-matrices.c -Wp,-MD,.deps/print-dither-matrices.TPlo -fPIC -DPIC -o print-dither-matrices.lo /bin/sh ../../libtool --mode=link gcc -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -pedantic -g -O2 -O -o libgimpprint.la -rpath /usr/lib -release 4.3.0 -rpath /usr/lib print-lexmark.lo print-canon.lo print-dither.lo print-escp2.lo print-escp2-data.lo print-pcl.lo print-ps.lo print-util.lo print-color.lo print-weave.lo print-version.lo print-dither-matrices.lo -lm mkdir .libs rm -fr .libs/libgimpprint.la .libs/libgimpprint.* .libs/libgimpprint-4.3.0.* echo './'`print.c print.c: In function `query': print.c:124: warning: initialization discards qualifiers from pointer target type print.c:124: warning: initialization discards qualifiers from pointer target type print.c:125: warning: initialization discards qualifiers from pointer target type print.c:125: warning: initialization discards qualifiers from pointer target type print.c:126: warning: initialization discards qualifiers from pointer target type print.c:126: warning: initialization discards qualifiers from pointer target type print.c:127: warning: initialization discards qualifiers from pointer target type print.c:127: warning: initialization discards qualifiers from pointer target type print.c:128: warning: initialization discards qualifiers from pointer target type print.c:128: warning: initialization discards qualifiers from pointer target type print.c:129: warning: initialization discards qualifiers from pointer target type print.c:129: warning: initialization discards qualifiers from pointer target type print.c:130: warning: initialization discards qualifiers from pointer target type print.c:130: warning: initialization discards qualifiers from pointer target type print.c:131: warning: initialization discards qualifiers from pointer target type print.c:131: warning: initialization discards qualifiers from pointer target type print.c:132: warning: initialization discards qualifiers from pointer target type print.c:132: warning: initialization discards qualifiers from pointer target type print.c:133: warning: initialization discards qualifiers from pointer target type print.c:133: warning: initialization discards qualifiers from pointer target type print.c:134: warning: initialization discards qualifiers from pointer target type print.c:134: warning: initialization discards qualifiers from pointer target type print.c:135: warning: initialization discards qualifiers from pointer target type print.c:135: warning: initialization discards qualifiers from pointer target type print.c:136: warning: initialization discards qualifiers from pointer target type print.c:136: warning: initialization discards qualifiers from pointer target type print.c:137: warning: initialization discards qualifiers from pointer target type print.c:137: warning: initialization discards qualifiers from pointer target type print.c:138: warning: initialization discards qualifiers from pointer target type print.c:138: warning: initialization discards qualifiers from pointer target type print.c:139: warning: initialization discards qualifiers from pointer target type print.c:139: warning: initialization discards qualifiers from pointer target type print.c:140: warning: initialization discards qualifiers from pointer target type print.c:140: warning: initialization discards qualifiers from pointer target type print.c:141: warning: initialization discards qualifiers from pointer target type print.c:141: warning: initialization discards qualifiers from pointer target type print.c:142: warning: initialization discards qualifiers from pointer target type print.c:142: warning: initialization discards qualifiers from pointer target type print.c:143: warning: initialization discards qualifiers from pointer target type print.c:143: warning: initialization discards qualifiers from pointer target type print.c:144: warning: initialization discards qualifiers from pointer target type print.c:144: warning: initialization discards qualifiers from pointer target type print.c:145: warning: initialization discards qualifiers from pointer target type print.c:145: warning: initialization discards qualifiers from pointer target type print.c:146: warning: initialization discards qualifiers from pointer target type print.c:146: warning: initialization discards qualifiers from pointer target type print.c:147: warning: initialization discards qualifiers from pointer target type print.c:147: warning: initialization discards qualifiers from pointer target type print.c:148: warning: initialization discards qualifiers from pointer target type print.c:148: warning: initialization discards qualifiers from pointer target type print.c:149: warning: initialization discards qualifiers from pointer target type print.c:149: warning: initialization discards qualifiers from pointer target type print.c:150: warning: initialization discards qualifiers from pointer target type print.c:150: warning: initialization discards qualifiers from pointer target type print.c:151: warning: initialization discards qualifiers from pointer target type print.c:151: warning: initialization discards qualifiers from pointer target type print.c:155: warning: initialization discards qualifiers from pointer target type print.c:156: warning: initialization discards qualifiers from pointer target type print.c:157: warning: initialization discards qualifiers from pointer target type print.c:158: warning: initialization discards qualifiers from pointer target type print.c:159: warning: initialization discards qualifiers from pointer target type print.c:161: warning: passing arg 1 of `gimp_plugin_domain_register' discards qualifiers from pointer target type print.c:161: warning: passing arg 2 of `gimp_plugin_domain_register' discards qualifiers from pointer target type print.c:170: warning: passing arg 1 of `gimp_install_procedure' discards qualifiers from pointer target type print.c:170: warning: passing arg 6 of `gimp_install_procedure' discards qualifiers from pointer target type print.c:170: warning: passing arg 7 of `gimp_install_procedure' discards qualifiers from pointer target type print.c:170: warning: passing arg 12 of `gimp_install_procedure' discards qualifiers from pointer target type print.c: In function `run': print.c:258: warning: ANSI C forbids braced-groups within expressions print.c:571: warning: passing arg 1 of `gimp_procedural_db_set_data' discards qualifiers from pointer target type print.c: In function `printrc_load': print.c:815: warning: passing arg 1 of `gimp_personal_rc_file' discards qualifiers from pointer target type print.c: In function `printrc_save': print.c:1065: warning: passing arg 1 of `gimp_personal_rc_file' discards qualifiers from pointer target type source='gimp_color_window.c' object='gimp_color_window.o' libtool=no \ depfile='.deps/gimp_color_window.Po' tmpdepfile='.deps/gimp_color_window.TPo' \ depmode=gcc /bin/sh ../../scripts/depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../intl -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -pedantic -g -O2 -O -c `test -f gimp_color_window.c || echo './'`gimp_color_window.c source='gimp_main_window.c' object='gimp_main_window.o' libtool=no \ depfile='.deps/gimp_main_window.Po' tmpdepfile='.deps/gimp_main_window.TPo' \ depmode=gcc /bin/sh ../../scripts/depcomp \ Sorry for the long posting, but there are a number of errors different places and I am not sure what is relevant and what isn't. If someone wans't the output in entireity, please let me know as the list daemon won't accept more. Cheers, Brian
Brian Durant (by way of Brian Durant ) wrote:
On Thursday 30 May 2002 01:55, John Lamb wrote: - Brian Durant wrote: - - I'm sure I've had exactly the same error. I had a look at the source - code for my last gimp-print build and I think I can recall the solution: - Install readline from series a of your 7.3 disks (disk 1). I certainly - seem to have done this during a gimp-print build on 7.3.
Realine was installed, but I installed readline development kit as well and that seems to help. However, I still got errors with "make". Are any of these important errors? Unfortunately, I haven't got a clue:
Ah. That must have been the readline I installed. The output is pretty standard and I don't see any errors to worry about. For example, the warnings about discarding qualifiers from pointer target probably arise because the compiler doesn't identify that gchar and char are the same type. Make produces a lot of output and usually a few warnings. It is almost always safe to ignore all the warnings unless they cause make to fail. gimp-print should now work. The easiest way to test it is to try to print from gimp. If that works, configure a cups printer and select a C80. JDL
On Thursday 30 May 2002 13:59, John Lamb wrote: - Make produces a lot of output and usually a few warnings. It is almost - always safe to ignore all the warnings unless they cause make to fail. OK, make install seem to go off without a hitch. - gimp-print should now work. The easiest way to test it is to try to - print from gimp. If that works, configure a cups printer and select a C80. This doesn't work. I just get a bunch of odd character output. No picture. Brian
On Thursday 30 May 2002 13:58, Brian Durant wrote: - This doesn't work. I just get a bunch of odd character output. No picture. Not only is it printing useless stuff, but I can't get it to stop printing the garbage (15 pages so far). How can I send a terminate signal to the printer? Cheers, Brian
participants (2)
-
Brian Durant
-
John Lamb