Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Unknow error in OS X
Forum Updated to NodeBB v4.3 + New Features

Unknow error in OS X

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 923 Views 2 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.
  • freddy311082F Offline
    freddy311082F Offline
    freddy311082
    wrote on last edited by
    #1

    Guys, does anyone of you has see this error before??

    Undefined symbols for architecture x86_64:
    "__Unwind_Resume", referenced from:
    Amarre::value(int) in Amarre.o
    Amarre::stringToDocType(QString) in Amarre.o
    Amarre::toJson() in Amarre.o
    Amarre::Amarre(Amarre*) in Amarre.o
    QHash<int, Operation*>::keys() const in Amarre.o
    QList<int>::append(int const&) in Amarre.o
    QList<int>::detach_helper(int) in Amarre.o
    ...
    "___cxa_atexit", referenced from:
    ___cxx_global_var_init in AccountSelectHandler.o
    ___cxx_global_var_init.1 in AccountSelectHandler.o
    ___cxx_global_var_init.3 in AccountSelectHandler.o
    ___cxx_global_var_init.5 in AccountSelectHandler.o
    ___cxx_global_var_init.7 in AccountSelectHandler.o
    ___cxx_global_var_init.9 in AccountSelectHandler.o
    ___cxx_global_var_init.11 in AccountSelectHandler.o
    ...
    "___stack_chk_fail", referenced from:
    BGTree::clearInScope() in System.o
    BGTree::clearTree() in System.o
    NotificationObserver::newNotification(QString const&) in moc_notificationmanager.o
    NotificationObserver::notifIdChanged(NotificationObserver::NotificationType) in moc_notificationmanager.o
    QueryHandlerResponse::response(QJsonObject const&, unsigned long long, QString const&) in moc_QueryHandlerResponse.o
    System::userChanged(QString const&) in moc_System.o
    System::currentPerspectiveChanged(QString const&, long long) in moc_System.o
    ...
    "___stack_chk_guard", referenced from:
    BGTree::clearInScope() in System.o
    BGTree::clearTree() in System.o
    NotificationObserver::newNotification(QString const&) in moc_notificationmanager.o
    NotificationObserver::notifIdChanged(NotificationObserver::NotificationType) in moc_notificationmanager.o
    QueryHandlerResponse::response(QJsonObject const&, unsigned long long, QString const&) in moc_QueryHandlerResponse.o
    System::userChanged(QString const&) in moc_System.o
    System::currentPerspectiveChanged(QString const&, long long) in moc_System.o
    ...
    "_memcmp", referenced from:
    operator==(QByteArray const&, QByteArray const&) in moc_System.o
    "_memcpy", referenced from:
    QList<int>::node_copy(QList<int>::Node*, QList<int>::Node*, QList<int>::Node*) in Amarre.o
    QListPMP::Internal::Period*::node_copy(QListPMP::Internal::Period*::Node*, QListPMP::Internal::Period*::Node*, QListPMP::Internal::Period*::Node*) in QueryExecutor.o
    QList<CompositePerspective*>::node_copy(QList<CompositePerspective*>::Node*, QList<CompositePerspective*>::Node*, QList<CompositePerspective*>::Node*) in System.o
    QList<QStandardItemModel*>::node_copy(QList<QStandardItemModel*>::Node*, QList<QStandardItemModel*>::Node*, QList<QStandardItemModel*>::Node*) in System.o
    QList<BG*>::node_copy(QList<BG*>::Node*, QList<BG*>::Node*, QList<BG*>::Node*) in System.o
    QList<QStandardItem*>::node_copy(QList<QStandardItem*>::Node*, QList<QStandardItem*>::Node*, QList<QStandardItem*>::Node*) in System.o
    "_memset", referenced from:
    NotificationManager::NotificationManager(QObject*) in notificationmanager.o
    NotificationManager::instance()::$_0::operator()() const in notificationmanager.o
    QueryHandlerResponse::QueryHandlerResponse(QObject*) in QueryHandlerResponse.o
    std::__1::function<void (std::__1::shared_ptr<node_t>&)>::operator()(std::__1::shared_ptr<node_t>&) const in System.o
    "_strcmp", referenced from:
    NotificationObserver::qt_metacast(char const*) in moc_notificationmanager.o
    NotificationManager::qt_metacast(char const*) in moc_notificationmanager.o
    QueryHandlerResponse::qt_metacast(char const*) in moc_QueryHandlerResponse.o
    System::qt_metacast(char const*) in moc_System.o
    ExecuteReportTimer::qt_metacast(char const*) in moc_System.o
    "_strlen", referenced from:
    QString::QString(char const*) in AccountSelectHandler.o
    QString::QString(char const*) in Amarre.o
    QString::QString(char const*) in clientconfiguration.o
    QString::fromUtf8(char const*, int) in clientconfiguration.o
    QString::fromUtf8(char const*, int) in notificationmanager.o
    QString::QString(char const*) in Operation.o
    QString::QString(char const*) in QueryExecutor.o
    ...
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make[2]: *** [../../../Nautam/client/lib/libsystem.1.0.0.dylib] Error 1
    make[1]: *** [sub-system-make_first-ordered] Error 2
    make: *** [sub-src-make_first-ordered] Error 2
    03:07:21: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project nautam-client (kit: Desktop Qt 5.7.0 clang 64bit)
    When executing step "Make"

    Any Idea?

    regards

    1 Reply Last reply
    0
    • kshegunovK Offline
      kshegunovK Offline
      kshegunov
      Moderators
      wrote on last edited by
      #2

      Hi,
      If I'm not mistaken ___stack_chk_guard and ___stack_chk_fail are the functions used to detect the corruption of the stack smashing dummies the compiler usually inserts; and ___cxa_atexit is the global shutdown handler. It appears you haven't linked against the standard c++ library (or you linked a wrong one).

      Please provide the link line you've used (the one that generates the above errors).

      Kind regards.

      Read and abide by the Qt Code of Conduct

      1 Reply Last reply
      1

      • Login

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