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

List:       kde-freeqt
Subject:    [freeqt] Can't compile
From:       Christian Boos <boos () arthur ! u-strasbg ! fr>
Date:       1998-10-27 16:36:33
[Download RAW message or body]

Ole J. Tetlie writes:
 > First; a big thankyou to Christian. With your theme-cleanup I no
 > longer get the cryptical error.
 > 
 > I now get a nicer error:
 > 
 > g++ -O2 -Wall -L/usr/X11R6/lib -o .libs/foo -L/usr/X11R6/lib main.o -Wl,--rpath \
-Wl,/usr/local/lib .libs/libharmony.so -L/usr/X11R6/lib -L/usr/X11R6/lib -lImlib \
-lgif -ljpeg -lpng -ltiff -lz -lttf -lXext -lXmu -lX11 -lm  > .libs/libharmony.so: \
undefined reference to `Harmony::Motif::QPushButton_F'

You got a qpushbutton.h file in the middle of two CVS update of mine
> )
This is now named (Harmony::Motif::)QPushButton_F_motif.

 > .libs/libharmony.so: undefined reference to `QWidget::WM_window_protocols'

This is Lokh's fault :)

Add 

Atom QWidget::WM_window_protocols[2] = { 0, 0 };

in your qwidget.cc file.

 > 
 > Is it still my compiler, or is there an easy fix?
 > 
 > [olet@niels-henrik] ~/harmony/freeqt> g++ -v
 > Reading specs from /usr/lib/gcc-lib/i486-linux/egcs-2.91.57/specs
 > gcc version egcs-2.91.57 19980901 (egcs-1.1 release)
 > 

Now it should work.

-- Christian


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

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