Title: Re: [OpenAFS] cofiguring OpenAFS on Xen

HI Derek,

> Where did you get this RPM?

I built it i.e. rpmbuild --rebuild --target=i686 openafs-1.4.2-src.rpm


>How did it get there?  Did you put it there yourself or did it get
>there by an RPM?  What do you get from:

>rpm -qf /boot/config-2.6.16-xenU

I got it from the kernel i.e.
make all
make modules_install
make install

put that file there.

I ended up just doing a rpm --Uhv --nodeps openafs-kernel-1.4.2-2.6.16_xenU_1.i686.rpm

and it installed.  Now my issue is that I've got the wrong compiler.  the module won't load.

This is what I get when I do "dmesg"
openafs: version magic '2.6.16-xenU SMP 686 gcc-3.4' should be '2.6.16-xenU SMP 686 gcc-4.0'

So I'm now compiling it with gcc4
[EMAIL PROTECTED] ~]# gcc -dumpversion
4.0.0

I'm on Centos4, and I'm not sure how to make it so that gcc4 is used so I made a symbolic link
ln -s /usr/bin/gcc4 /usr/bin/gcc

will that work?

I just tried to recompile the kernel modules with gcc4 and got an error not sure what to do.

Pucky
-----Original Message-----
From: Derek Atkins [mailto:[EMAIL PROTECTED]]
Sent: Tue 10/31/2006 5:58 AM
To: Pucky Loucks
Cc: openafs-info@openafs.org
Subject: Re: [OpenAFS] cofiguring OpenAFS on Xen

Hi,

"Pucky Loucks" <[EMAIL PROTECTED]> writes:

> I'm in the public beta testing of the EC2 Service from Amazon and I've tried
> to get openafs installed on an instance, but I'm having issues.
>
> Here is my post on the EC2 Forum. http://developer.amazonwebservices.com/
> connect/thread.jspa?threadID=11858&tstart=0
>
> I've got the it's compiled and ready to install, but the following error is my
> issue now.
>
> [EMAIL PROTECTED] i386]# rpm -Uhv ../i686/
> openafs-kernel-1.4.2-2.6.16_xenU_1.i686.rpm

Where did you get this RPM?



> error: Failed dependencies:
> /boot/config-2.6.16-xenU is needed by openafs-kernel-1.4.2-2.6.16_xenU_1.i686
>
> Is there something in /boot/config-2.6.16-xenU that is misssing? The file is
> there...

How did it get there?  Did you put it there yourself or did it get
there by an RPM?  What do you get from:

  rpm -qf /boot/config-2.6.16-xenU

> Hope someone can help.
>
> Cheers,
> Pucky

-derek

Reply via email to