Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-35742

src/network/kernel: fix build on uClibc

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 5.2.0
    • Fix Version/s: 5.3.0
    • Component/s: Network
    • Labels:
      None
    • Environment:
      linux/uClibc
    • Commits:
      7c65b1f6463f65931a77d760662deab63fcecb78

      Description

      uClibc defines _GNU_LIBRARY_ like glibc, but doesn't provide
      gnu/lib-names.h, so the build breaks with:

      kernel/qdnslookup_unix.cpp:56:29: fatal error: gnu/lib-names.h:
      No such file or directory

      Fix it by explicitly checking for !uClibc.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            jolind Jorgen Lind
            Reporter:
            jacmet Peter Korsgaard
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes