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

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


--C7zPtVaVf+AK4Oqc
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 2.6.16.29-xenU kernel.

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

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-2.6.16.29-xenU-MP/osi=
_sysctl.o
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.16.29-xenU-MP/osi_sysctl.c:=
32: error: 'CTL_UNNUMBERED' undeclared here (not in a function)
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.16.29-xenU-MP/osi_sysctl.c:=
108: error: initializer element is not constant
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.16.29-xenU-MP/osi_sysctl.c:=
108: error: (near initialization for 'fs_sysctl_table[0].ctl_name')
make[7]: *** [/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.16.29-xenU-MP=
/osi_sysctl.o] Error 1
 =20
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.
  --waldo



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


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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFI+RXxHDmo5jqnP4QRArEmAJ9Y3t+6Y7JKKLvjHePyje3oHm8URQCcD74y
A2OfuF7RhqbjeWV3JGvMdqE=
=7MD2
-----END PGP SIGNATURE-----

--C7zPtVaVf+AK4Oqc--