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

David Howells dhowells@redhat.com
Thu, 11 Sep 2003 11:22:43 +0100


>  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.

I see what you mean... I can build a module with correct symbols, but it gets
installed in the wrong place. However, I'm prodding the SPEC file around some
more at the moment, so I'll see what I can do.

David