From: "Прокопьев Евгений" <john@rmts.donpac.ru> To: community@altlinux.ru Subject: [Comm] gcc 3.2 и ошибки сборки приложений QT3 Date: Wed, 26 Mar 2003 20:15:31 +0300 Message-ID: <3E81E033.30703@rmts.donpac.ru> (raw) Здравствуйте! Я писал уже о том, что у меня не собираются QT3-приложения (с описанием симптомов). Я последовал совету сменить версию gcc, теперь gcc -v говорит: $ gcc -v Reading specs from /usr/lib/gcc-lib/i586-alt-linux/3.2.1/specs Configured with: ../configure --prefix=/usr --libdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --enable-long-long --enable-__cxa_atexit --enable-languages=c,c++,f77,objc,java --program-suffix=-3.2 --enable-objc-gc --with-system-zlib --without-included-gettext --host=i586-alt-linux --build=i586-alt-linux --target=i586-alt-linux Thread model: posix gcc version 3.2.1 (ALT Linux, build 3.2.1-alt2) Но QT3-приложения так и не компилируются. Симптомы те же. Сама компиляция проходит нормально, а компоновка приводит к следующему: g++ -o pizza main.o pizzatestdialog.o pizzatestdialogbase.o moc_pizzatestdialog.o moc_pizzatestdialogb ase.o -L/usr/lib/qt3//lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm main.o: In function `main': main.o(.text+0x20): undefined reference to `QApplication::QApplication(int &, char **)' main.o(.text+0x41): undefined reference to `QApplication::setMainWidget(QWidget *)' ... moc_pizzatestdialogbase.o: In function `PizzaTestDialogBase type_info function': moc_pizzatestdialogbase.o(.gnu.linkonce.t.__tf19PizzaTestDialogBase+0x10): undefined reference to `QDia log type_info function' collect2: ld returned 1 exit status make: *** [pizza] Ошибка 1 -- С уважением, Прокопьев Евгений
next reply other threads:[~2003-03-26 17:15 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-03-26 17:15 Прокопьев Евгений [this message] 2003-03-26 17:26 ` [Comm] " Sergey Vlasov
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=3E81E033.30703@rmts.donpac.ru \ --to=john@rmts.donpac.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