On Mon, Apr 18, 2005 at 05:12:23PM +0200, Marcus Better wrote:
> Package: zaptel-source
> Version: 1:1.0.7-3
> Severity: serious
>
> Building the module with make-kpkg gives the following error:
>
> $ make-kpkg --append-to-version=-thales --revision=11 --added-modules=zaptel
> modules_image
> <...lots of lines deleted...>
> make -C /fs/src/kernel/kernel-source-2.6.11
> SUBDIRS="/fs/src/kernel/modules/zaptel/zaphfc" modules
> make[4]: Entering directory `/fs/src/kernel/kernel-source-2.6.11'
> CC [M] /fs/src/kernel/modules/zaptel/zaphfc/zaphfc.o
> /fs/src/kernel/modules/zaptel/zaphfc/zaphfc.c:27:20: zaptel.h: Filen eller
> katalogen finns inte
> In file included from /fs/src/kernel/modules/zaptel/zaphfc/zaphfc.c:28:
> /fs/src/kernel/modules/zaptel/zaphfc/zaphfc.h:274: error: `ZT_CHUNKSIZE'
> undeclared here (not in a function)
> <...lots of lines deleted...>
>
> The error message meaning, of course, that zaptel.h is not found. Note
> that the files in the main source directory compile correctly, and the
> compilation fails after it enters the zaphfc subdirectory.
IIRC I have reported this issue. Anyway:
linux26-modules: prereq
make -C $(KSRC) SUBDIRS=$(PWD) modules
ZAPTELDIR=$(PWD) make -C $(KSRC) SUBDIRS="$(PWD)/zaphfc" modules
ZAPTELDIR=$(PWD) make -C $(KSRC) SUBDIRS="$(PWD)/qozap " modules
This passes ZAPTELDIR through the environment, which is good enough to make it
through the kernel build system.
--
Tzafrir Cohen icq#16849755 +972-50-7952406
[EMAIL PROTECTED] http://www.xorcom.com
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]