Error Undefined Symbol .pthread_mutex_lock
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up undefined reference to `pthread_mutex_trylock' up vote 7 down vote favorite 2 I have the following test program. #include
Sign in Pricing Blog Support Search GitHub This repository Watch 29 Star 47 Fork 8,332 ibmruntimes/node forked from nodejs/node-v0.x-archive Code Issues 7 Pull requests 0 Projects 0 Wiki Pulse Graphs New issue Compilation error on AIX6.1 #39 Closed ianhayden opened this Issue Nov 11, 2014 · http://stackoverflow.com/questions/2009625/undefined-reference-to-pthread-mutex-trylock 3 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 2 participants ianhayden commented Nov 11, 2014 Hi, I'm trying to build 0.11.13.ppc on an AIX6.1 box, but get link errors. The machine & https://github.com/ibmruntimes/node/issues/39 compiler spec: bash-4.3$ uname -a AIX hhdtrlaix08 1 6 00F905954C00 bash-4.3$ oslevel -s 6100-07-09-1341 bash-4.3$ make -v GNU Make 3.82 Built for powerpc-ibm-aix5.3.0.0 bash-4.3$ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/opt/freeware/libexec/gcc/powerpc-ibm-aix6.1.0.0/4.6.1/lto-wrapper Target: powerpc-ibm-aix6.1.0.0 Configured with: ../gcc-4.6.1/configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --enable-languages=c,c++,fortran --prefix=/opt/freeware --mandir=/opt/freeware/man --infodir=/opt/freeware/info --enable-threads --enable-version-specific-runtime-libs --disable-nls --enable-decimal-float=dpd --host=powerpc-ibm-aix6.1.0.0 Thread model: aix gcc version 4.6.1 (GCC) bash-4.3$ g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/opt/freeware/libexec/gcc/powerpc-ibm-aix6.1.0.0/4.6.1/lto-wrapper Target: powerpc-ibm-aix6.1.0.0 Configured with: ../gcc-4.6.1/configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --enable-languages=c,c++,fortran --prefix=/opt/freeware --mandir=/opt/freeware/man --infodir=/opt/freeware/info --enable-threads --enable-version-specific-runtime-libs --disable-nls --enable-decimal-float=dpd --host=powerpc-ibm-aix6.1.0.0 Thread model: aix gcc version 4.6.1 (GCC) I ran ./configure then make, and the build seemed to get most of the way through without any issues, but then fails with the following error: ./gyp-flock-tool flock /home/ihayden/aix/node0.11.13/node-0.11.13-release-ppc/out/Release/linker.lock /opt/freeware/bin/g++ -Wl,-bmaxdata:0x60000000/dsa -Wl,-bmaxdata:0x60000000/dsa -o /home/ihayden/aix/node0.11.13/node-0.11.13-release-ppc/out/Release/mksnapshot.ppc /home/ihayden/aix/node0.11.13/node-0.11.13-release-ppc/out/Release/obj.target/mksnapshot.ppc/deps/v8ppc/src/mksnapshot.o /home/ihayden/aix/node0.11.13/node-0.11.13-release-ppc/out/Release/obj.target/deps/v8ppc/tools/gyp/libv8_base.ppc.a /home/ihayden/aix/node0.11.13/node-0.11.13-release-ppc/o
This bug is not in your last search results. Bug8707 - Apache make fails in AIX 5.1 Summary: https://bz.apache.org/bugzilla/show_bug.cgi?id=8707 Apache make fails in AIX 5.1 Status: CLOSED FIXED Product: Apache httpd-2 Classification: https://mail-index.netbsd.org/pkgsrc-users/2016/01/11/msg022812.html Unclassified Component: Build Version: 2.0.35 Hardware: Other AIX Importance: P3 normal (vote) TargetMilestone: --- Assigned To: Apache HTTPD Bugs Mailing List URL: Keywords: Depends on: Blocks: Show dependency tree Reported: 2002-05-01 18:33 UTC by Tony Fan Modified: 2004-11-16 19:05 UTC (History) CC List: 0 users Attachments Add an error undefined attachment (proposed patch, testcase, etc.) Note You need to log in before you can comment on or make changes to this bug. Description Tony Fan 2002-05-01 18:33:46 UTC $ make Making all in srclib Making all in apr Making all in strings /bin/sh /home/tfan/kits/apache20/httpd-2.0.35/srclib/apr/libtool --silen t --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -U__STR__ -D_USE_IRS -D_THREAD_SAF E -I../include -I../include/arch/unix -c apr_cpystrn.c && touch apr_cpystrn.l error undefined symbol o In file included from /home/usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.0.1/i nclude/sys/signal.h:309, from /home/usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.0.1/i nclude/sys/wait.h:62, from ../include/apr.h:274, from apr_cpystrn.c:55: /usr/include/sys/context.h:155: parse error before "sigset64_t" /usr/include/sys/context.h:158: parse error before '}' token make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Comment 1 Jeff Trawick 2002-05-01 18:45:21 UTC This isn't an Apache or APR problem. It seems that you have an incomplete or incorrect gcc install. gcc wants to create its own copy of system header files (it can tweak the syntax). Your gcc installation has its own copies of sys/signal.h and sys/wait.h, but not its own copy of sys/context.h, and somehow the combination is blowing up. Isn't there a program that comes with gcc that you can run to regenerate gcc-parsable copies of the system header files? I'm afraid that I don't know the details of that part of the install. I've
2015Q4 From: J Raynor