Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Make errors making qtcreator on Solaris
Forum Updated to NodeBB v4.3 + New Features

Make errors making qtcreator on Solaris

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 2.1k Views 1 Watching
  • 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.
  • K Offline
    K Offline
    kcbehler
    wrote on last edited by
    #1

    I’ve seen a few “qtcreator on solaris from source” posts here around.
    One saying: “Just build it!”

    So I tried.

    What I have:
    Solaris 10 on Intel x86-64
    gcc/g++ (GCC) 4.6.2
    qt binaries and libraries: qmake —version returns
    QMake version 2.01a
    Using Qt version 4.7.4 in /usr/gnu/64/lib
    qtcreator.tar.zip expanded to qt/qt-creator-2.5.2-src

    What I do is:
    qmake qtcreator.pro -> produces a Makefile
    make -> fails after a lot of ok messages from many compilations

    cd utils/ && make -f Makefile.process_stub
    gcc -c -m64 -O2 -Wall -W -DIDE_LIBRARY_BASENAME=\“lib\” -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -I/afs/ipp-garching.mpg.de/aug/gnu/sunx86_510/64/mkspecs/solaris-g++-64 -I. -I../../../src -I../../libs -I/afs/ipp-garching.mpg.de/home/k/kcb/ftp/qt/qt-creator-2.5.2-src/tools -I../../plugins -I/afs/ipp-garching.mpg.de/aug/gnu/sunx86_510/include -o .obj/release-shared/process_stub_unix.o process_stub_unix.c
    In file included from process_stub_unix.c:46:0:
    /afs/ipp-garching.mpg.de/aug/gnu/sunx86_510/include/signal.h:16:0: warning: ignoring #pragma ident [-Wunknown-pragmas]
    process_stub_unix.c: In function ‘main’:
    process_stub_unix.c:187:13: warning: implicit declaration of function ‘ptrace’ [-Wimplicit-function-declaration]
    gcc -m64 -Wl,-R,/usr/gnu/64/lib -o ../../../bin/qtcreator_process_stub .obj/release-shared/process_stub_unix.o -L/usr/gnu/64/lib -L~/ftp/qt/qt-creator-2.5.2-src/lib/qtcreator
    .obj/release-shared/process_stub_unix.o: In function main’: process_stub_unix.c:(.text.startup+0×38): undefined reference to socket’
    process_stub_unix.c:(.text.startup+0×8b): undefined reference to connect’ process_stub_unix.c:(.text.startup+0×20e): undefined reference to ptrace’
    process_stub_unix.c:(.text.startup+0×312): undefined reference to `ptrace’
    collect2: ld returned 1 exit status

    Error code 1
    make: Fatal error: Command failed for target `../../../bin/qtcreator_process_stub’
    Current working directory ~/ftp/qt/qt-creator-2.5.2-src/src/libs/utils

    Error code 1
    make: Fatal error: Command failed for target `sub-utils-process_stub-pro-make_default-ordered’
    Current working directory ~/ftp/qt/qt-creator-2.5.2-src/src/libs

    Error code 1
    make: Fatal error: Command failed for target `sub-libs-make_default-ordered’
    Current working directory ~/ftp/qt/qt-creator-2.5.2-src/src

    Error code 1
    make: Fatal error: Command failed for target `sub-src-make_default-ordered’

    225.35user 36.70sys 4:36.28 94.8%

    Any help much appreciated,

    Karl

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      Looks like solaris has moved ptrace and socket into a separate library. Find out where those symbols are defined and add it into the .pro-file.

      We never tested Crator with Solaris, you will most likely run into more issues. The fastest way to get them resolved is most likely dropping by on frenode.net in the #qt-creator channel on IRC (european business hours work best).

      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 Extensions
      • Unsolved