[Comm] Re: zyxel PCI, проблема с драйвером

Krasavin Andrey =?iso-8859-1?q?akras_=CE=C1_kominet=2Eru?=
Пн Июн 9 21:52:00 MSD 2003


On 20:37 Sun 08 Jun     , Konstantin Lepikhov wrote:

> По видимому, он не видит kernel-headers на обычном месте (для rh - это
> /usr/src/linux/include), попробуйте ему указать, что их надо искать в
> /usr/lib/kernel/include, а еще лучше пришлите configure.log

Высылаю config.log в аттаче. Вроде уже указал и точное
расположение, а все равно не работает :-(. На всякий случай еще
высылаю патч, который накладывал, может в нем что надо поправить?

С уважением, Красавин А.
----------- следующая часть -----------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.53.  Invocation command line was

  $ ./configure --with-hal=pct789 --with-kernel-includes=/usr/lib/kernel/2.4.20-alt7/include/

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

hostname = krasavin.pochta.lin
uname -m = i586
uname -r = 2.4.20-alt7-up
uname -s = Linux
uname -v = #1 Fri Mar 14 14:57:05 MSK 2003

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

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

PATH: /home/andrew/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
PATH: /usr/games


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

configure:1253: checking for a BSD-compatible install
configure:1307: result: /bin/install -c
configure:1318: checking whether build environment is sane
configure:1361: result: yes
configure:1394: checking for gawk
configure:1410: found /bin/gawk
configure:1420: result: gawk
configure:1430: checking whether make sets ${MAKE}
configure:1450: result: yes
configure:1618: checking build driver for
configure:1655: result: HAL_PCT789
configure:1768: checking for gcc
configure:1784: found /usr/bin/gcc
configure:1794: result: gcc
configure:2038: checking for C compiler version
configure:2041: gcc --version </dev/null >&5
i586-alt-linux-gcc (GCC) 3.2.1 (ALT Linux, build 3.2.1-alt2)
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:2044: $? = 0
configure:2046: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i586-alt-linux/3.2.1/specs
Configured with: ../configure --prefix=/usr --libdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --enable-long-long --enable-__cxa_atexit --enable-languages=c,c++,f77,objc,java --program-suffix=-3.2 --enable-objc-gc --with-system-zlib --without-included-gettext --host=i586-alt-linux --build=i586-alt-linux --target=i586-alt-linux
Thread model: posix
gcc version 3.2.1 (ALT Linux, build 3.2.1-alt2)
configure:2049: $? = 0
configure:2051: gcc -V </dev/null >&5
i586-alt-linux-gcc: argument to `-V' is missing
configure:2054: $? = 1
configure:2080: checking for C compiler default output
configure:2083: gcc    conftest.c  >&5
configure:2086: $? = 0
configure:2119: result: a.out
configure:2124: checking whether the C compiler works
configure:2130: ./a.out
configure:2133: $? = 0
configure:2148: result: yes
configure:2155: checking whether we are cross compiling
configure:2157: result: no
configure:2160: checking for suffix of executables
configure:2162: gcc -o conftest    conftest.c  >&5
configure:2165: $? = 0
configure:2187: result: 
configure:2193: checking for suffix of object files
configure:2217: gcc -c   conftest.c >&5
configure:2220: $? = 0
configure:2239: result: o
configure:2243: checking whether we are using the GNU C compiler
configure:2270: gcc -c   conftest.c >&5
configure:2273: $? = 0
configure:2276: test -s conftest.o
configure:2279: $? = 0
configure:2291: result: yes
configure:2297: checking whether gcc accepts -g
configure:2321: gcc -c -g  conftest.c >&5
configure:2324: $? = 0
configure:2327: test -s conftest.o
configure:2330: $? = 0
configure:2340: result: yes
configure:2367: gcc -c -g -O2  conftest.c >&5
conftest.c:2: parse error before "me"
configure:2370: $? = 1
configure: failed program was:
#ifndef __cplusplus
  choke me
#endif
configure:2499: checking for style of include used by make
configure:2527: result: GNU
configure:2555: checking dependency style of gcc
configure:2617: result: none
configure:2622: checking whether make sets ${MAKE}
configure:2642: result: yes
configure:2663: checking for a BSD-compatible install
configure:2717: result: /bin/install -c
configure:2728: checking whether ln -s works
configure:2732: result: yes
configure:2743: checking for gawk
configure:2769: result: gawk
configure:2787: checking how to run the C preprocessor
configure:2813: gcc -E  conftest.c
configure:2819: $? = 0
configure:2846: gcc -E  conftest.c
configure:2842:28: ac_nonexistent.h: No such file or directory
configure:2852: $? = 1
configure: failed program was:
#line 2841 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:2889: result: gcc -E
configure:2904: gcc -E  conftest.c
configure:2910: $? = 0
configure:2937: gcc -E  conftest.c
configure:2933:28: ac_nonexistent.h: No such file or directory
configure:2943: $? = 1
configure: failed program was:
#line 2932 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:2983: checking for ANSI C header files
configure:2997: gcc -E  conftest.c
configure:3003: $? = 0
configure:3088: gcc -o conftest -g -O2   conftest.c  >&5
configure:3091: $? = 0
configure:3093: ./conftest
configure:3096: $? = 0
configure:3110: result: yes
configure:3134: checking for sys/types.h
configure:3147: gcc -c -g -O2  conftest.c >&5
configure:3150: $? = 0
configure:3153: test -s conftest.o
configure:3156: $? = 0
configure:3166: result: yes
configure:3134: checking for sys/stat.h
configure:3147: gcc -c -g -O2  conftest.c >&5
configure:3150: $? = 0
configure:3153: test -s conftest.o
configure:3156: $? = 0
configure:3166: result: yes
configure:3134: checking for stdlib.h
configure:3147: gcc -c -g -O2  conftest.c >&5
configure:3150: $? = 0
configure:3153: test -s conftest.o
configure:3156: $? = 0
configure:3166: result: yes
configure:3134: checking for string.h
configure:3147: gcc -c -g -O2  conftest.c >&5
configure:3150: $? = 0
configure:3153: test -s conftest.o
configure:3156: $? = 0
configure:3166: result: yes
configure:3134: checking for memory.h
configure:3147: gcc -c -g -O2  conftest.c >&5
configure:3150: $? = 0
configure:3153: test -s conftest.o
configure:3156: $? = 0
configure:3166: result: yes
configure:3134: checking for strings.h
configure:3147: gcc -c -g -O2  conftest.c >&5
configure:3150: $? = 0
configure:3153: test -s conftest.o
configure:3156: $? = 0
configure:3166: result: yes
configure:3134: checking for inttypes.h
configure:3147: gcc -c -g -O2  conftest.c >&5
configure:3150: $? = 0
configure:3153: test -s conftest.o
configure:3156: $? = 0
configure:3166: result: yes
configure:3134: checking for stdint.h
configure:3147: gcc -c -g -O2  conftest.c >&5
configure:3150: $? = 0
configure:3153: test -s conftest.o
configure:3156: $? = 0
configure:3166: result: yes
configure:3134: checking for unistd.h
configure:3147: gcc -c -g -O2  conftest.c >&5
configure:3150: $? = 0
configure:3153: test -s conftest.o
configure:3156: $? = 0
configure:3166: result: yes
configure:3201: checking /usr/lib/kernel/2.4.20-alt7/include//linux/modversions.h usability
configure:3210: gcc -c -g -O2 -g -O2 -I/usr/lib/kernel/2.4.20-alt7/include/ conftest.c >&5
In file included from /usr/lib/kernel/2.4.20-alt7-up/modversions.h:142,
                 from /var/run/kernel/modversions.h:8,
                 from /usr/lib/kernel/2.4.20-alt7/include/linux/modversions.h:1,
                 from configure:3238:
/usr/lib/kernel/2.4.20-alt7-up/modules/i386_ksyms.ver:56:1: warning: "strpbrk" redefined
In file included from /usr/include/string.h:376,
                 from configure:3223:
/usr/include/bits/string2.h:1015:1: warning: this is the location of the previous definition
In file included from /usr/lib/kernel/2.4.20-alt7-up/modversions.h:174,
                 from /var/run/kernel/modversions.h:8,
                 from /usr/lib/kernel/2.4.20-alt7/include/linux/modversions.h:1,
                 from configure:3238:
/usr/lib/kernel/2.4.20-alt7-up/modules/ksyms.ver:810:1: warning: "strspn" redefined
In file included from /usr/include/string.h:376,
                 from configure:3223:
/usr/include/bits/string2.h:958:1: warning: this is the location of the previous definition
In file included from /usr/lib/kernel/2.4.20-alt7-up/modversions.h:174,
                 from /var/run/kernel/modversions.h:8,
                 from /usr/lib/kernel/2.4.20-alt7/include/linux/modversions.h:1,
                 from configure:3238:
/usr/lib/kernel/2.4.20-alt7-up/modules/ksyms.ver:812:1: warning: "strsep" redefined
In file included from /usr/include/string.h:376,
                 from configure:3223:
/usr/include/bits/string2.h:1198:1: warning: this is the location of the previous definition
configure:3213: $? = 0
configure:3216: test -s conftest.o
configure:3219: $? = 0
configure:3228: result: yes
configure:3232: checking /usr/lib/kernel/2.4.20-alt7/include//linux/modversions.h presence
configure:3239: gcc -E -g -O2 -I/usr/lib/kernel/2.4.20-alt7/include/ conftest.c
configure:3245: $? = 0
configure:3263: result: yes
configure:3281: checking for /usr/lib/kernel/2.4.20-alt7/include//linux/modversions.h
configure:3288: result: yes
configure:3332: checking for Linux kernel version >= 2.4.0
configure:3577: result: no
configure:3579: error: You should have linux kernel >= 2.4.0 installed

## ---------------- ##
## 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_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_header__usr_lib_kernel_2_4_20_alt7_include__linux_modversions_h=yes
ac_cv_header_inttypes_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_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_objext=o
ac_cv_path_install='/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_make_make_set=yes
am_cv_CC_dependencies_compiler_type=none

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

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE "pctel"
#define VERSION "0.9.5"
#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

configure: exit 1
----------- следующая часть -----------
--- configure.old	Fri May 31 20:25:09 2002
+++ configure	Fri May 31 20:25:26 2002
@@ -1418,6 +1418,7 @@
 
   
 
+  KERNEL_VERSION=`echo $KERNEL_VERSION | awk '{ print $1 }'`
   min_kernel_version=2.4.0
 
   echo $ac_n "checking for Linux kernel version >= $min_kernel_version""... $ac_c" 1>&6


Подробная информация о списке рассылки community