[OpenAFS] error: 'CTL_UNNUMBERED' undeclared here (not in a function)

david l goodrich dlg@dsrw.org
Fri, 17 Oct 2008 17:47:13 -0500

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

i'm trying to build the openafs module on an ubuntu 8.04 system
with a kernel.

root@fawkes:~# dpkg -l |awk '/openafs-modules/ {print $2,$3}'
openafs-modules-source 1.4.6.dfsg1-2
root@fawkes:~# uname -r

after some help from cclausen on irc, i'm reasonably confident
the build environment is sound, but m-a a-i openafs-modules fails=20
like debian Bug #458331:

  CC [M]  /usr/src/modules/openafs/src/libafs/MODLOAD-
32: error: 'CTL_UNNUMBERED' undeclared here (not in a function)
108: error: initializer element is not constant
108: error: (near initialization for 'fs_sysctl_table[0].ctl_name')
make[7]: *** [/usr/src/modules/openafs/src/libafs/MODLOAD-
/osi_sysctl.o] Error 1
but since i'm trying to use 1.4.6.dfsg1-2, the patches russ
recommends in the email exchange[1] are already in the module.

Any other thoughts as to why this may be happening?  Thanks.

1. http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg434942.=
html =20

Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

Version: GnuPG v1.4.6 (GNU/Linux)