ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Someone Unknown <someone_lists@bk.ru>
To: community@altlinux.ru
Subject: Re: [Comm] компиляция программы
Date: Tue, 17 Dec 2002 14:40:39 +0300
Message-ID: <200212171440.39299.someone_lists@bk.ru> (raw)
In-Reply-To: <20021217140906.2798857b.evgen@cstula.ru>

> Хочу вернуться к данному обсуждению, т.к. сам попал в такую ситуацию.
>
> Вот что выдаёт configure
>
> configure:21297: checking for Qt
> configure: 21364: /usr/lib/qt3/include/qstyle.h
> taking that
> configure:21474: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor
> -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith
> -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
> -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new
> -I/usr/lib/qt3/include -I/usr/X11R6/include  -DQT_THREAD_SUPPORT 
> -D_REENTRANT  -L/usr/lib/qt3/lib -L/usr/X11R6/lib   conftest.cc  -lqt-mt
> -lpng -lz -lm -ljpeg -ldl  -lXext -lX11 -lSM -lICE  -lresolv -lpthread 1>&5
> /tmp/ccDUTyIB.o: In function `main':
> /tmp/ccDUTyIB.o(.text+0x8): undefined reference to `QString::null'
> /tmp/ccDUTyIB.o(.text+0xd): undefined reference to
> `QStyleFactory::create(QString const &)' /tmp/ccDUTyIB.o(.text+0x1a):
> undefined reference to `QCursor::QCursor(int)' /tmp/ccDUTyIB.o(.text+0x24):
> undefined reference to `QCursor::~QCursor(void)' collect2: ld returned 1
> exit status
> configure:21477: $? = 1
> configure: failed program was:
> #include "confdefs.h"
> #include <qglobal.h>
> #include <qapplication.h>
> #include <qcursor.h>
> #include <qstylefactory.h>
> #include <private/qucomextra_p.h>
> #if ! (QT_VERSION >= 303)
> #error 1
> #endif
>
> int main() {
>     (void)QStyleFactory::create(QString::null);
>     QCursor c(Qt::WhatsThisCursor);
>     return 0;
> }
> configure:21517: error: Qt (>= Qt 3.0.3) (library qt-mt) not found. Please
> check your installation! For more details about this problem, look at the
> end of config.log. Make sure that you have compiled Qt with thread support!
>
>
>
> Что делать???

Попробовать скомпилять с использованием gcc3.2

>
> Евгений.
> _______________________________________________
> Community mailing list
> Community@altlinux.ru
> http://www.altlinux.ru/mailman/listinfo/community



      reply	other threads:[~2002-12-17 11:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-19 17:45 stas
2002-09-19 18:05 ` aen
2002-09-19 19:13   ` stas
2002-09-19 19:36     ` Иван Евтухович
2002-12-17 11:09       ` Шишков Евгений
2002-12-17 11:40         ` Someone Unknown [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200212171440.39299.someone_lists@bk.ru \
    --to=someone_lists@bk.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git