IM 6.9.0-2 build fail without-threads

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
kwm
Posts: 11
Joined: 2014-03-04T13:43:03-07:00
Authentication code: 6789

IM 6.9.0-2 build fail without-threads

Post by kwm » 2014-12-31T06:33:12-07:00

When building ImageMagick 6.9.0-2 with --without-threads the build fails

Code: Select all

  CC       magick/magick_libMagickCore_6_Q16_la-compress.lo
  CC       magick/magick_libMagickCore_6_Q16_la-configure.lo
  CC       magick/magick_libMagickCore_6_Q16_la-constitute.lo
  CC       magick/magick_libMagickCore_6_Q16_la-decorate.lo
  CC       magick/magick_libMagickCore_6_Q16_la-distribute-cache.lo
magick/distribute-cache.c:389:5: warning: implicit declaration of function
      'CLOSE_SOCKET' is invalid in C99 [-Wimplicit-function-declaration]
    CLOSE_SOCKET(server_info->file);
    ^
magick/distribute-cache.c:751:8: error: unknown type name 'HANDLER_RETURN_TYPE'
static HANDLER_RETURN_TYPE DistributePixelCacheClient(void *socket)
       ^
magick/distribute-cache.c:775:3: error: use of undeclared identifier
      'SOCKET_TYPE'
  SOCKET_TYPE
  ^
magick/distribute-cache.c:805:3: error: use of undeclared identifier
      'client_socket'
  client_socket=(*(int *) socket);
  ^
magick/distribute-cache.c:806:18: error: use of undeclared identifier
      'client_socket'
  count=dpc_send(client_socket,DPCSessionKeyLength,GetStringInfoDatum(secret));
                 ^
magick/distribute-cache.c:810:20: error: use of undeclared identifier
      'client_socket'
    count=dpc_read(client_socket,1,(unsigned char *) &command);
                   ^
magick/distribute-cache.c:813:20: error: use of undeclared identifier
      'client_socket'
    count=dpc_read(client_socket,sizeof(key),(unsigned char *) &key);
                   ^
magick/distribute-cache.c:821:45: error: use of undeclared identifier
      'client_socket'
        status=OpenDistributeCache(registry,client_socket,session_key,
                                            ^
magick/distribute-cache.c:823:24: error: use of undeclared identifier
      'client_socket'
        count=dpc_send(client_socket,sizeof(status),(unsigned char *) &status);
                       ^
magick/distribute-cache.c:828:51: error: use of undeclared identifier
      'client_socket'
        status=ReadDistributeCachePixels(registry,client_socket,session_key,
                                                  ^
magick/distribute-cache.c:834:52: error: use of undeclared identifier
      'client_socket'
        status=ReadDistributeCacheIndexes(registry,client_socket,session_key,
                                                   ^
magick/distribute-cache.c:840:52: error: use of undeclared identifier
      'client_socket'
        status=WriteDistributeCachePixels(registry,client_socket,session_key,
                                                   ^
magick/distribute-cache.c:846:53: error: use of undeclared identifier
      'client_socket'
        status=WriteDistributeCacheIndexes(registry,client_socket,session_key,
                                                    ^
magick/distribute-cache.c:863:18: error: use of undeclared identifier
      'client_socket'
  count=dpc_send(client_socket,sizeof(status),(unsigned char *) &status);
                 ^
magick/distribute-cache.c:864:16: error: use of undeclared identifier
      'client_socket'
  CLOSE_SOCKET(client_socket);
               ^
magick/distribute-cache.c:867:10: error: use of undeclared identifier
      'HANDLER_RETURN_VALUE'
  return(HANDLER_RETURN_VALUE);
         ^
1 warning and 15 errors generated.
Makefile:8461: recipe for target 'magick/magick_libMagickCore_6_Q16_la-distribute-cache.lo' failed
gmake[3]: *** [magick/magick_libMagickCore_6_Q16_la-distribute-cache.lo] Error 1
gmake[3]: *** Waiting for unfinished jobs....
  CC       magick/magick_libMagickCore_6_Q16_la-delegate.lo
gmake[3]: Leaving directory '/home/kwm/sources/freebsd/ports/graphics/ImageMagick/work/ImageMagick-6.9.0-2'
Makefile:5150: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory '/home/kwm/sources/freebsd/ports/graphics/ImageMagick/work/ImageMagick-6.9.0-2'
===> Compilation failed unexpectedly.

User avatar
magick
Site Admin
Posts: 11043
Joined: 2003-05-31T11:32:55-07:00

Re: IM 6.9.0-2 build fail without-threads

Post by magick » 2014-12-31T07:16:37-07:00

We can reproduce the problem you posted and have a patch in ImageMagick 6.9.0-3 Beta available by sometime tomorrow. Thanks.

Post Reply