libnetconf
libnetconf copied to clipboard
Configure failed when tried to compile on RedHat Enterprise version 2.6.32-279.9.1.el6.x86_64
When tried to execute the configure script with the following attributes specified, i.e. CFLAGS="-m32", LDFLAGS="-m32", the following error messages is displayed:
checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... no checking whether pthreads work with -pthreads... no checking whether pthreads work with -mthreads... no checking for the pthreads library -lpthread... no checking whether pthreads work with --thread-safe... no checking whether pthreads work with -mt... no checking for pthread-config... no configure: error: Missing POSIX threads support.
And without '-m32' the configure on the same system success? Then my tip is that the compiler misses 32bit version of pthread (NPTL) library. Try to explore config.log with detailed configure output.