[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Problems with pthread detection under HPUX 11.0 (ITS#14)



On Mon, Dec 21, 1998 at 05:27:25PM -0500, Josh Tiefenbach wrote:
> > >The problem is that configure, when executing the AC_CHECK_LIB macro, does
> > not
> > >include the pthread.h header file. This is required to avoid undefined symbol
> > >link
> > >errors. 

Upon further review, it would appear that the same problem torpedo's the
checks for the pthread_attr_init function. I'm not entirely sure how to solve
the general problem tho - can you specify an include file to be checked when
using AC_CHECK_FUNC or AC_CHECK_LIB?

(config.log scrap)
configure:4053: checking for pthread_attr_init
configure:4081: cc -o conftest -g   conftest.c  -lpthread -lV3  1>&5
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (conftest.o) was
detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: Unsatisfied symbols:
   pthread_attr_init (code)

josh

-- 
Josh Tiefenbach - Member - ACC Corps of Internet Engineers - josh@ican.net