[LUGOS-PROG] Undefined reference

anze anze at volja.net
Tue Dec 25 10:23:53 CET 2001


Zivjo!

> On Mon, 24 Dec 2001, anze wrote:
> > $ g++-3.0 -o testqt testqt.o -L/usr/X11R6/lib -lm -lqt
> > testqt.o: In function `main':
> > /home/anze/testp/testqt/testqt.c:7: undefined reference to
> > `QApplication::QApplication(int&, char**)'
> > collect2: ld returned 1 exit status
>
> Poskusi za začetek make prepričati, da uporabi g++ (2.95.4 kot navajaš) in
> ne g++-3.0. Ne vem, če bo to kaj pomagalo, ampak veliko programov ima
> težave pri prevajanu z gcc 3.0.
No go. Sem poskusil tudi z g++ 2.95.4, pa ni nic drugace...

Se bom se igral, bi se pa priporocal za se kaksno idejo... Meni jih ze 
zmanjkuje.

LP in hvala!

Anze



More information about the lugos-prog mailing list