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

2006-10-02 Thread Herbert Poetzl
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


[Vserver] vserver patch breaks fritzcapi on amd64 / 2.6.17

2006-10-01 Thread Oliver Welter
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

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