Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Compilation error building QT 5.5.1 on Gentoo Linux
Qt 6.12 LTS is out! See what's new in the release blog

Compilation error building QT 5.5.1 on Gentoo Linux

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 1.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    GCC version 4.9.3
    glibc 2.21-r1

    ERROR
    qmimetype.o fails

    /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/ext/concurrence.h:122:34: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘short int’ in initialization
    __gthread_mutex_t _M_mutex = __GTHREAD_MUTEX_INIT;

    /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/ext/concurrence.h:177:44: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘short int’ in initialization
    __gthread_recursive_mutex_t _M_mutex = __GTHREAD_RECURSIVE_MUTEX_INIT;

    My build.log.
    The concurrence header file I have on my system.

    How do i resolve this?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt
    • Unsolved