[Qt-creator] Error compiling Creator on OpenBSD 4.4

Michail Karataev michail.karataev at gmail.com
Wed Mar 11 08:36:36 CET 2009


Hello.

I have FreeBSD 7.0 and when i was compiling qt-creator i had similar
problem. Try to change src/app/app.pro file in the following way: add this
line

LIBS *= -lExtensionSystem -lAggregation

after linux-*{...} block. It helps in my case.

2009/3/10 Israel Brewster <israel at frontierflying.com>

> I was trying to compile QtCreator on an OpenBSD 4.4 box, and I got the
> error included at the end of this message. Is there something I can do
> to fix this, or am I out of luck? I am using the release versions of
> both QtCreator and Qt 4.5, and I have been able to successfully
> compile other applications using Qt 4.5. Thanks.
>
> Error text:
> .obj/release-shared/main.o(.text+0x122): In function
> `printVersion(ExtensionSystem::PluginSpec const*,
> ExtensionSystem::PluginManager const&)':
> : undefined reference to `ExtensionSystem::PluginSpec::version() const'
> .obj/release-shared/main.o(.text+0x1b0): In function
> `printVersion(ExtensionSystem::PluginSpec const*,
> ExtensionSystem::PluginManager const&)':
> : undefined reference to
> `ExtensionSystem::PluginManager::formatPluginVersions(QTextStream&)
> const'
> .obj/release-shared/main.o(.text+0x1b9): In function
> `printVersion(ExtensionSystem::PluginSpec const*,
> ExtensionSystem::PluginManager const&)':
> : undefined reference to `ExtensionSystem::PluginSpec::copyright()
> const'
> .obj/release-shared/main.o(.text+0x2fc): In function
> `printHelp(QString const&, ExtensionSystem::PluginManager const&)':
> : undefined reference to
> `ExtensionSystem::PluginManager::formatOptions(QTextStream&, int, int)'
> .obj/release-shared/main.o(.text+0x309): In function
> `printHelp(QString const&, ExtensionSystem::PluginManager const&)':
> : undefined reference to
> `ExtensionSystem::PluginManager::formatPluginOptions(QTextStream&,
> int, int) const'
> .obj/release-shared/main.o(.text+0x5f6): In function `main':
> : undefined reference to
> `ExtensionSystem::PluginManager::PluginManager()'
> .obj/release-shared/main.o(.text+0x613): In function `main':
> : undefined reference to
> `ExtensionSystem::PluginManager::setFileExtension(QString const&)'
> .obj/release-shared/main.o(.text+0x649): In function `main':
> : undefined reference to
> `ExtensionSystem::PluginManager::setPluginPaths(QStringList const&)'
> .obj/release-shared/main.o(.text+0x688): In function `main':
> : undefined reference to `ExtensionSystem::PluginManager::plugins()
> const'
> .obj/release-shared/main.o(.text+0x715): In function `main':
> : undefined reference to `ExtensionSystem::PluginSpec::name() const'
> .obj/release-shared/main.o(.text+0x7b1): In function `main':
> : undefined reference to `ExtensionSystem::PluginSpec::hasError() const'
> .obj/release-shared/main.o(.text+0x7d1): In function `main':
> : undefined reference to `ExtensionSystem::PluginSpec::errorString()
> const'
> .obj/release-shared/main.o(.text+0x8c2): In function `main':
> : undefined reference to
> `ExtensionSystem::PluginManager::~PluginManager()'
> .obj/release-shared/main.o(.text+0x9c6): In function `main':
> : undefined reference to
> `ExtensionSystem::PluginManager::~PluginManager()'
> .obj/release-shared/main.o(.text+0xc1e): In function `main':
> : undefined reference to `ExtensionSystem::PluginManager::loadPlugins()'
> .obj/release-shared/main.o(.text+0xc2a): In function `main':
> : undefined reference to `ExtensionSystem::PluginSpec::hasError() const'
> .obj/release-shared/main.o(.text+0xc5c): In function `main':
> : undefined reference to `ExtensionSystem::PluginSpec::plugin() const'
> .obj/release-shared/main.o(.text+0xc86): In function `main':
> : undefined reference to `ExtensionSystem::PluginSpec::plugin() const'
> .obj/release-shared/main.o(.text+0xcef): In function `main':
> : undefined reference to
> `ExtensionSystem::PluginManager::~PluginManager()'
> .obj/release-shared/main.o(.text+0xd31): In function `main':
> : undefined reference to `ExtensionSystem::PluginSpec::errorString()
> const'
> .obj/release-shared/main.o(.text+0xdff): In function `main':
> : undefined reference to `ExtensionSystem::PluginManager::arguments()
> const'
> .obj/release-shared/main.o(.text+0x14f9): In function `main':
> : undefined reference to
> `ExtensionSystem::PluginManager::parseOptions(QStringList const&,
> QMap<QString, bool> const&, QMap<QString, QString>*, QString*)'
> .obj/release-shared/main.o(.text+0x1658): In function `main':
> : undefined reference to
> `ExtensionSystem::PluginManager::~PluginManager()'
> .obj/release-shared/main.o(.text+0x1851): In function `main':
> : undefined reference to
> `ExtensionSystem::PluginManager::~PluginManager()'
> collect2: ld returned 1 exit status
> *** Error code 1
>
> Stop in /root/qt-creator-1.0.0-src/src/app (line 109 of Makefile).
> *** Error code 1
>
> Stop in /root/qt-creator-1.0.0-src/src (line 77 of Makefile).
> *** Error code 1
>
> Stop in /root/qt-creator-1.0.0-src (line 39 of Makefile).
>
> -----------------------------------------------
> Israel Brewster
> Computer Support Technician
> Frontier Flying Service Inc.
> 5245 Airport Industrial Rd
> Fairbanks, AK 99709
> (907) 450-7250 x293
> -----------------------------------------------
>
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>



-- 
Best regards, Karataev Michail

mobile: +380 96 356 65 08
mailto: michail.karataev at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090311/f4b97d88/attachment.html 


More information about the Qt-creator-old mailing list