LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-20-2007, 09:18 PM   #1
nisgar2k
LQ Newbie
 
Registered: Jan 2007
Posts: 6

Rep: Reputation: 0
Modpost Error when Emerging x11-drm


Hi,

Im getting errors building the DRM modules. The error appears to be happening due to missing files:

/bin/sh: scripts/mod/modpost: No such file or directory
make[2]: *** [___modpost] Error 127


The stack trace later on is:

!!! ERROR: x11-base/x11-drm-20060609 failed.
Call stack:
ebuild.sh line 1546: Called dyn_compile
ebuild.sh line 937: Called src_compile
x11-drm-20060609.ebuild, line 111: called die_error
x11-drm-20060609.ebuild, line 235: called die

The laptop has a SIS650 integrated graphics card if that is any help. Please help, I don't have a clue how to get around this. Fairly new to gentoo and linux in general, so good explained instructions would be appreciated so I understand what is going on (am always trying to learn more )

Cheers
Nick Ford
 
Old 01-20-2007, 09:24 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Does /lib/modules/`uname -r`/build/scripts/mod/modpost exist? Did you maybe "make clean" after building your kernel?
 
Old 01-20-2007, 09:46 PM   #3
nisgar2k
LQ Newbie
 
Registered: Jan 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Hi,

In /lib/modules/2.6.18-gentoo-r6/build/scripts/mod I have the following files

Makefile empty.c file2alias.c mk_elfconfig.c modpost.c modpost.h sumversion.c

Im a bit of a noob ... i used genkernel and i assume by default that does a 'make clean' doesn't it. It appears whatever modpost is it isn't built. What is modpost anyhow?

I tried running the make Makefile, but it tells me there is nothing to be done for it.

Any ideas?
 
Old 01-20-2007, 11:16 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
go to the top level build directory and try running "make modules", and then try the emerge again. If this fixes things, you may want to submit a bug to bugs.gentoo.org
 
Old 01-21-2007, 05:27 AM   #5
nisgar2k
LQ Newbie
 
Registered: Jan 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Question

Thanks that worked. Well it all compiled fine but i do have another couple of questions.

1. At the end it says Updating module dependencies for 2.6.18-gentoo-r6, after this it has a region with *s that are yellow (im guessing they mean a warning has been generated?) but this message states that:

"/lib/modules/2.6.18-gentoo-r6/build/System.map not found
You must manually update the kernel module dependencies using depmod"

Then it states its adding the module to moduledb with a green * next to it which im guessing means it was fine.

So my question is how do I update the kernel module dependencies, quite frankly that looks really scary to me, I dont even know which ones to update, how do i even tell?

2. At the end it states 6 config files need updating in /etc. It doesn't tell me which ones or what to update, so how do I find this sort of information out?

3. How did you identify that was the way to fix it, did you look at the physical make file or is it ebuild (im guessing they are similar things)?


Many thanks for the help
Nick Ford

Oh and you mentioned about logging a bug, where do i log it to?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error emerging x11-drm miha Linux - Laptop and Netbook 2 07-18-2006 01:56 AM
Trouble when emerging xorg-x11 on Gentoo subsequent Linux - General 3 07-17-2006 12:08 AM
emerge x11-drm every boot? catfishk Linux - Software 1 12-04-2005 12:54 AM
Gentoo 2005.1: error emerging xorg-x11 student04 Linux - Distributions 2 09-16-2005 07:43 PM
emerging kdebase error LuckyABA Linux - Newbie 4 01-21-2005 12:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration