Re: [CentOS] Building QT on CentOS 5

2014-12-03 Thread Dave Johansen
On Tue, Dec 2, 2014 at 7:57 AM, Wade Hampton wadehampto...@gmail.com
wrote:

 I am building QT 4.8.6 on CentOS 5 and it is failing on building
 the webkit module with __sync_add_and_fetch_4 not being defined.
 My build is for Embedded Linux, which allows me to use the framebuffer.

 Posts report this error when trying to cross-compile for ARM,
 but I am building for X86.   Several posts also indicate that this
 is due to the old GCC used by CentOS 5.

 Does anyone have any suggestions?


I believe that gcc on CentOS 5 builds against i386 by default. i386 doesn't
have those instructions, so if you built against i686 (or a newer CPU like
that), then it should fix the problem.

This stackoverflow has more info:
http://stackoverflow.com/questions/130740/link-error-when-compiling-gcc-atomic-operation-in-32-bit-mode
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Building QT on CentOS 5

2014-12-02 Thread Wade Hampton
I am building QT 4.8.6 on CentOS 5 and it is failing on building
the webkit module with __sync_add_and_fetch_4 not being defined.
My build is for Embedded Linux, which allows me to use the framebuffer.

Posts report this error when trying to cross-compile for ARM,
but I am building for X86.   Several posts also indicate that this
is due to the old GCC used by CentOS 5.

Does anyone have any suggestions?

Thanks,
--
Wade Hampton
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos