Page 2 of 3

Re: Versions 6.8.1-9 and later don't function

Posted: 2013-04-11T08:15:43-07:00
by hrd_hpux
the result of make:

CC utilities/animate.o
CCLD utilities/animate
/usr/ccs/bin/ld: Unsatisfied symbols:
pthread_create (first referenced in magick/.libs/libMagickCore-6.Q16.a(magick_libMagickCore_6_Q16_la-distribute-cache.o)) (code)
pthread_attr_init (first referenced in magick/.libs/libMagickCore-6.Q16.a(magick_libMagickCore_6_Q16_la-distribute-cache.o)) (code)
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

Re: Versions 6.8.1-9 and later don't function

Posted: 2013-04-11T08:50:34-07:00
by broucaries
magick could you try to put the newest AX_CHECk_PTHREAD macro form autoconf-archive..

hrd_hpux: could you post the config.log and the faileld line with make V=1

Bastien

Re: Versions 6.8.1-9 and later don't function

Posted: 2013-04-11T08:57:50-07:00
by magick
Look for the patch in the ImageMagick Subversion trunk in just a few hours. Thanks.

Re: Versions 6.8.1-9 and later don't function

Posted: 2013-04-15T10:36:06-07:00
by clava
I have the same problem with "don't know how to make "magick/ImageMagick-6.Q16.pc"
This solution was help me:
I was install lower version of ImageMagick (6.8.0.0), "make install" say "not found -libltdl"
Than I install libltdl from ports :
/usr/ports/devel/libltdl
make install clean
and than again install ImageMagick 6.8.0.0

sorry if it is some offtopic

Re: Versions 6.8.1-9 and later don't function

Posted: 2013-04-18T08:06:46-07:00
by hrd_hpux
I had posted the config.log and "make V=1", quite long. It is now gone. Was it received?

Re: Versions 6.8.1-9 and later don't function

Posted: 2013-04-18T08:45:05-07:00
by magick
It was too long to post to this forum. Instead post a URL so we can review it.

Re: Versions 6.8.1-9 and later don't function

Posted: 2013-04-18T10:20:23-07:00
by hrd_hpux
I have placed config.log on ftp.aoml.noaa.gov/hrd/pub/griffin. I hope this helps.

Re: Versions 6.8.1-9 and later don't function

Posted: 2013-04-18T11:52:48-07:00
by magick
We updated the ax_pthread.m4 macro in ImageMagick 6.8.5-0 Beta. It will be available tomorrow. Try this release and see if it fixes the problem.

Re: Versions 6.8.1-9 and later don't function

Posted: 2013-04-22T08:50:54-07:00
by hrd_hpux
I tried the 6.8.5.0 beta and still have the unsatisfied symbol during make for pthread_create at animate.

Re: Versions 6.8.1-9 and later don't function

Posted: 2013-04-22T09:11:44-07:00
by magick
The only thing we can suggest is to edit Makefile and add -lpthread (or whatever your pthread library is called) to the linker command line. We don't have access to an HP machines to determine why the pthread test is failing. You can also try
  • ./configure --without-threads

Re: Versions 6.8.1-9 and later don't function

Posted: 2013-04-23T08:40:53-07:00
by hrd_hpux
I already had "configure --without-threads" so that's out. My libpthread.a doesn't seem to have pthread_create in it. A mystery as to what HP did.

Re: Versions 6.8.1-9 and later don't function

Posted: 2013-04-23T09:28:46-07:00
by magick
Try this. Edit magick/distribute-cache.c and change
  • #if defined(MAGICKCORE_HAVE_SOCKET)
to
  • #if defined(MAGICKCORE_HAVE_SOCKET) && defined(MAGICKCORE_HAVE_PTHREAD)

Re: Versions 6.8.1-9 and later don't function

Posted: 2013-04-25T09:07:35-07:00
by hrd_hpux
Still a no go, it fails to make animate, and the error output did not change.

Re: Versions 6.8.1-9 and later don't function

Posted: 2013-04-25T12:04:26-07:00
by magick
We have run out of ideas and unfortunately we do not have access to an HPUX machine to investigate further.

Re: Versions 6.8.1-9 and later don't function

Posted: 2013-04-30T09:09:02-07:00
by broucaries
Smell like this http://gcc.gnu.org/ml/gcc-patches/2008-01/msg00739.html

Does adding -lptrhread solve the problem ?

aka CC="$CC -lpthread" make