[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Compile problem, kdelibs & cups
From:       Tim Wunder <tim () thewunders ! org>
Date:       2002-09-10 20:44:37
[Download RAW message or body]

Hi, 
I'm getting this error when trying to compile kdelibs:
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile \
-I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl \
-I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. \
-I/usr/lib/qt3/include -I/usr/X11R6/include -I/opt/kdecvs/include   \
-DQT_THREAD_SUPPORT  -D_REENTRANT -I/usr/local/include  -ansi -W -Wall -pedantic \
-Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 \
-D_BSD_SOURCE -O2   -c `test -f make_driver_db_cups.c || echo \
'./'`make_driver_db_cups.c In file included from /usr/include/string.h:360,
                 from make_driver_db_cups.c:3:
/usr/include/bits/string2.h: In function `__strcpy_small':
/usr/include/bits/string2.h:418: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:426: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:431: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:436: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:438: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:443: warning: pointer of type `void *' used in arithmetic
make_driver_db_cups.c: At top level:
make_driver_db_cups.c:14: warning: no previous prototype for `initPpd'
make_driver_db_cups.c:72: warning: no previous prototype for `parsePpdFile'
make_driver_db_cups.c: In function `parsePpdFile':
make_driver_db_cups.c:88: warning: pointer of type `void *' used in arithmetic
make_driver_db_cups.c:88: warning: pointer of type `void *' used in arithmetic
make_driver_db_cups.c:88: warning: pointer of type `void *' used in arithmetic
make_driver_db_cups.c:88: warning: pointer of type `void *' used in arithmetic
make_driver_db_cups.c:88: warning: pointer of type `void *' used in arithmetic
make_driver_db_cups.c:88: warning: pointer of type `void *' used in arithmetic
make_driver_db_cups.c:88: warning: pointer of type `void *' used in arithmetic
make_driver_db_cups.c:88: warning: pointer of type `void *' used in arithmetic
make_driver_db_cups.c:88: warning: pointer of type `void *' used in arithmetic
make_driver_db_cups.c:88: warning: pointer of type `void *' used in arithmetic
make_driver_db_cups.c:88: warning: pointer of type `void *' used in arithmetic
make_driver_db_cups.c:88: warning: pointer of type `void *' used in arithmetic
make_driver_db_cups.c:88: warning: pointer of type `void *' used in arithmetic
/bin/sh ../../libtool --silent --mode=link gcc  -ansi -W -Wall -pedantic -Wshadow \
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOUCE=500 -D_BSD_SOURCE \
-O2     -o make_driver_db_cups -L/usr/X11R6/lib -L/usr/lib/qt3/lib -L/opt/kdecvs/lib  \
                make_driver_db_cups.o ../libdriverparse. ../../kdecore/libkdefakes.la \
                -ldl -lz 
make_driver_db_cups.o: In function `parsePpdFile':
make_driver_db_cups.o(.text+0x63a): undefined reference to `gzgets'
make[4]: *** [make_driver_db_cups] Error 1
make[4]: Leaving directory `/data/CVS/KDE/kdelibs/kdeprint/cups'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/data/CVS/KDE/kdelibs/kdeprint/cups'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/data/CVS/KDE/kdelibs/kdeprint'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/CVS/KDE/kdelibs'
make: *** [all] Error 2

If I leave out cups support, I can compile OK, but I'd like to have CUPS support in \
KDE. I have CUPS installed, 
$ rpm -qa|grep cups
cups-client-1.1.10-1
cups-devel-1.1.10-1
cups-efax-1.6-1
cupsomatic-1.6-9
qtcups-2.0-1
qtcups-devel-2.0-1
apcupsd-3.8.1-5col
apcupsd-cgi-3.8.1-5col
apcupsd-powerflute-3.8.1-5col
cups-1.1.10-1
cups-ppd-1.1.10-1

Do I need a more current version of cups?

Thanks, 
Tim


 
> > Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic