[OpenAFS] Trouble compiling 1.4rc4 SRPM
Derek Atkins
warlord@MIT.EDU
Thu, 22 Sep 2005 17:47:14 -0400
Lester Barrows <barrows@email.arc.nasa.gov> writes:
> Note that I edited the spec file, but that was just a few sed lines that
> modify res_search in a few files and my attempt to disable krb5 to see if the
> issue would go away. I can send it to you directly if you want to see what
> mess I may have made of it. The command I used to build from the spec file
> follows, along with the lines from the build process:
I doubt that would have any effect.. Although you /could/ have run
rpmbuild --without krb5
> rpmbuild -ba openafs.spec
>
> + : @@@
> + : @@@ kernel version: 2.4.21-32.EL
> + : @@@ kernel modules dir: /lib/modules/2.4.21-32.EL
> + : @@@ kernel source dir: /lib/modules/2.4.21-32.EL/build
> + : @@@ kernel variations: up smp
> + : @@@ PAM modules dir: /lib64/security
> + : @@@ build userspace: 1
> + : @@@ build modules: 1
> + : @@@ arch: x86_64
> + : @@@ target cpu: x86_64
> + : @@@
>
> It all looks ok, but when the modules are built it ends up adding
> the extra numbers to the library name. I haven't had much time to
> find where it's added just yet, it may well be something I'm doing
> wrong.
Yep, this looks right.. So, the question is, what do you see in:
/lib/modules/2.4.21-32.EL/build/include/linux/version.h
In particular, what do you see as UTS_RELEASE? I suspect that's where
the extra ".0.1" is coming from. But check that just to be sure. If
UTS_RELEASE does not say "2.4.21-32.EL" then that's your problem.
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@MIT.EDU PGP key available