On quarta-feira, 11 de julho de 2012 20.55.38, Christian Gagneraud wrote:
> Hi all,
>
> I'm trying to re-add Qt to OpenWRT (it had basic support for 4.7.0
> pre-release but have then been removed).
>
> For the moment, I would like to focus on QtCore, QtDBus and QtNetwork.
>
> Here is the spec file i'm using: http://pastebin.com/6p6tXg15
>
> But so far, the build fails on an atomic related error:
> http://pastebin.com/LBLtAqiE
>
> Could anyone help me to understand this error and fix it?

Error 1: it's missing a const or const_cast. Add it. Upgrading to 4.8 is also
recommended since those issues might have been fixed there.

Error 2: you forgot to pass an -arch flag to configure to let it know what
architecture you're compiling to. You probably want one of:
        -arch arm
        -arch armv6
        -arch mips

The armv6 option is not necessary in 4.8: it detects ARMv6 and v7
automatically. And the entire -arch option is not necessary in Qt 5.0.

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to