On 15 August 2016 at 02:54, Assaf Gordon <[email protected]> wrote: > On AIX, fails as before ( > http://lists.gnu.org/archive/html/bug-texinfo/2016-02/msg00008.html ).
Quoting > On AIX-7.1,power7, compilation fails with: > ==== > gcc -std=gnu99 -g -O2 -o ginfo dir.o display.o dribble.o > echo-area.o filesys.o footnotes.o indices.o info-utils.o info.o infodoc.o > infokey.o infomap.o infopath.o m-x.o man.o nodemenu.o nodes.o search.o > session.o signals.o tag.o terminal.o tilde.o variables.o window.o doc.o > ../gnulib/lib/libgnu.a -lcurses -lintl -liconv > ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_init > ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_destroy > ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_lock > ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_unlock > ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more > information. I'd guess that it needs to be compiled with the -pthread option. ginfo itself doesn't use threads, but presumably one of the libraries it uses does. I don't know of any way to find this dependency or the compiler options that are needed automatically with autoconf/automake.
