FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 07-04-2008, 07:59 PM
"Joseph L. Casale"
 
Default OT: General Help in chroot build environment

I am trying to compile a module for a Realtek 8168 for thinstation.
I have pulled the developer tarball and executed the script to enter its build environment.
I also have the source for the module I want to compile, but when I execute #make clean modules
it errors out. Reading the errors, I can see it tried to look for the kernel source of the systems actual
running kernel. From within the chroot build environment, I run a #uname -r and see it displays exactly
that, and not the build environments expected 2.6.21.1 that it has in the /source/kernel-2.6.21.1/linux-2.6.21.1
dir. I have ran an #export KERNELSRC=/source/kernel-2.6.21.1/linux-2.6.21.1

Any ideas on what's left to convince make it is running with the expected kernel and not my actual one?

Thanks!
jlc
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-04-2008, 08:16 PM
"William L. Maltby"
 
Default OT: General Help in chroot build environment

On Fri, 2008-07-04 at 13:59 -0600, Joseph L. Casale wrote:
> <snip>

> running kernel. From within the chroot build environment, I run a #uname -r and see it displays exactly
> that, and not the build environments expected 2.6.21.1 that it has in the /source/kernel-2.6.21.1/linux-2.6.21.1
> dir. I have ran an #export KERNELSRC=/source/kernel-2.6.21.1/linux-2.6.21.1
>
> Any ideas on what's left to convince make it is running with the expected kernel and not my actual one?

I don't normally dink with this stuff anymore. But from watching the
lists, IIRC, you need a kernel development rpm to be installed. Use the
yum available stuff and if you see something promising, give it a shot.
Being a holiday here, I don't know how long until someone knowledgeable
will reply.

>
> Thanks!
> jlc
> <snip sig stuff>

HTH
--
Bill

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-04-2008, 09:58 PM
"Joseph L. Casale"
 
Default OT: General Help in chroot build environment

>I don't normally dink with this stuff anymore. But from watching the
>lists, IIRC, you need a kernel development rpm to be installed. Use the
>yum available stuff and if you see something promising, give it a shot.
>Being a holiday here, I don't know how long until someone knowledgeable
>will reply.

Actually,
Looking at the output from make, I just edited the expansion in the makefile's
and put what I wanted in there. It built w/o error, but the module isn't loading.

Back to the drawing board

jlc
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 01:09 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org