libnetconf icon indicating copy to clipboard operation
libnetconf copied to clipboard

Configure failed when tried to compile on RedHat Enterprise version 2.6.32-279.9.1.el6.x86_64

Open jlei2015 opened this issue 9 years ago • 1 comments

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.

jlei2015 avatar Nov 19 '15 21:11 jlei2015

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.

rkrejci avatar Nov 20 '15 07:11 rkrejci