The workaround ýfor the memalign issue is mentioned here. 

ýhttp://community.qnx.com/sf/discussion/do/listPosts/projects.core_os/discussion.newcode.topc22167?_message=1342622999343

-seanb

Sent from my BlackBerry 10 smartphone on the Rogers network.
From: Isaac Isao Saito
Sent: Wednesday, June 19, 2013 5:17 PM
To: general-community
Reply To: general-community@community.qnx.com
Subject: bmake stuck and not progress (upon building pkg-config)

Upon building a component (`pkg-config`) under `pkgsrc` directory, I get stuck being told `checking for a compliant posix_memalign() implementation...` as in the trace below. CPU remains 99% and doesn't seem to progress for a few hours. Any ideas what could be wrong is appreciated.

To install pkgsrc, I followed [Bootstrap instruction here](http://community.qnx.com/sf/wiki/do/viewPage/projects.pkgsrc/wiki/Bootstrap), using HEaD_650. Precise commands since installing pkgsrc until where I got stuck:

    # uname -a
    QNX localhost 6.5.0 2012/06/20-13:50:59EDT x86pc x86
    # svn checkout --username <username> http://community.qnx.com/svn/repos/pkgsrc/HEAD_650
    # cd pkgsrc/bootstrap && ./bootstrap
    # cd ../devel/pkg-config
    # pwd
    /usr/share/pkgsrc/devel/pkg-config
    # bmake
    :
    checking for fd_set... yes, found in sys/select.h
    checking whether realloc (NULL,) will work... yes
    checking for nl_langinfo (CODESET)... no
    checking for nl_langinfo (PM_STR)... no
    checking for nl_langinfo (_NL_CTYPE_OUTDIGITn_MB)... no
    checking for a compliant posix_memalign() implementation...

Using QNX6.5.0 SDP1 on VMWare Player 5.0.2

(By the way, I'm not sure if the way I'm doing above is the right to way to get `pkg-config` on `QNX` in general.)

Thanks.



_______________________________________________

General
http://community.qnx.com/sf/go/post102455
To cancel your subscription to this discussion, please e-mail general-community-unsubscribe@community.qnx.com