Re: [Vserver] vserver patch breaks fritzcapi on amd64 / 2.6.17

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Mon 02 Oct 2006 - 15:23:33 BST
Message-ID: <20061002142333.GC4037@MAIL.13thfloor.at>

On Sun, Oct 01, 2006 at 11:00:01AM +0200, Oliver Welter wrote:
> Hi Folks,
>
> bougth an AMD 64 X2 and ran into a problem. When I want to build the
> fritzcapi module (AVM Fritzcard driver) I get an error (see below).
>
> System is a gentoo with 2.6.17 kernel patchset.
>
> Any ideas

yes, we use the tag_t for context tagging, but obviously
the external capi module/stuff, uses that too, so probably
the simplest way (as I doubt that the capi module needs
the context tagging for files :) to get around that is to
remove that type from include/linux/types.h temporarily

of course, that's a hack and changing all the tag_t-s
in the capi source would be a better approach ...

HTH,
Herbert

> Oliver
>
> make[1]: Entering directory `/usr/src/linux-2.6.17-vserver-2.1.1-rc31'
> CC [M]
> /var/tmp/portage/fritzcapi-2.6.43/work/usr/src/kernel-modules/fritzcapi/fritz.pci/src/main.o
> CC [M]
> /var/tmp/portage/fritzcapi-2.6.43/work/usr/src/kernel-modules/fritzcapi/fritz.pci/src/driver.o
> In file included from
> /var/tmp/portage/fritzcapi-2.6.43/work/usr/src/kernel-modules/fritzcapi/fritz.pci/src/tables.h:31,
> from
> /var/tmp/portage/fritzcapi-2.6.43/work/usr/src/kernel-modules/fritzcapi/fritz.pci/src/driver.c:45:
> /var/tmp/portage/fritzcapi-2.6.43/work/usr/src/kernel-modules/fritzcapi/fritz.pci/src/queue.h:32:
> error: conflicting types for 'tag_t'
> include/linux/types.h:43: error: previous declaration of 'tag_t' was here
> In file included from
> /var/tmp/portage/fritzcapi-2.6.43/work/usr/src/kernel-modules/fritzcapi/fritz.pci/src/tables.h:31,
> from
> /var/tmp/portage/fritzcapi-2.6.43/work/usr/src/kernel-modules/fritzcapi/fritz.pci/src/driver.h:31,
> from
> /var/tmp/portage/fritzcapi-2.6.43/work/usr/src/kernel-modules/fritzcapi/fritz.pci/src/main.c:45:
> /var/tmp/portage/fritzcapi-2.6.43/work/usr/src/kernel-modules/fritzcapi/fritz.pci/src/queue.h:32:
> error: conflicting types for 'tag_t'
> include/linux/types.h:43: error: previous declaration of 'tag_t' was here
> make[2]: ***
> [/var/tmp/portage/fritzcapi-2.6.43/work/usr/src/kernel-modules/fritzcapi/fritz.pci/src/main.o]
> Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: ***
> [/var/tmp/portage/fritzcapi-2.6.43/work/usr/src/kernel-modules/fritzcapi/fritz.pci/src/driver.o]
> Error 1
> make[1]: ***
> [_module_/var/tmp/portage/fritzcapi-2.6.43/work/usr/src/kernel-modules/fritzcapi/fritz.pci/src]
> Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.17-vserver-2.1.1-rc31'
> make: *** [fcpci.ko] Error 2
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Mon Oct 2 15:24:34 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 02 Oct 2006 - 15:24:39 BST by hypermail 2.1.8