[OpenAFS-devel] [PATCH] change OpenAFS-1.2.10 SRPM to work better with RedHat; try #4

Jan Iven jan.iven@cern.ch
Wed, 10 Sep 2003 19:21:07 +0200


>>>>> "Jan" == Jan Iven <jan.iven@cern.ch> writes:
..
 Jan> modules are built, but are apparently not versioned and fail
 Jan> dependency resolution ("depmod -a" on install fails, insmod as
 Jan> well):

For the record: This appears to be an artifact of not defining
_target_cpu (which then is set to i386, which apparently builds
nonversioned modules through mysterious symbols being defined in a
transient "redhat-fix.h").

Running with "rpmbuild -bb --define '_target_cpu i686' ..." produces
properly versioned modules.

Best regards
Jan