bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

usability of linux/ftape-header-segment.h


From: Jean-Louis Martineau
Subject: usability of linux/ftape-header-segment.h
Date: Sun, 27 Apr 2003 10:30:32 -0400
User-agent: Mutt/1.4.1i

Hi,

redhat 9
autoconf (GNU Autoconf) 2.57
automake (GNU automake) 1.6.3
gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
kernel 2.4.20-9

My configure.in script contain:
AC_CHECK_HEADERS(linux/ftape-header-segment.h)

I get this when I run the configure script:
------------------------------------------------------------------------
checking linux/ftape-header-segment.h usability... no
checking linux/ftape-header-segment.h presence... yes
configure: WARNING: linux/ftape-header-segment.h: present but cannot
be compiled
configure: WARNING: linux/ftape-header-segment.h: check for missing
prerequisite headers?
configure: WARNING: linux/ftape-header-segment.h: proceeding with
the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to address@hidden ##
configure: WARNING:     ## ------------------------------------ ##
checking for linux/ftape-header-segment.h... yes
------------------------------------------------------------------------

I get this on config.log:
------------------------------------------------------------------------
configure:13139: checking linux/ftape-header-segment.h usability
configure:13152: gcc -c -D_FILE_OFFSET_BITS=64 -g -O2 -Wall  
-D_FILE_OFFSET_BITS=64    conftest.c >&5
In file included from configure:13262:
/usr/include/linux/ftape-header-segment.h:111: parse error before "__u16"
configure:13155: $? = 1
configure: failed program was:
| #line 13141 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define CONFIGURE_COMMAND "'./configure' '--prefix=/u/martinea/linux' 
'--with-configdir=/u/martinea/etc/amanda' 
'--with-gnutar-listdir=/var/gnutar-lists' 
'--with-gnutar=/usr/local/amanda/bin/tar' '--with-bsd-security' 
'--with-user=amanda' '--with-group=amandag' '--disable-shared' 
'--mandir=/u/martinea/man' '--no-create' '--no-recursion'"
| #define PACKAGE "amanda"
| #define VERSION "2.4.4"
| #define CONFIG_DIR "/u/martinea/etc/amanda"
| #define DEFAULT_SERVER "XX.iro.umontreal.ca"
| #define FORCE_USERID 1
| #define CLIENT_LOGIN "amanda"
| #define BINARY_OWNER "amanda"
| #define DEFAULT_CONFIG "DailySet1"
| #define DEFAULT_TAPE_SERVER "XX.iro.umontreal.ca"
| #define DEFAULT_TAPE_DEVICE "/dev/null"
| #define DEFAULT_RAW_TAPE_DEVICE "/dev/null"
| #define DEFAULT_CHANGER_DEVICE "/dev/null"
| #define GNUTAR_LISTED_INCREMENTAL_DIR "/var/gnutar-lists"
| #define BSD_SECURITY 1
| #define USE_AMANDAHOSTS 1
| #define SERVER_HOST_PRINCIPLE "amanda"
| #define SERVER_HOST_INSTANCE "amanda"
| #define SERVER_HOST_KEY_FILE "/.amanda"
| #define CLIENT_HOST_PRINCIPLE "rcmd"
| #define CLIENT_HOST_INSTANCE HOSTNAME_INSTANCE
| #define CLIENT_HOST_KEY_FILE KEYFILE
| #define TICKET_LIFETIME 128
| #define MAX_TAPE_BLOCK_KB (32)
| #define AMANDA_TMPDIR "/tmp/amanda"
| #define DEBUG_CODE 1
| #define AMANDA_DBGDIR "/tmp/amanda"
| #define AMANDA_DEBUG_DAYS 4
| #define SERVICE_SUFFIX ""
| #define AMANDA_SERVICE_NAME "amanda"
| #define KAMANDA_SERVICE_NAME "kamanda"
| #define bindir "/u/martinea/linux/bin"
| #define sbindir "/u/martinea/linux/sbin"
| #define libexecdir "/u/martinea/linux/libexec"
| #define mandir "/u/martinea/man"
| #define MT_FILE_FLAG "-f"
| #define GREP "/bin/grep"
| #define GNUTAR "/usr/local/amanda/bin/tar"
| #define SAMBA_CLIENT "/usr/bin/smbclient"
| #define SAMBA_VERSION 2
| #define HAVE_GZIP 1
| #define COMPRESS_PATH "/bin/gzip"
| #define COMPRESS_SUFFIX ".gz"
| #define COMPRESS_FAST_OPT "--fast"
| #define COMPRESS_BEST_OPT "--best"
| #define UNCOMPRESS_PATH "/bin/gzip"
| #define UNCOMPRESS_OPT "-dc"
| #define MAILER "/usr/bin/Mail"
| #define LPRCMD "/usr/bin/lpr"
| #define LPRFLAG "-P"
| #define DUMP "/sbin/dump"
| #define RESTORE "/sbin/restore"
| #define HAVE_DUMP_ESTIMATE "S"
| #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 HAVE_UNSIGNED_LONG_CONSTANTS 1
| #define RETSIGTYPE void
| #define YYTEXT_POINTER 1
| #define STDC_HEADERS 1
| #define HAVE_DIRENT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_WAIT_H 1
| #define WAIT_USES_UNION 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_DB_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_FSTAB_H 1
| #define HAVE_GRP_H 1
| #define HAVE_LIMITS_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 <linux/ftape-header-segment.h>
configure:13171: result: no
configure:13175: checking linux/ftape-header-segment.h presence
configure:13186: gcc -E -D_FILE_OFFSET_BITS=64    conftest.c
configure:13192: $? = 0
configure:13211: result: yes
configure:13231: WARNING: linux/ftape-header-segment.h: present but cannot be 
compiled
configure:13233: WARNING: linux/ftape-header-segment.h: check for missing 
prerequisite headers?
configure:13235: WARNING: linux/ftape-header-segment.h: proceeding with the 
preprocessor's result
configure:13247: checking for linux/ftape-header-segment.h
configure:13254: result: yes
------------------------------------------------------------------------

-- 
Jean-Louis Martineau             email: address@hidden 
Departement IRO, Universite de Montreal
C.P. 6128, Succ. CENTRE-VILLE    Tel: (514) 343-6111 ext. 3529
Montreal, Canada, H3C 3J7        Fax: (514) 343-5834




reply via email to

[Prev in Thread] Current Thread [Next in Thread]