[kde-solaris] krdc doesn't build
Alan Mizrahi
alan at cesma.usb.ve
Tue May 27 22:02:12 CEST 2003
Thanks Karsten.
I also had a problem installing i-18n (es), I didn't get any messages
installed, and even though I installed them by myself, they didn't work (got
the "kdecore (KLocale): WARNING: found no definition of PluralForm for es"
message).
I had to install gnu gettext.
Alan
On Tuesday 27 May 2003 12:53 pm, Karsten Künne wrote:
> On Tuesday 27 May 2003 12:10, Alan Mizrahi wrote:
> > It's been 1 month since the last time I built KDE (version 3.1).
> > I had to manually fix the GETDOMAIN and BZ2_PREFIX problems, but besides
> > that, everything worked fine.
> >
> > Now I am building KDE-3.1.2, and everything works well (the getdomain and
> > bz2_prefix problems are gone), but when I try to build kdenetwork I get
> > this error:
> >
> > /bin/bash ../libtool --silent --mode=link --tag=CXX g++
> > -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W
> > -Wpointer-arith
> > -Wmissing-prototypes -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O3
> > -fexpensive-optimizations -mtune=ultrasparc -fno-exceptions
> > -fno-check-new -DQT_NO_COMPAT -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
> > -DKDE_NO_COMPAT -DKDE_NO_COMPAT_H -L/usr/local/lib -L/usr/openwin/lib -o
> > krdc
> > -L/usr/local/qt-3.1.2/arch/lib -L/usr/local/kde-3.1.2/arch/lib -R
> > /usr/local/kde-3.1.2/arch/lib -R /usr/local/qt-3.1.2/arch/lib colour.o
> > d3des.o desktop.o rfbproto.o sockets.o vncauth.o krdc.all_cpp.o -lkdeui
> > -ljpeg -lslp
> > krdc.all_cpp.o: In function `KRDC::quit()':
> > krdc.all_cpp.o(.text+0x2e64): undefined reference to
> > `vidmodeNormalSwitch(_XDisplay*, Resolution)'
> > krdc.all_cpp.o: In function `KRDC::switchToFullscreen()':
> > krdc.all_cpp.o(.text+0x3b68): undefined reference to
> > `vidmodeFullscreenSwitch(_XDisplay*, int, int, int, int&, int&)'
> > krdc.all_cpp.o: In function `KRDC::switchToNormal(bool)':
> > krdc.all_cpp.o(.text+0x4438): undefined reference to
> > `vidmodeNormalSwitch(_XDisplay*, Resolution)'
> > krdc.all_cpp.o: In function `KRDC::iconify()':
> > krdc.all_cpp.o(.text+0x4520): undefined reference to
> > `vidmodeNormalSwitch(_XDisplay*, Resolution)'
> > krdc.all_cpp.o: In function `KRDC::event(QEvent*)':
> > krdc.all_cpp.o(.text+0x461c): undefined reference to
> > `vidmodeFullscreenSwitch(_XDisplay*, int, int, int, int&, int&)'
> > collect2: ld returned 1 exit status
> >
> > Any ideas?
> > I am using gcc-3.2.2 and binutils-2.13.2.1 on a sparc-sun-solaris2.8.
> >
> > I submitted this bug: http://bugs.kde.org/show_bug.cgi?id=58997
>
> I had the same problem. Try the following patch:
>
> --- ./krdc/vidmode.cpp.orig Fri May 23 16:21:49 2003
> +++ ./krdc/vidmode.cpp Fri May 23 16:29:06 2003
> @@ -128,13 +128,13 @@
>
> #else
>
> -void vidmodeNormalSwitch(Display *dpy, int oldResolution)
> +void vidmodeNormalSwitch(Display *dpy, Resolution oldResolution)
> {
> }
>
> -int vidmodeFullscreenSwitch(Display *dpy, int sw, int sh, int &nx, int
> &ny) +Resolution vidmodeFullscreenSwitch(Display *dpy, int screen, int sw,
> int sh, int &nx, int &ny)
> {
> - return 0;
> + return Resolution();
> }
>
> #endif
--
Alan Mizrahi
Universidad Simon Bolivar
CESMA
More information about the kde-solaris
mailing list