{"action":"created","issue":{"url":"https://api.github.com/repos/proj4-bot/proj.4/issues/57","labels_url":"https://api.github.com/repos/proj4-bot/proj.4/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/proj4-bot/proj.4/issues/57/comments","events_url":"https://api.github.com/repos/proj4-bot/proj.4/issues/57/events","html_url":"https://github.com/proj4-bot/proj.4/issues/57","id":79048018,"number":57,"title":"AIX 5.3 compile fails for pj_mutex.c in proj v4.7.0","user":{"login":"proj4-bot","id":12542084,"avatar_url":"https://avatars.githubusercontent.com/u/12542084?v=3","gravatar_id":"","url":"https://api.github.com/users/proj4-bot","html_url":"https://github.com/proj4-bot","followers_url":"https://api.github.com/users/proj4-bot/followers","following_url":"https://api.github.com/users/proj4-bot/following{/other_user}","gists_url":"https://api.github.com/users/proj4-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/proj4-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/proj4-bot/subscriptions","organizations_url":"https://api.github.com/users/proj4-bot/orgs","repos_url":"https://api.github.com/users/proj4-bot/repos","events_url":"https://api.github.com/users/proj4-bot/events{/privacy}","received_events_url":"https://api.github.com/users/proj4-bot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/proj4-bot/proj.4/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/proj4-bot/proj.4/labels/C:%20default","name":"C: default","color":"0000aa"},{"url":"https://api.github.com/repos/proj4-bot/proj.4/labels/P:%20major","name":"P: major","color":"f6f6f6"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-21T15:38:09Z","updated_at":"2015-05-21T15:38:11Z","closed_at":null,"body":"**Reported by sfishback on 6 Oct 2009 16:13 UTC**\n./configure --prefix=/afs/isis/pkg/proj-4.7.0j-4.7.0\r\n\r\n\r\nchecking for a BSD-compatible install... ./install-sh -c\r\nchecking whether build environment is sane... yes\r\nchecking for a thread-safe mkdir -p... ./install-sh -c -d\r\nchecking for gawk... no\r\nchecking for mawk... no\r\nchecking for nawk... nawk\r\nchecking whether make sets $(MAKE)... yes\r\nchecking whether to enable maintainer-specific portions of Makefiles... no\r\nchecking for gcc... xlc\r\nchecking for C compiler default output file name... a.out\r\nchecking whether the C compiler works... yes\r\nchecking whether we are cross compiling... no\r\nchecking for suffix of executables... \r\nchecking for suffix of object files... o\r\nchecking whether we are using the GNU C compiler... no\r\nchecking whether xlc accepts -g... yes\r\nchecking for xlc option to accept ISO C89... none needed\r\nchecking for style of include used by make... GNU\r\nchecking dependency style of xlc... none\r\nchecking for a BSD-compatible install... ./install-sh -c\r\nchecking whether ln -s works... yes\r\nchecking whether make sets $(MAKE)... (cached) yes\r\nchecking build system type... powerpc-ibm-aix5.3.0.0\r\nchecking host system type... powerpc-ibm-aix5.3.0.0\r\nchecking for a sed that does not truncate output... /bin/sed\r\nchecking for grep that handles long lines and -e... /bin/grep\r\nchecking for egrep... /bin/grep -E\r\nchecking for non-GNU ld... /bin/ld\r\nchecking if the linker (/bin/ld) is GNU ld... no\r\nchecking for /bin/ld option to reload object files... -r\r\nchecking for BSD-compatible nm... /bin/nm -B\r\nchecking how to recognize dependent libraries... pass_all\r\nchecking how to run the C preprocessor... xlc -E\r\nchecking for ANSI C header files... yes\r\nchecking for sys/types.h... yes\r\nchecking for sys/stat.h... yes\r\nchecking for stdlib.h... yes\r\nchecking for string.h... yes\r\nchecking for memory.h... yes\r\nchecking for strings.h... yes\r\nchecking for inttypes.h... yes\r\nchecking for stdint.h... yes\r\nchecking for unistd.h... yes\r\nchecking dlfcn.h usability... yes\r\nchecking dlfcn.h presence... yes\r\nchecking for dlfcn.h... yes\r\nchecking whether we are using the GNU C++ compiler... no\r\nchecking whether xlC accepts -g... yes\r\nchecking dependency style of xlC... none\r\nchecking how to run the C++ preprocessor... xlC -E\r\nchecking for g77... no\r\nchecking for xlf... xlf\r\nchecking whether we are using the GNU Fortran 77 compiler... no\r\nchecking whether xlf accepts -g... yes\r\nchecking the maximum length of command line arguments... 18432\r\nchecking command to parse /bin/nm -B output from xlc object... ok\r\nchecking for objdir... .libs\r\nchecking for ar... ar\r\nchecking for ranlib... ranlib\r\nchecking for strip... strip\r\nchecking for xlc option to produce PIC... \r\nchecking if xlc static flag -bnso -bI:/lib/syscalls.exp works... no\r\nchecking if xlc supports -c -o file.o... yes\r\nchecking whether the xlc linker (/bin/ld) supports shared libraries... yes\r\nchecking dynamic linker characteristics... aix5.3.0.0 ld.so\r\nchecking how to hardcode library paths into programs... immediate\r\nchecking whether stripping libraries is possible... no\r\nchecking if libtool supports shared libraries... yes\r\nchecking whether to build shared libraries... yes\r\nchecking whether to build static libraries... no\r\nconfigure: creating libtool\r\nappending configuration tag \"CXX\" to libtool\r\nchecking whether the xlC linker (/bin/ld) supports shared libraries... yes\r\nchecking for xlC option to produce PIC... \r\nchecking if xlC static flag -bnso -bI:/lib/syscalls.exp works... no\r\nchecking if xlC supports -c -o file.o... yes\r\nchecking whether the xlC linker (/bin/ld) supports shared libraries... yes\r\nchecking dynamic linker characteristics... aix5.3.0.0 ld.so\r\nchecking how to hardcode library paths into programs... immediate\r\nappending configuration tag \"F77\" to libtool\r\nchecking if libtool supports shared libraries... yes\r\nchecking whether to build shared libraries... yes\r\nchecking whether to build static libraries... no\r\nchecking for xlf option to produce PIC... \r\nchecking if xlf static flag -bnso -bI:/lib/syscalls.exp works... no\r\nchecking if xlf supports -c -o file.o... yes\r\nchecking whether the xlf linker (/bin/ld) supports shared libraries... yes\r\nchecking dynamic linker characteristics... aix5.3.0.0 ld.so\r\nchecking how to hardcode library paths into programs... immediate\r\nchecking for exp in -lm... yes\r\nchecking for ANSI C header files... (cached) yes\r\nchecking jni.h usability... no\r\nchecking jni.h presence... no\r\nchecking for jni.h... no\r\nchecking whether to enable Java/JNI support... disabled\r\nchecking for mutexes... enabled, pthread\r\nconfigure: creating ./config.status\r\nconfig.status: creating Makefile\r\nconfig.status: creating src/Makefile\r\nconfig.status: creating man/Makefile\r\nconfig.status: creating man/man1/Makefile\r\nconfig.status: creating man/man3/Makefile\r\nconfig.status: creating nad/Makefile\r\nconfig.status: creating jniwrap/Makefile\r\nconfig.status: creating jniwrap/org/Makefile\r\nconfig.status: creating jniwrap/org/proj4/Makefile\r\nconfig.status: creating src/proj_config.h\r\nconfig.status: src/proj_config.h is unchanged\r\nconfig.status: executing depfiles commands\r\n\r\n$ make\r\n< ... deleted lines ... >\r\n\r\n xlc -DHAVE_CONFIG_H -I. -DPROJ_LIB=\\\"/afs/isis/pkg/proj-4.7.0/share/proj\\\" -DMUTEX_pthread -g -c pj_gridlist.c  -DPIC -o .libs/pj_gridlist.o\r\n\r\n        source='jniproj.c' object='jniproj.lo' libtool=yes  DEPDIR=.deps depmode=none /bin/sh ../depcomp  /bin/sh ../libtool --tag=CC    --mode=compile xlc -DHAVE_CONFIG_H -I. -DPROJ_LIB=\\\"/afs/isis/pkg/proj-4.7.0/share/proj\\\"  -DMUTEX_pthread      -g -c -o jniproj.lo jniproj.c\r\n\r\n xlc -DHAVE_CONFIG_H -I. -DPROJ_LIB=\\\"/afs/isis/pkg/proj-4.7.0/share/proj\\\" -DMUTEX_pthread -g -c jniproj.c  -DPIC -o .libs/jniproj.o\r\n\"jniproj.c\", line 197.7: 1506-356 (W) Compilation unit is empty.\r\n        source='pj_mutex.c' object='pj_mutex.lo' libtool=yes  DEPDIR=.deps depmode=none /bin/sh ../depcomp  /bin/sh ../libtool --tag=CC    --mode=compile xlc -DHAVE_CONFIG_H -I. -DPROJ_LIB=\\\"/afs/isis/pkg/proj-4.7.0/share/proj\\\"  -DMUTEX_pthread      -g -c -o pj_mutex.lo pj_mutex.c\r\n\r\n xlc -DHAVE_CONFIG_H -I. -DPROJ_LIB=\\\"/afs/isis/pkg/proj-4.7.0/share/proj\\\" -DMUTEX_pthread -g -c pj_mutex.c  -DPIC -o .libs/pj_mutex.o\r\n\"pj_mutex.c\", line 106.24: 1506-343 (S) Redeclaration of core_lock differs from previous declaration on line 917 of \"/usr/include/sys/proc.h\".\r\n\"pj_mutex.c\", line 106.24: 1506-382 (I) The type \"struct {...}\" of identifier core_lock differs from previous type \"union _complex_lock\".\r\nmake: The error code from the last command is 1.\r\n\r\nStop.\r\nmake: The error code from the last command is 2.\r\nStop.\r\nmake: The error code from the last command is 1.\r\n\r\n\r\nI tired both gcc v4.1.2 compiler and XL C/C++ v10.01\r\nboth error with the same message as above.\n\nMigrated-From: https://trac.osgeo.org/proj/ticket/57"},"comment":{"url":"https://api.github.com/repos/proj4-bot/proj.4/issues/comments/104322794","html_url":"https://github.com/proj4-bot/proj.4/issues/57#issuecomment-104322794","issue_url":"https://api.github.com/repos/proj4-bot/proj.4/issues/57","id":104322794,"user":{"login":"proj4-bot","id":12542084,"avatar_url":"https://avatars.githubusercontent.com/u/12542084?v=3","gravatar_id":"","url":"https://api.github.com/users/proj4-bot","html_url":"https://github.com/proj4-bot","followers_url":"https://api.github.com/users/proj4-bot/followers","following_url":"https://api.github.com/users/proj4-bot/following{/other_user}","gists_url":"https://api.github.com/users/proj4-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/proj4-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/proj4-bot/subscriptions","organizations_url":"https://api.github.com/users/proj4-bot/orgs","repos_url":"https://api.github.com/users/proj4-bot/repos","events_url":"https://api.github.com/users/proj4-bot/events{/privacy}","received_events_url":"https://api.github.com/users/proj4-bot/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T15:38:10Z","updated_at":"2015-05-21T15:38:10Z","body":"**Modified by sfishback on 6 Oct 2009 16:15 UTC**"}}