plustek: compilieren mit Kernel 2.4.3


Previous by date: 2 Jan 2002 13:47:49 -0000 Re: compilieren mit Kernel 2.4.3, Gert Menke
Next by date: 2 Jan 2002 13:47:49 -0000 EPSON 1250, Jaeger, Gerhard
Previous in thread: 2 Jan 2002 13:47:49 -0000 Re: compilieren mit Kernel 2.4.3, Gert Menke
Next in thread:

Subject: Re: compilieren mit Kernel 2.4.3
From: "Jaeger, Gerhard" ####@####.####
Date: 2 Jan 2002 13:47:49 -0000
Message-Id: <16LliE-20OynoC@fmrl05.sul.t-online.com>

Newer kernel and glibc versions force the user to get the 
header files via the lib/modules path. If you use the old-style path
/usr/src/linux, the preprocessor complains about this -> see your mail.
The makefile of the module in general tries to find the path
/lib/modules/'uname -r'/build/include
If this exists, it'll be used, else the old style path will be used and then
you ran into trouble.
I suggest you check the path
/lib/modules/2.4.3/build/include

Hope this description helps
  Gerhard


On Monday, 31. December 2001 19:50, Andreas Strasser wrote:
> Hallo Gerhard,
>
> ich habe Probleme beim comilieren des plustek-module-0.40-14 Treibers
> Ich benutze:
> - Mandrake Linux 8
> - Kernel 2.4.3
> - Sane 1.04
> - gcc 2.96
>
> Beim compilieren erhalte ich diese Fehlermeldung:
>
> [Andreas@localhost plustek_driver]$ make all
> gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0
> -D_PTDRV_V0=40 -D_PTDRV_BUILD=15 -D__KERNEL__ -I/usr/src/linux/include
> -I./h -I./.. -O2 -DMODULE -DMODVERSIONS -include
> /usr/src/linux/include/linux/modversions.h -c src/dac.c -o obj/dac.o In
> file included from src/dac.c:1:
> /usr/src/linux/include/linux/modversions.h:1:2: #error Modules should never
> use kernel-headers system headers,
> /usr/src/linux/include/linux/modversions.h:2:2: #error but headers from an
> appropriate kernel-source In file included from h/plustek_scan.h:166,
>                  from src/dac.c:48:
> h/plustek_types.h:188:8: warning: extra tokens at end of #endif directive
> make: *** [obj/dac.o] Fehler 1
> [Andreas@localhost plustek_driver]$
>
> Auf meinem alten Computer mit Kernel 2.2.14 hat es problemlos geklappt.
> Ich habe es schon mit älteren Treiberversionen probiert, was aber nichts
> änderte. Weisst Du eine Lösung? Vielen Dank im voraus.
>
> Andreas Strasser

Previous by date: 2 Jan 2002 13:47:49 -0000 Re: compilieren mit Kernel 2.4.3, Gert Menke
Next by date: 2 Jan 2002 13:47:49 -0000 EPSON 1250, Jaeger, Gerhard
Previous in thread: 2 Jan 2002 13:47:49 -0000 Re: compilieren mit Kernel 2.4.3, Gert Menke
Next in thread:


Powered by ezmlm-browse 0.20.