[beports] search.h trouble in tiff-3.8.2

  • From: "scott mc" <scottmc2@xxxxxxxxx>
  • To: beports@xxxxxxxxxxxxx
  • Date: Mon, 26 May 2008 21:39:30 +0000

While trying to build tiff under Haiku using haiku settings it fails
configure for search.h, here's a clip from config.log showing the
failure.  Any ideas what to try?
-scottmc

configure:10184: checking for malloc.h
configure:10191: result: yes
configure:10069: checking search.h usability
configure:10081: gcc -c -g -O2 -Wall -W  conftest.c >&5
In file included from /boot/home/tiff-3.8.2-haiku/conftest.c:61:
/boot/develop/headers/posix/search.h:35: conflicting types for `restrict'
/boot/develop/headers/posix/search.h:35: previous declaration of `restrict'
configure:10087: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "LibTIFF Software"
| #define PACKAGE_TARNAME "tiff"
| #define PACKAGE_VERSION "3.8.2"
| #define PACKAGE_STRING "LibTIFF Software 3.8.2"
| #define PACKAGE_BUGREPORT "tiff@xxxxxxxxxxxxxxxxxx"
| #define PACKAGE "tiff"
| #define VERSION "3.8.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ASSERT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MALLOC_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| #  include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <search.h>
configure:10109: result: no
configure:10113: checking search.h presence
configure:10123: gcc -E  conftest.c
configure:10129: $? = 0
configure:10149: result: yes
configure:10162: WARNING: search.h: present but cannot be compiled
configure:10164: WARNING: search.h:     check for missing prerequisite headers?
configure:10166: WARNING: search.h: see the Autoconf documentation
configure:10168: WARNING: search.h:     section "Present But Cannot Be Compiled"
configure:10170: WARNING: search.h: proceeding with the preprocessor's result
configure:10172: WARNING: search.h: in the future, the compiler will
take precedence
configure:10184: checking for search.h
configure:10191: result: yes

--
BePorts homepage - http://tools.assembla.com/BePorts
List archives: //www.freelists.org/archives/beports
Administrative contact: brecht@xxxxxxxxxxx

Other related posts: