[OpenAFS-devel] Building cvs head on Linux 2.6

Asheesh Laroia openafs@asheeshenterprises.com
Tue, 1 Jun 2004 11:47:02 -0400 (EDT)


On Sun, 30 May 2004, Asheesh Laroia wrote:

> I am trying to build for Linux 2.6.6 still and still getting this error after 
> it all ends:

Additional information:

> napoleon:/usr/src/openafs# insmod /usr/local/lib/openafs/libafs-2.6.6-1.o

libafs_2_6_6_1: version magic '2.6.6-1 preempt PENTIUM4 gcc-3.3' should be '2.6.6-1-686 preempt 686 gcc-3.3'

This shows up in dmesg.  Perhaps you hard-coded something for PENTIUM4? 
My architecture is 686, as you can see. :)

Anyway, I fixed the .h file where MPENTIUM4 is #defined and replaced it 
with M686, and now I get

libafs_2_6_6_1: Unknown symbol __might_sleep
insmod: error inserting 'libafs-2.6.6-1.o': -1 Unknown symbol in module

> insmod: error inserting '/usr/local/lib/openafs/libafs-2.6.6-1.o': -1 Invalid 
> module format

I'll try using the patch in that ticket and report back my findings.

-- Asheesh.

-- 
A synonym is a word you use when you can't spell the word you first
thought of.
 		-- Burt Bacharach