Hi Yamato,

On Wed, 2009-01-14 at 11:37 +0900, Masatake YAMATO wrote:
> > > > Sorry,
> > > > 
> > > > Can you please resend me the patch ?
> > > 
> > > Yes. Please, try.
> > > 
> > > 
> > > Signed-off-by: Masatake YAMATO <yam...@redhat.com>
> > 
> > Yes, even with today´s CVS snapshot, i get the same error again:
> > 
> > cc -Wall  -I../../include -g -Wall -I../../../../include -Wall
> > eventfd01.c  -L../../../../lib -laio -lltp -o eventfd01
> > eventfd01.c: In function ‘trigger_eventfd_overflow’:
> > eventfd01.c:578: warning: implicit declaration of function
> > ‘io_set_eventfd’
> > /tmp/ccsXOgjk.o: In function `trigger_eventfd_overflow':
> > /ltp-intermediate-20090105/testcases/kernel/syscalls/eventfd/eventfd01.c:578:
> >  undefined reference to `io_set_eventfd'
> > collect2: ld returned 1 exit status
> > make[4]: *** [eventfd01] Error 1
> 
> Could you send me following data?
> 

Here they are:

> 
>     If you get a build error, please report it to ltp-l...@lists.sf.net with
>     following information,
> 
>      1. the error output of build tools(make, gcc, etc...)
>      2. the output of ./configure 

====================================
Output of ./configure:
====================================
$ ./configure 
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking linux/types.h usability... yes
checking linux/types.h presence... yes
checking for linux/types.h... yes
checking for signalfd... no
checking sys/signalfd.h usability... no
checking sys/signalfd.h presence... no
checking for sys/signalfd.h... no
checking for linux/signalfd.h... no
checking for signalfd.h... no
checking for modify_ldt... yes
checking asm/ldt.h usability... yes
checking asm/ldt.h presence... yes
checking for asm/ldt.h... yes
checking for struct user_desc... yes
checking for struct modify_ldt_ldt_s... no
checking sys/inotify.h usability... yes
checking sys/inotify.h presence... yes
checking for sys/inotify.h... yes
checking sys/capability.h usability... yes
checking sys/capability.h presence... yes
checking for sys/capability.h... yes
checking libaio.h usability... yes
checking libaio.h presence... yes
checking for libaio.h... yes
checking for io_setup in -laio... yes
checking io_set_eventfd is defined in aio library or aio header... yes
checking for sys/inotify.h... (cached) yes
checking ifaddrs.h usability... yes
checking ifaddrs.h presence... yes
checking for ifaddrs.h... yes
configure: creating ./config.status
config.status: creating config.mk
config.status: creating include/config.h
====================================
Output of make:
====================================
cc -Wall  -I../../include -g -Wall -I../../../../include -Wall
eventfd01.c  -L../../../../lib -laio -lltp -o eventfd01
eventfd01.c: In function ‘trigger_eventfd_overflow’:
eventfd01.c:578: warning: implicit declaration of function
‘io_set_eventfd’
/tmp/cc2rMu8w.o: In function `trigger_eventfd_overflow':
/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/DECEMBER_2008_RELEASE/ltp-intermediate-20090115/testcases/kernel/syscalls/eventfd/eventfd01.c:578:
 undefined reference to `io_set_eventfd'
collect2: ld returned 1 exit status
make[4]: *** [eventfd01] Error 1
====================================

>      3. include/config.h
>      4. config.mk
>      5. config.log
> 
Remaining attached.

Regards--
Subrata

> 
> 
> Masatake
> 
/* include/config.h.  Generated from config.h.in by configure.  */
/* include/config.h.in.  Generated from configure.ac by autoheader.  */

/* Define to 1 if you have the <asm/ldt.h> header file. */
#define HAVE_ASM_LDT_H 1

/* Define to 1 if you have the <ifaddrs.h> header file. */
#define HAVE_IFADDRS_H 1

/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1

/* Define to 1 if you have the `io_set_eventfd' function. */
#define HAVE_IO_SET_EVENTFD 1

/* Define to 1 if you have the <libaio.h> header file. */
#define HAVE_LIBAIO_H 1

/* Define to 1 if you have the <linux/signalfd.h> header file. */
/* #undef HAVE_LINUX_SIGNALFD_H */

/* Define to 1 if you have the <linux/types.h> header file. */
#define HAVE_LINUX_TYPES_H 1

/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1

/* Define to 1 if you have the `modify_ldt' function. */
#define HAVE_MODIFY_LDT 1

/* Define to 1 if you have the `signalfd' function. */
/* #undef HAVE_SIGNALFD */

/* Define to 1 if you have the <signalfd.h> header file. */
/* #undef HAVE_SIGNALFD_H */

/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1

/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1

/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1

/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1

/* Define to 1 if the system has the type `struct modify_ldt_ldt_s'. */
/* #undef HAVE_STRUCT_MODIFY_LDT_LDT_S */

/* Define to 1 if `signo' is member of `struct signalfd_siginfo'. */
/* #undef HAVE_STRUCT_SIGNALFD_SIGINFO_SIGNO */

/* Define to 1 if `ssi_signo' is member of `struct signalfd_siginfo'. */
/* #undef HAVE_STRUCT_SIGNALFD_SIGINFO_SSI_SIGNO */

/* Define to 1 if the system has the type `struct user_desc'. */
#define HAVE_STRUCT_USER_DESC 1

/* Define to 1 if you have the <sys/capability.h> header file. */
#define HAVE_SYS_CAPABILITY_H 1

/* Define to 1 if you have the <sys/inotify.h> header file. */
#define HAVE_SYS_INOTIFY_H 1

/* Define to 1 if you have the <sys/signalfd.h> header file. */
/* #undef HAVE_SYS_SIGNALFD_H */

/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1

/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1

/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1

/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "ltp-resu...@lists.sourceforge.net"

/* Define to the full name of this package. */
#define PACKAGE_NAME "ltp"

/* Define to the full name and version of this package. */
#define PACKAGE_STRING "ltp cvs"

/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "ltp"

/* Define to the version of this package. */
#define PACKAGE_VERSION "cvs"

/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by ltp configure cvs, which was
generated by GNU Autoconf 2.63.  Invocation command line was

  $ ./configure 

## --------- ##
## Platform. ##
## --------- ##

hostname = subratamodak.linux.ibm.com
uname -m = i686
uname -r = 2.6.18-92.el5
uname -s = Linux
uname -v = #1 SMP Tue Apr 29 13:16:12 EDT 2008

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/lib/qt-3.3/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /opt/ibm/c4eb/bin
PATH: /home/subratamodak/SOFTWARE_DOWNLOADS/ABAT_CLIENT/
PATH: /home/subratamodak/bin
PATH: /usr/kerberos/bin
PATH: /home/subratamodak/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1840: checking for gcc
configure:1856: found /usr/bin/gcc
configure:1867: result: gcc
configure:2099: checking for C compiler version
configure:2107: gcc --version >&5
gcc (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2111: $? = 0
configure:2118: gcc -v >&5
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)
configure:2122: $? = 0
configure:2129: gcc -V >&5
gcc: '-V' option must have argument
configure:2133: $? = 1
configure:2156: checking for C compiler default output file name
configure:2178: gcc    conftest.c  >&5
configure:2182: $? = 0
configure:2220: result: a.out
configure:2239: checking whether the C compiler works
configure:2249: ./a.out
configure:2253: $? = 0
configure:2272: result: yes
configure:2279: checking whether we are cross compiling
configure:2281: result: no
configure:2284: checking for suffix of executables
configure:2291: gcc -o conftest    conftest.c  >&5
configure:2295: $? = 0
configure:2321: result: 
configure:2327: checking for suffix of object files
configure:2353: gcc -c   conftest.c >&5
configure:2357: $? = 0
configure:2382: result: o
configure:2386: checking whether we are using the GNU C compiler
configure:2415: gcc -c   conftest.c >&5
configure:2422: $? = 0
configure:2439: result: yes
configure:2448: checking whether gcc accepts -g
configure:2478: gcc -c -g  conftest.c >&5
configure:2485: $? = 0
configure:2586: result: yes
configure:2603: checking for gcc option to accept ISO C89
configure:2677: gcc  -c -g -O2  conftest.c >&5
configure:2684: $? = 0
configure:2707: result: none needed
configure:2731: checking how to run the C preprocessor
configure:2771: gcc -E  conftest.c
configure:2778: $? = 0
configure:2809: gcc -E  conftest.c
conftest.c:8:28: error: ac_nonexistent.h: No such file or directory
configure:2816: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "ltp"
| #define PACKAGE_TARNAME "ltp"
| #define PACKAGE_VERSION "cvs"
| #define PACKAGE_STRING "ltp cvs"
| #define PACKAGE_BUGREPORT "ltp-resu...@lists.sourceforge.net"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:2849: result: gcc -E
configure:2878: gcc -E  conftest.c
configure:2885: $? = 0
configure:2916: gcc -E  conftest.c
conftest.c:8:28: error: ac_nonexistent.h: No such file or directory
configure:2923: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "ltp"
| #define PACKAGE_TARNAME "ltp"
| #define PACKAGE_VERSION "cvs"
| #define PACKAGE_STRING "ltp cvs"
| #define PACKAGE_BUGREPORT "ltp-resu...@lists.sourceforge.net"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:2963: checking for grep that handles long lines and -e
configure:3023: result: /bin/grep
configure:3028: checking for egrep
configure:3092: result: /bin/grep -E
configure:3097: checking for ANSI C header files
configure:3127: gcc -c -g -O2  conftest.c >&5
configure:3134: $? = 0
configure:3233: gcc -o conftest -g -O2   conftest.c  >&5
configure:3237: $? = 0
configure:3243: ./conftest
configure:3247: $? = 0
configure:3265: result: yes
configure:3289: checking for sys/types.h
configure:3310: gcc -c -g -O2  conftest.c >&5
configure:3317: $? = 0
configure:3334: result: yes
configure:3289: checking for sys/stat.h
configure:3310: gcc -c -g -O2  conftest.c >&5
configure:3317: $? = 0
configure:3334: result: yes
configure:3289: checking for stdlib.h
configure:3310: gcc -c -g -O2  conftest.c >&5
configure:3317: $? = 0
configure:3334: result: yes
configure:3289: checking for string.h
configure:3310: gcc -c -g -O2  conftest.c >&5
configure:3317: $? = 0
configure:3334: result: yes
configure:3289: checking for memory.h
configure:3310: gcc -c -g -O2  conftest.c >&5
configure:3317: $? = 0
configure:3334: result: yes
configure:3289: checking for strings.h
configure:3310: gcc -c -g -O2  conftest.c >&5
configure:3317: $? = 0
configure:3334: result: yes
configure:3289: checking for inttypes.h
configure:3310: gcc -c -g -O2  conftest.c >&5
configure:3317: $? = 0
configure:3334: result: yes
configure:3289: checking for stdint.h
configure:3310: gcc -c -g -O2  conftest.c >&5
configure:3317: $? = 0
configure:3334: result: yes
configure:3289: checking for unistd.h
configure:3310: gcc -c -g -O2  conftest.c >&5
configure:3317: $? = 0
configure:3334: result: yes
configure:3367: checking linux/types.h usability
configure:3384: gcc -c -g -O2  conftest.c >&5
configure:3391: $? = 0
configure:3405: result: yes
configure:3409: checking linux/types.h presence
configure:3424: gcc -E  conftest.c
configure:3431: $? = 0
configure:3445: result: yes
configure:3478: checking for linux/types.h
configure:3487: result: yes
configure:3508: checking for signalfd
configure:3564: gcc -o conftest -g -O2   conftest.c  >&5
/tmp/ccMteTYn.o: In function `main':
/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/DECEMBER_2008_RELEASE/ltp-intermediate-20090115/conftest.c:53: undefined reference to `signalfd'
collect2: ld returned 1 exit status
configure:3571: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "ltp"
| #define PACKAGE_TARNAME "ltp"
| #define PACKAGE_VERSION "cvs"
| #define PACKAGE_STRING "ltp cvs"
| #define PACKAGE_BUGREPORT "ltp-resu...@lists.sourceforge.net"
| #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_LINUX_TYPES_H 1
| /* end confdefs.h.  */
| /* Define signalfd to an innocuous variant, in case <limits.h> declares signalfd.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define signalfd innocuous_signalfd
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char signalfd (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef signalfd
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char signalfd ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_signalfd || defined __stub___signalfd
| choke me
| #endif
| 
| int
| main ()
| {
| return signalfd ();
|   ;
|   return 0;
| }
configure:3593: result: no
configure:3621: checking sys/signalfd.h usability
configure:3638: gcc -c -g -O2  conftest.c >&5
conftest.c:52:26: error: sys/signalfd.h: No such file or directory
configure:3645: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "ltp"
| #define PACKAGE_TARNAME "ltp"
| #define PACKAGE_VERSION "cvs"
| #define PACKAGE_STRING "ltp cvs"
| #define PACKAGE_BUGREPORT "ltp-resu...@lists.sourceforge.net"
| #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_LINUX_TYPES_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <sys/signalfd.h>
configure:3659: result: no
configure:3663: checking sys/signalfd.h presence
configure:3678: gcc -E  conftest.c
conftest.c:19:26: error: sys/signalfd.h: No such file or directory
configure:3685: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "ltp"
| #define PACKAGE_TARNAME "ltp"
| #define PACKAGE_VERSION "cvs"
| #define PACKAGE_STRING "ltp cvs"
| #define PACKAGE_BUGREPORT "ltp-resu...@lists.sourceforge.net"
| #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_LINUX_TYPES_H 1
| /* end confdefs.h.  */
| #include <sys/signalfd.h>
configure:3699: result: no
configure:3732: checking for sys/signalfd.h
configure:3741: result: no
configure:3767: checking for linux/signalfd.h
configure:3791: gcc -c -g -O2  conftest.c >&5
conftest.c:24:28: error: linux/signalfd.h: No such file or directory
configure:3798: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "ltp"
| #define PACKAGE_TARNAME "ltp"
| #define PACKAGE_VERSION "cvs"
| #define PACKAGE_STRING "ltp cvs"
| #define PACKAGE_BUGREPORT "ltp-resu...@lists.sourceforge.net"
| #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_LINUX_TYPES_H 1
| /* end confdefs.h.  */
| #ifdef HAVE_LINUX_TYPES_H
| #include <linux/types.h>
| #endif
| 
| 
| #include <linux/signalfd.h>
configure:3815: result: no
configure:3767: checking for signalfd.h
configure:3791: gcc -c -g -O2  conftest.c >&5
conftest.c:24:22: error: signalfd.h: No such file or directory
configure:3798: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "ltp"
| #define PACKAGE_TARNAME "ltp"
| #define PACKAGE_VERSION "cvs"
| #define PACKAGE_STRING "ltp cvs"
| #define PACKAGE_BUGREPORT "ltp-resu...@lists.sourceforge.net"
| #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_LINUX_TYPES_H 1
| /* end confdefs.h.  */
| #ifdef HAVE_LINUX_TYPES_H
| #include <linux/types.h>
| #endif
| 
| 
| #include <signalfd.h>
configure:3815: result: no
configure:4086: checking for modify_ldt
configure:4142: gcc -o conftest -g -O2   conftest.c  >&5
configure:4149: $? = 0
configure:4171: result: yes
configure:4199: checking asm/ldt.h usability
configure:4216: gcc -c -g -O2  conftest.c >&5
configure:4223: $? = 0
configure:4237: result: yes
configure:4241: checking asm/ldt.h presence
configure:4256: gcc -E  conftest.c
configure:4263: $? = 0
configure:4277: result: yes
configure:4310: checking for asm/ldt.h
configure:4319: result: yes
configure:4335: checking for struct user_desc
configure:4365: gcc -c -g -O2  conftest.c >&5
configure:4372: $? = 0
configure:4401: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:27: error: expected expression before ')' token
configure:4408: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "ltp"
| #define PACKAGE_TARNAME "ltp"
| #define PACKAGE_VERSION "cvs"
| #define PACKAGE_STRING "ltp cvs"
| #define PACKAGE_BUGREPORT "ltp-resu...@lists.sourceforge.net"
| #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_LINUX_TYPES_H 1
| #define HAVE_MODIFY_LDT 1
| #define HAVE_ASM_LDT_H 1
| /* end confdefs.h.  */
| #include <asm/ldt.h>
| 
| 
| int
| main ()
| {
| if (sizeof ((struct user_desc)))
| 	  return 0;
|   ;
|   return 0;
| }
configure:4431: result: yes
configure:4441: checking for struct modify_ldt_ldt_s
configure:4471: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:28: error: invalid application of 'sizeof' to incomplete type 'struct modify_ldt_ldt_s' 
configure:4478: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "ltp"
| #define PACKAGE_TARNAME "ltp"
| #define PACKAGE_VERSION "cvs"
| #define PACKAGE_STRING "ltp cvs"
| #define PACKAGE_BUGREPORT "ltp-resu...@lists.sourceforge.net"
| #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_LINUX_TYPES_H 1
| #define HAVE_MODIFY_LDT 1
| #define HAVE_ASM_LDT_H 1
| #define HAVE_STRUCT_USER_DESC 1
| /* end confdefs.h.  */
| #include <asm/ldt.h>
| 
| 
| int
| main ()
| {
| if (sizeof (struct modify_ldt_ldt_s))
|        return 0;
|   ;
|   return 0;
| }
configure:4537: result: no
configure:4566: checking sys/inotify.h usability
configure:4583: gcc -c -g -O2  conftest.c >&5
configure:4590: $? = 0
configure:4604: result: yes
configure:4608: checking sys/inotify.h presence
configure:4623: gcc -E  conftest.c
configure:4630: $? = 0
configure:4644: result: yes
configure:4677: checking for sys/inotify.h
configure:4686: result: yes
configure:4718: checking sys/capability.h usability
configure:4735: gcc -c -g -O2  conftest.c >&5
configure:4742: $? = 0
configure:4756: result: yes
configure:4760: checking sys/capability.h presence
configure:4775: gcc -E  conftest.c
configure:4782: $? = 0
configure:4796: result: yes
configure:4829: checking for sys/capability.h
configure:4838: result: yes
configure:4875: checking libaio.h usability
configure:4892: gcc -c -g -O2  conftest.c >&5
configure:4899: $? = 0
configure:4913: result: yes
configure:4917: checking libaio.h presence
configure:4932: gcc -E  conftest.c
configure:4939: $? = 0
configure:4953: result: yes
configure:4986: checking for libaio.h
configure:4995: result: yes
configure:5006: checking for io_setup in -laio
configure:5041: gcc -o conftest -g -O2   conftest.c -laio   >&5
configure:5048: $? = 0
configure:5069: result: yes
configure:5075: checking io_set_eventfd is defined in aio library or aio header
configure:5101: gcc -o conftest -g -O2   conftest.c  -laio >&5
configure:5108: $? = 0
configure:5120: result: yes
configure:5149: checking for sys/inotify.h
configure:5156: result: yes
configure:5312: checking ifaddrs.h usability
configure:5329: gcc -c -g -O2  conftest.c >&5
configure:5336: $? = 0
configure:5350: result: yes
configure:5354: checking ifaddrs.h presence
configure:5369: gcc -E  conftest.c
configure:5376: $? = 0
configure:5390: result: yes
configure:5423: checking for ifaddrs.h
configure:5432: result: yes
configure:5550: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by ltp config.status cvs, which was
generated by GNU Autoconf 2.63.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on subratamodak.linux.ibm.com

config.status:732: creating config.mk
config.status:732: creating include/config.h

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_modify_ldt=yes
ac_cv_func_signalfd=no
ac_cv_header_asm_ldt_h=yes
ac_cv_header_ifaddrs_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_libaio_h=yes
ac_cv_header_linux_signalfd_h=no
ac_cv_header_linux_types_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_signalfd_h=no
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_capability_h=yes
ac_cv_header_sys_inotify_h=yes
ac_cv_header_sys_signalfd_h=no
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_lib_aio_io_setup=yes
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_type_struct_modify_ldt_ldt_s=no
ac_cv_type_struct_user_desc=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

AIO_LIBS='-laio'
CC='gcc'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS=''
DEFS='-DHAVE_CONFIG_H'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
GREP='/bin/grep'
LDFLAGS=''
LIBOBJS=''
LIBS=' -laio'
LTLIBOBJS=''
OBJEXT='o'
PACKAGE_BUGREPORT='ltp-resu...@lists.sourceforge.net'
PACKAGE_NAME='ltp'
PACKAGE_STRING='ltp cvs'
PACKAGE_TARNAME='ltp'
PACKAGE_VERSION='cvs'
PATH_SEPARATOR=':'
SHELL='/bin/sh'
ac_ct_CC='gcc'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "ltp"
#define PACKAGE_TARNAME "ltp"
#define PACKAGE_VERSION "cvs"
#define PACKAGE_STRING "ltp cvs"
#define PACKAGE_BUGREPORT "ltp-resu...@lists.sourceforge.net"
#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_LINUX_TYPES_H 1
#define HAVE_MODIFY_LDT 1
#define HAVE_ASM_LDT_H 1
#define HAVE_STRUCT_USER_DESC 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_IO_SET_EVENTFD 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_IFADDRS_H 1

configure: exit 0
AIO_LIBS = -laio
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to