* [Comm] gcc 3.2 и ошибки сборки приложений QT3
@ 2003-03-26 17:15 Прокопьев Евгений
2003-03-26 17:26 ` [Comm] " Sergey Vlasov
0 siblings, 1 reply; 2+ messages in thread
From: Прокопьев Евгений @ 2003-03-26 17:15 UTC (permalink / raw)
To: community
Здравствуйте!
Я писал уже о том, что у меня не собираются 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
--
С уважением, Прокопьев Евгений
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Comm] Re: gcc 3.2 и ошибки сборки приложений QT3
2003-03-26 17:15 [Comm] gcc 3.2 и ошибки сборки приложений QT3 Прокопьев Евгений
@ 2003-03-26 17:26 ` Sergey Vlasov
0 siblings, 0 replies; 2+ messages in thread
From: Sergey Vlasov @ 2003-03-26 17:26 UTC (permalink / raw)
To: community
On Wed, 26 Mar 2003 20:15:31 +0300
Прокопьев Евгений <john@rmts.donpac.ru> wrote:
> Я писал уже о том, что у меня не собираются 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)
А g++ -v (g++ --version)?
> Но 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 clean)?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-26 17:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-26 17:15 [Comm] gcc 3.2 и ошибки сборки приложений QT3 Прокопьев Евгений
2003-03-26 17:26 ` [Comm] " Sergey Vlasov
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