[Qt-creator] Error compiling Creator on OpenBSD 4.4

Eike Ziller eike.ziller at nokia.com
Fri Mar 13 09:27:24 CET 2009


Hi,

On Mar 13, 2009, at 12:05 AM, ext Israel Brewster wrote:

> On Mar 10, 2009, at 11:36 PM, Michail Karataev wrote:
>
>> 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.
>>
>>
>
> Well, that helped, but now I am getting:
>
> gdbengine.cpp: In member function `void
>    Debugger::Internal::GdbEngine::sendInsertBreakpoint(int)':
> gdbengine.cpp:1896: error: `cmd' undeclared (first use this function)
> gdbengine.cpp:1896: error: (Each undeclared identifier is reported  
> only once
>    for each function it appears in.)
> gdbengine.cpp: In member function `void
>    Debugger::Internal::GdbEngine::handleBreakInsert(const
>    Debugger::Internal::GdbResultRecord&, int)':
> gdbengine.cpp:2027: warning: unused variable `const
>    Debugger::Internal::BreakpointData*data'
> gdbengine.cpp: In member function `void
>    Debugger::Internal::GdbEngine::tryLoadCustomDumpers()':
> gdbengine.cpp:4037: error: `lib' undeclared (first use this function)
> *** Error code 1

Well, there are quite a few #ifdef Q_OS_LINUX in the code. A solution  
would be to add Q_OS_FREEBSD there.
Note that you can't just use Q_OS_UNIX instead of LINUX, because MAC  
is UNIX, but mostly behaves differently than other unixes.

Br, Eike

> Any more ideas? :)
>
> -----------------------------------------------
> Israel Brewster
> Computer Support Technician II
> Frontier Flying Service Inc.
> 5245 Airport Industrial Rd
> Fairbanks, AK 99709
> (907) 450-7250 x293
> -----------------------------------------------
>
>> 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.
>> [...snip...]
>>
>> -----------------------------------------------
>> 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
>> _______________________________________________
>> Qt-creator mailing list
>> Qt-creator at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
> <ATT00001.txt>

-- 
Eike Ziller
Software Engineer
Nokia, Qt Software
Phone  +49 (0)30 6392 3255
Fax    +49 (0)30 6392 3256
E-mail eike.ziller at nokia.com







More information about the Qt-creator-old mailing list