LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 553|回复: 1

I can't compile the "lidstools",What I do?(about LIDS)

[复制链接]
发表于 2004-5-23 20:20:44 | 显示全部楼层 |阅读模式
================================================================================

this is "config.log" file contents.
=================================================================================
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by lidstools configure 2.2.3, which was
generated by GNU Autoconf 2.57.  Invocation command line was

  $ ./configure KERNEL_DIR=/usr/src/linux-2.6.6

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

hostname = zhao
uname -m = i686
uname -r = 2.6.6-lids
uname -s = Linux
uname -v = #1 Mon May 24 01:06:46 CST 2004

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

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

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /root/bin


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

configure:1326: checking for a BSD-compatible install
configure:1380: result: /usr/bin/install -c
configure:1391: checking whether build environment is sane
configure:1434: result: yes
configure:1467: checking for gawk
configure:1483: found /bin/gawk
configure:1493: result: gawk
configure:1503: checking whether make sets $(MAKE)
configure:1523: result: yes
configure:1761: checking for gcc
configure:1777: found /usr/bin/gcc
configure:1787: result: gcc
configure:2031: checking for C compiler version
configure:2034: gcc --version </dev/null >&5
gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
Copyright (C) 2002 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:2037: $? = 0
configure:2039: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
configure:2042: $? = 0
configure:2044: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:2047: $? = 1
configure:2071: checking for C compiler default output
configure:2074: gcc    conftest.c  >&5
configure:2077: $? = 0
configure:2123: result: a.out
configure:2128: checking whether the C compiler works
configure:2134: ./a.out
configure:2137: $? = 0
configure:2154: result: yes
configure:2161: checking whether we are cross compiling
configure:2163: result: no
configure:2166: checking for suffix of executables
configure:2168: gcc -o conftest    conftest.c  >&5
configure:2171: $? = 0
configure:2196: result:
configure:2202: checking for suffix of object files
configure:2224: gcc -c   conftest.c >&5
configure:2227: $? = 0
configure:2249: result: o
configure:2253: checking whether we are using the GNU C compiler
configure:2278: gcc -c   conftest.c >&5
configure:2281: $? = 0
configure:2284: test -s conftest.o
configure:2287: $? = 0
configure:2300: result: yes
configure:2306: checking whether gcc accepts -g
configure:2328: gcc -c -g  conftest.c >&5
configure:2331: $? = 0
configure:2334: test -s conftest.o
configure:2337: $? = 0
configure:2348: result: yes
configure:2365: checking for gcc option to accept ANSI C
configure:2426: gcc  -c -g -O2  conftest.c >&5
configure:2429: $? = 0
configure:2432: test -s conftest.o
configure:2435: $? = 0
configure:2453: result: none needed
configure:2471: gcc -c -g -O2  conftest.c >&5
conftest.c:2: parse error before "me"
configure:2474: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:2602: checking for style of include used by make
configure:2630: result: GNU
configure:2658: checking dependency style of gcc
configure:2720: result: gcc3
configure:2730: checking how to run the C preprocessor
configure:2766: gcc -E  conftest.c
configure:2772: $? = 0
configure:2804: gcc -E  conftest.c
configure:2806:28: ac_nonexistent.h: No such file or directory
configure:2810: $? = 1
configure: failed program was:
| #line 2795 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "lidstools"
| #define PACKAGE_TARNAME "lidstools"
| #define PACKAGE_VERSION "2.2.3"
| #define PACKAGE_STRING "lidstools 2.2.3"
| #define PACKAGE_BUGREPORT "xie@lids.org"
| #define PACKAGE "lidstools"
| #define VERSION "2.2.3"
| #define KERNEL_VERSION ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:2848: result: gcc -E
configure:2873: gcc -E  conftest.c
configure:2879: $? = 0
configure:2911: gcc -E  conftest.c
configure:2913:28: ac_nonexistent.h: No such file or directory
configure:2917: $? = 1
configure: failed program was:
| #line 2902 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "lidstools"
| #define PACKAGE_TARNAME "lidstools"
| #define PACKAGE_VERSION "2.2.3"
| #define PACKAGE_STRING "lidstools 2.2.3"
| #define PACKAGE_BUGREPORT "xie@lids.org"
| #define PACKAGE "lidstools"
| #define VERSION "2.2.3"
| #define KERNEL_VERSION ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:2978: checking for /usr/src/linux-2.6.6/include/linux/kernel.h
configure:2993: result: yes
configure:3015: checking for /usr/src/linux-2.6.6/kernel/fork.c
configure:3030: result: yes
configure:3062: checking for /usr/src/linux-2.6.6/include/linux/version.h
configure:3077: result: yes
configure:3104: checking for /usr/src/linux-2.6.6/include/asm/ptrace.h
configure:3119: result: yes
configure:3151: checking for egrep
configure:3161: result: grep -E
In file included from configure:3181:
/usr/src/linux-2.6.6/include/linux/version.h:3:1: warning: "KERNEL_VERSION" redefined
configure:3175:1: warning: this is the location of the previous definition
In file included from configure:3201:
/usr/src/linux-2.6.6/include/linux/version.h:3:1: warning: "KERNEL_VERSION" redefined
configure:3195:1: warning: this is the location of the previous definition
In file included from configure:3221:
/usr/src/linux-2.6.6/include/linux/version.h:3:1: warning: "KERNEL_VERSION" redefined
configure:3215:1: warning: this is the location of the previous definition
configure:3232: checking for /usr/src/linux-2.6.6/security/lids/lids_lsm.c
configure:3247: result: yes
configure:3280: checking for ANSI C header files
configure:3306: gcc -c -g -O2  conftest.c >&5
configure:3309: $? = 0
configure:3312: test -s conftest.o
configure:3315: $? = 0
configure:3404: gcc -o conftest -g -O2   conftest.c  >&5
configure:3407: $? = 0
configure:3409: ./conftest
configure:3412: $? = 0
configure:3427: result: yes
configure:3451: checking for sys/types.h
configure:3468: gcc -c -g -O2  conftest.c >&5
configure:3471: $? = 0
configure:3474: test -s conftest.o
configure:3477: $? = 0
configure:3488: result: yes
configure:3451: checking for sys/stat.h
configure:3468: gcc -c -g -O2  conftest.c >&5
configure:3471: $? = 0
configure:3474: test -s conftest.o
configure:3477: $? = 0
configure:3488: result: yes
configure:3451: checking for stdlib.h
configure:3468: gcc -c -g -O2  conftest.c >&5
configure:3471: $? = 0
configure:3474: test -s conftest.o
configure:3477: $? = 0
configure:3488: result: yes
configure:3451: checking for string.h
configure:3468: gcc -c -g -O2  conftest.c >&5
configure:3471: $? = 0
configure:3474: test -s conftest.o
configure:3477: $? = 0
configure:3488: result: yes
configure:3451: checking for memory.h
configure:3468: gcc -c -g -O2  conftest.c >&5
configure:3471: $? = 0
configure:3474: test -s conftest.o
configure:3477: $? = 0
configure:3488: result: yes
configure:3451: checking for strings.h
configure:3468: gcc -c -g -O2  conftest.c >&5
configure:3471: $? = 0
configure:3474: test -s conftest.o
configure:3477: $? = 0
configure:3488: result: yes
configure:3451: checking for inttypes.h
configure:3468: gcc -c -g -O2  conftest.c >&5
configure:3471: $? = 0
configure:3474: test -s conftest.o
configure:3477: $? = 0
configure:3488: result: yes
configure:3451: checking for stdint.h
configure:3468: gcc -c -g -O2  conftest.c >&5
configure:3471: $? = 0
configure:3474: test -s conftest.o
configure:3477: $? = 0
configure:3488: result: yes
configure:3451: checking for unistd.h
configure:3468: gcc -c -g -O2  conftest.c >&5
configure:3471: $? = 0
configure:3474: test -s conftest.o
configure:3477: $? = 0
configure:3488: result: yes
configure:3500: checking whether sys/types.h defines makedev
configure:3522: gcc -o conftest -g -O2   conftest.c  >&5
configure:3525: $? = 0
configure:3528: test -s conftest
configure:3531: $? = 0
configure:3543: result: yes
configure:3848: checking fcntl.h usability
configure:3861: gcc -c -g -O2  conftest.c >&5
configure:3864: $? = 0
configure:3867: test -s conftest.o
configure:3870: $? = 0
configure:3880: result: yes
configure:3884: checking fcntl.h presence
configure:3895: gcc -E  conftest.c
configure:3901: $? = 0
configure:3920: result: yes
configure:3956: checking for fcntl.h
configure:3963: result: yes
configure:3848: checking limits.h usability
configure:3861: gcc -c -g -O2  conftest.c >&5
configure:3864: $? = 0
configure:3867: test -s conftest.o
configure:3870: $? = 0
configure:3880: result: yes
configure:3884: checking limits.h presence
configure:3895: gcc -E  conftest.c
configure:3901: $? = 0
configure:3920: result: yes
configure:3956: checking for limits.h
configure:3963: result: yes
configure:3839: checking for stdlib.h
configure:3844: result: yes
configure:3839: checking for string.h
configure:3844: result: yes
configure:3848: checking sys/file.h usability
configure:3861: gcc -c -g -O2  conftest.c >&5
configure:3864: $? = 0
configure:3867: test -s conftest.o
configure:3870: $? = 0
configure:3880: result: yes
configure:3884: checking sys/file.h presence
configure:3895: gcc -E  conftest.c
configure:3901: $? = 0
configure:3920: result: yes
configure:3956: checking for sys/file.h
configure:3963: result: yes
configure:3848: checking termio.h usability
configure:3861: gcc -c -g -O2  conftest.c >&5
configure:3864: $? = 0
configure:3867: test -s conftest.o
configure:3870: $? = 0
configure:3880: result: yes
configure:3884: checking termio.h presence
configure:3895: gcc -E  conftest.c
configure:3901: $? = 0
configure:3920: result: yes
configure:3956: checking for termio.h
configure:3963: result: yes
configure:3839: checking for unistd.h
configure:3844: result: yes
configure:3979: checking for an ANSI C-conforming const
configure:4047: gcc -c -g -O2  conftest.c >&5
configure:4050: $? = 0
configure:4053: test -s conftest.o
configure:4056: $? = 0
configure:4067: result: yes
configure:4077: checking whether struct tm is in sys/time.h or time.h
configure:4101: gcc -c -g -O2  conftest.c >&5
configure:4104: $? = 0
configure:4107: test -s conftest.o
configure:4110: $? = 0
configure:4121: result: time.h
configure:4138: checking for stdlib.h
configure:4143: result: yes
configure:4275: checking for GNU libc compatible malloc
configure:4305: gcc -o conftest -g -O2   conftest.c  >&5
configure:4308: $? = 0
configure:4310: ./conftest
configure:4313: $? = 0
configure:4327: result: yes
configure:4350: checking whether time.h and sys/time.h may both be included
configure:4376: gcc -c -g -O2  conftest.c >&5
configure:4379: $? = 0
configure:4382: test -s conftest.o
configure:4385: $? = 0
configure:4396: result: yes
configure:4421: checking sys/time.h usability
configure:4434: gcc -c -g -O2  conftest.c >&5
configure:4437: $? = 0
configure:4440: test -s conftest.o
configure:4443: $? = 0
configure:4453: result: yes
configure:4457: checking sys/time.h presence
configure:4468: gcc -E  conftest.c
configure:4474: $? = 0
configure:4493: result: yes
configure:4529: checking for sys/time.h
configure:4536: result: yes
configure:4412: checking for unistd.h
configure:4417: result: yes
configure:4553: checking for alarm
configure:4603: gcc -o conftest -g -O2   conftest.c  >&5
configure:4606: $? = 0
configure:4609: test -s conftest
configure:4612: $? = 0
configure:4623: result: yes
configure:4633: checking for working mktime
configure:4795: gcc -o conftest -g -O2   conftest.c  >&5
configure:4798: $? = 0
configure:4800: ./conftest
configure:4803: $? = 0
configure:4817: result: yes
configure:4823: checking return type of signal handlers
configure:4855: gcc -c -g -O2  conftest.c >&5
configure:4858: $? = 0
configure:4861: test -s conftest.o
configure:4864: $? = 0
configure:4875: result: void
configure:4883: checking whether lstat dereferences a symlink specified with a trailing slash
configure:4915: gcc -o conftest -g -O2   conftest.c  >&5
configure:4918: $? = 0
configure:4920: ./conftest
configure:4923: $? = 0
configure:4944: result: yes
configure:4958: checking whether stat accepts an empty string
configure:4984: gcc -o conftest -g -O2   conftest.c  >&5
configure:4987: $? = 0
configure:4989: ./conftest
configure:4992: $? = 1
configure: program exited with status 1
configure: failed program was:
| #line 4966 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "lidstools"
| #define PACKAGE_TARNAME "lidstools"
| #define PACKAGE_VERSION "2.2.3"
| #define PACKAGE_STRING "lidstools 2.2.3"
| #define PACKAGE_BUGREPORT "xie@lids.org"
| #define PACKAGE "lidstools"
| #define VERSION "2.2.3"
| #define KERNEL_VERSION ""
| #define HAVE__USR_SRC_LINUX_2_6_6_INCLUDE_LINUX_KERNEL_H 1
| #define HAVE__USR_SRC_LINUX_2_6_6_KERNEL_FORK_C 1
| #define HAVE__USR_SRC_LINUX_2_6_6_INCLUDE_LINUX_VERSION_H 1
| #define HAVE__USR_SRC_LINUX_2_6_6_INCLUDE_ASM_PTRACE_H 1
| #define HAVE__USR_SRC_LINUX_2_6_6_SECURITY_LIDS_LIDS_LSM_C 1
| #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_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_TERMIO_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ALARM 1
| #define RETSIGTYPE void
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 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
| int
| main ()
| {
| struct stat sbuf;
|   exit (stat ("", &sbuf) ? 1 : 0);
|   ;
|   return 0;
| }
configure:5006: result: no
configure:5023: checking for memset
configure:5073: gcc -o conftest -g -O2   conftest.c  >&5
configure:5085: warning: conflicting types for built-in function `memset'
configure:5076: $? = 0
configure:5079: test -s conftest
configure:5082: $? = 0
configure:5093: result: yes
configure:5023: checking for realpath
configure:5073: gcc -o conftest -g -O2   conftest.c  >&5
configure:5076: $? = 0
configure:5079: test -s conftest
configure:5082: $? = 0
configure:5093: result: yes
configure:5023: checking for strchr
configure:5073: gcc -o conftest -g -O2   conftest.c  >&5
configure:5087: warning: conflicting types for built-in function `strchr'
configure:5076: $? = 0
configure:5079: test -s conftest
configure:5082: $? = 0
configure:5093: result: yes
configure:5111: checking for /etc/lids/lids.conf
configure:5126: result: no
configure:5134: checking for /etc/lids/lids.boot.conf
configure:5149: result: no
configure:5157: checking for /etc/lids/lids.postboot.conf
configure:5172: result: no
configure:5180: checking for /etc/lids/lids.shutdown.conf
configure:5195: result: no
configure:5203: checking for /etc/lids/lids.cap
configure:5218: result: no
configure:5226: checking for /etc/lids/lids.boot.cap
configure:5241: result: no
configure:5249: checking for /etc/lids/lids.postboot.cap
configure:5264: result: no
configure:5272: checking for /etc/lids/lids.shutdown.cap
configure:5287: result: no
configure:5295: checking for /etc/lids/lids.ini
configure:5310: result: no
configure:5318: checking for /etc/lids/lids.pw
configure:5333: result: no
configure:5446: creating ./config.status

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

This file was extended by lidstools config.status 2.2.3, which was
generated by GNU Autoconf 2.57.  Invocation command line was

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

on zhao

config.status:654: creating Makefile
config.status:654: creating src/Makefile
config.status:758: creating config.h
config.status:1035: executing depfiles commands

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

ac_cv_c_compiler_gnu=yes
ac_cv_c_const=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_KERNEL_DIR_set=set
ac_cv_env_KERNEL_DIR_value=/usr/src/linux-2.6.6
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_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_exeext=
ac_cv_file__etc_lids_lids_boot_cap=no
ac_cv_file__etc_lids_lids_boot_conf=no
ac_cv_file__etc_lids_lids_cap=no
ac_cv_file__etc_lids_lids_conf=no
ac_cv_file__etc_lids_lids_ini=no
ac_cv_file__etc_lids_lids_postboot_cap=no
ac_cv_file__etc_lids_lids_postboot_conf=no
ac_cv_file__etc_lids_lids_pw=no
ac_cv_file__etc_lids_lids_shutdown_cap=no
ac_cv_file__etc_lids_lids_shutdown_conf=no
ac_cv_file__usr_src_linux_2_6_6_include_asm_ptrace_h=yes
ac_cv_file__usr_src_linux_2_6_6_include_linux_kernel_h=yes
ac_cv_file__usr_src_linux_2_6_6_include_linux_version_h=yes
ac_cv_file__usr_src_linux_2_6_6_kernel_fork_c=yes
ac_cv_file__usr_src_linux_2_6_6_security_lids_lids_lsm_c=yes
ac_cv_func_alarm=yes
ac_cv_func_lstat_dereferences_slashed_symlink=yes
ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_memset=yes
ac_cv_func_realpath=yes
ac_cv_func_stat_empty_string_bug=no
ac_cv_func_strchr=yes
ac_cv_func_working_mktime=yes
ac_cv_header_fcntl_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_limits_h=yes
ac_cv_header_memory_h=yes
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_file_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_sys_types_h_makedev=yes
ac_cv_header_termio_h=yes
ac_cv_header_time=yes
ac_cv_header_unistd_h=yes
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_egrep='grep -E'
ac_cv_prog_make_make_set=yes
ac_cv_struct_tm=time.h
ac_cv_type_signal=void
am_cv_CC_dependencies_compiler_type=gcc3

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

ACLOCAL='${SHELL} /usr/src/lids-2.2.0pre4-2.6.6/lidstools-2.2.3/missing --run aclocal-1.6'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /usr/src/lids-2.2.0pre4-2.6.6/lidstools-2.2.3/missing --run tar'
AUTOCONF='${SHELL} /usr/src/lids-2.2.0pre4-2.6.6/lidstools-2.2.3/missing --run autoconf'
AUTOHEADER='${SHELL} /usr/src/lids-2.2.0pre4-2.6.6/lidstools-2.2.3/missing --run autoheader'
AUTOMAKE='${SHELL} /usr/src/lids-2.2.0pre4-2.6.6/lidstools-2.2.3/missing --run automake-1.6'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFG_FILES=' example/lids.conf example/lids.boot.conf example/lids.postboot.conf example/lids.shutdown.conf example/lids.cap example/lids.boot.cap example/lids.postboot.cap example/lids.shutdown.cap example/lids.ini example/lids.pw'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS=''
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
KERNEL_DIR='/usr/src/linux-2.6.6'
KERNEL_INC='/usr/src/linux-2.6.6/include'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /usr/src/lids-2.2.0pre4-2.6.6/lidstools-2.2.3/missing --run makeinfo'
OBJEXT='o'
PACKAGE='lidstools'
PACKAGE_BUGREPORT='xie@lids.org'
PACKAGE_NAME='lidstools'
PACKAGE_STRING='lidstools 2.2.3'
PACKAGE_TARNAME='lidstools'
PACKAGE_VERSION='2.2.3'
PATH_SEPARATOR=':'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
UPD_INODES='1'
UPD_PASSWD='1'
VERSION='2.2.3'
ac_ct_CC='gcc'
ac_ct_STRIP=''
am__include='include'
am__quote=''
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='${prefix}'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/usr/src/lids-2.2.0pre4-2.6.6/lidstools-2.2.3/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='/usr/local'
program_transform_name='s,x,x,'
sbindir='/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

#define HAVE_ALARM 1
#define HAVE_FCNTL_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_LIMITS_H 1
#define HAVE_MALLOC 1
#define HAVE_MEMORY_H 1
#define HAVE_MEMSET 1
#define HAVE_REALPATH 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRCHR 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_TERMIO_H 1
#define HAVE_UNISTD_H 1
#define HAVE_UNISTD_H 1
#define HAVE_UNISTD_H 1
#define HAVE__USR_SRC_LINUX_2_6_6_INCLUDE_ASM_PTRACE_H 1
#define HAVE__USR_SRC_LINUX_2_6_6_INCLUDE_LINUX_KERNEL_H 1
#define HAVE__USR_SRC_LINUX_2_6_6_INCLUDE_LINUX_VERSION_H 1
#define HAVE__USR_SRC_LINUX_2_6_6_KERNEL_FORK_C 1
#define HAVE__USR_SRC_LINUX_2_6_6_SECURITY_LIDS_LIDS_LSM_C 1
#define KERNEL_VERSION ""
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
#define PACKAGE "lidstools"
#define PACKAGE_BUGREPORT "xie@lids.org"
#define PACKAGE_NAME "lidstools"
#define PACKAGE_STRING "lidstools 2.2.3"
#define PACKAGE_TARNAME "lidstools"
#define PACKAGE_VERSION "2.2.3"
#define RETSIGTYPE void
#define STDC_HEADERS 1
#define TIME_WITH_SYS_TIME 1
#define VERSION "2.2.3"

configure: exit 0



=========================================================
下面是make时发生的错误:
=========================================================

root@zhao lidstools-2.2.3]# make
make  all-recursive
make[1]: Entering directory `/usr/src/lids-2.2.0pre4-2.6.6/lidstools-2.2.3'
Making all in src
make[2]: Entering directory `/usr/src/lids-2.2.0pre4-2.6.6/lidstools-2.2.3/src'
source='lidsadm.c' object='lidsadm.o' libtool=no \
depfile='.deps/lidsadm.Po' tmpdepfile='.deps/lidsadm.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/src/linux-2.6.6/include -DCONFIG_LIDS -c `test -f 'lidsadm.c' || echo './'`lidsadm.c
source='read_pw.c' object='read_pw.o' libtool=no \
depfile='.deps/read_pw.Po' tmpdepfile='.deps/read_pw.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/src/linux-2.6.6/include -DCONFIG_LIDS -c `test -f 'read_pw.c' || echo './'`read_pw.c
source='sha256.c' object='sha256.o' libtool=no \
depfile='.deps/sha256.Po' tmpdepfile='.deps/sha256.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/src/linux-2.6.6/include -DCONFIG_LIDS -c `test -f 'sha256.c' || echo './'`sha256.c
source='time.c' object='time.o' libtool=no \
depfile='.deps/time.Po' tmpdepfile='.deps/time.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/src/linux-2.6.6/include -DCONFIG_LIDS -c `test -f 'time.c' || echo './'`time.c
source='lids_capflag.c' object='lids_capflag.o' libtool=no \
depfile='.deps/lids_capflag.Po' tmpdepfile='.deps/lids_capflag.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/src/linux-2.6.6/include -DCONFIG_LIDS -c `test -f 'lids_capflag.c' || echo './'`lids_capflag.c
gcc  -I/usr/src/linux-2.6.6/include -DCONFIG_LIDS   -o lidsadm -static lidsadm.o read_pw.o sha256.o time.o lids_capflag.o
source='lidsconf.c' object='lidsconf.o' libtool=no \
depfile='.deps/lidsconf.Po' tmpdepfile='.deps/lidsconf.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/src/linux-2.6.6/include -DCONFIG_LIDS -c `test -f 'lidsconf.c' || echo './'`lidsconf.c
gcc  -I/usr/src/linux-2.6.6/include -DCONFIG_LIDS   -o lidsconf  lidsconf.o read_pw.o sha256.o time.o lids_capflag.o
make[2]: Leaving directory `/usr/src/lids-2.2.0pre4-2.6.6/lidstools-2.2.3/src'
make[2]: Entering directory `/usr/src/lids-2.2.0pre4-2.6.6/lidstools-2.2.3'
make[2]: *** No rule to make target `example/lids.conf', needed by `all-am'.  Stop.
make[2]: Leaving directory `/usr/src/lids-2.2.0pre4-2.6.6/lidstools-2.2.3'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/lids-2.2.0pre4-2.6.6/lidstools-2.2.3'
make: *** [all] Error 2
 楼主| 发表于 2004-5-31 12:13:47 | 显示全部楼层
自己帮自己顶,由于我的疑问,官方的包已经更正,可以编译了,原来官方发布时缺少4文件,真是晕倒,在官方论坛上,版主向我们几个说了声谢谢呢。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表