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

List:       kde-devel
Subject:    Re: Compile problem, kdelibs & cups
From:       Michael Goffioul <goffioul () imec ! be>
Date:       2002-09-11 9:02:35
[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
[snip]
> /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'
[snip]
> Do I need a more current version of cups?

I had recently a private thread with David Faure about that problem. Your CUPS
installation is not the problem. The cause seems to be that X11 also
provides its own version of libz, which does not contain the function "gzgets",
and the linker is using that library instead of the regular one.

Now for the solution... David?

Michael

-- 
------------------------------------------------------------------
Michael Goffioul		IMEC-DESICS-MIRA
e-mail: goffioul@imec.be	(Mixed-Signal and RF Applications)
Tel:    +32/16/28-8510		Kapeldreef, 75
Fax:    +32/16/28-1515		3001 HEVERLEE, BELGIUM
------------------------------------------------------------------
 
>> 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