| Summary: | No rule to make target `missing-syscalls' | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | udayb <udayreddy> |
| Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 14 | CC: | bugzilla.redhat.com, gansalmon, itamar, jonathan, kernel-maint, lcpool, madhu.chinakonda |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-03-28 17:22:02 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
udayb
2011-03-25 11:15:23 UTC
I have the exact same problem. Im trying to compile a module for, lspci -v | grep audio 04:07.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10) which was supported under sl 5.5 but now is not supported. Is there any solution... oops btw, Im using SL. 6 You're trying to compile something that isn't a source tree (it's a headers tree from kernel-devel). Building a kernel requires that you install the srpm.
> You're trying to compile something that isn't a source tree (it's a headers
> tree from kernel-devel). Building a kernel requires that you install the srpm.
If it's no longer a source tree, do you know why it's still under /usr/src/kernels/2.6.35.11-83.fc14.i686/? The directory name fully hints at it being a source tree. Was a switch made at some point from a full-fledged source tree to just a headers tree, and presumably due to various legacy/compatibility reasons, the name was retained? As far as I remember, I was able to do a 'make oldconfig/menconfig; make' directly in that dir or a similarly named one -- that was several years ago though.
In addition, several drivers/kernel module developers somehow expect that to be a source tree. Is there a strong reason for that such as several other linux distributions using the same/similar name for their source tree? In any case, do you also think it's correct for /lib/modules/`uname -r`/build to point to something that's not really a source tree? Since that is how an external build process gets to this dir. (In reply to comment #3) > You're trying to compile something that isn't a source tree (it's a headers > tree from kernel-devel). Building a kernel requires that you install the srpm. It's not us, but the build process of (presumably) well-written/tested and widely used drivers that is trying to do that. the build process of those drivers would probably work fine if you install a kernel tree, and not just a headers tree. again, you haven't installed the right package. It's not a bug. a well written external driver would be able to compile against a headers package, as many already do. For whatever reason, the realtek one doesn't. (In reply to comment #7) > the build process of those drivers would probably work fine if you install a > kernel tree, and not just a headers tree. > > again, you haven't installed the right package. It's not a bug. While we are at this, can I ask if there's a way to install the kernel tree directly via yum? > > a well written external driver would be able to compile against a headers > package, as many already do. For whatever reason, the realtek one doesn't. What you say definitely makes sense, but again, shouldn't '/lib/modules/`uname -r`/build' point to something that actually builds or something from which something else was built and can be rebuilt? "install a kernel tree". What exactly is the command for that? At the moment I'm trying "yum -y install kernel*" as a Hail-Mary pass. (In reply to comment #9) > "install a kernel tree". What exactly is the command for that? > > At the moment I'm trying "yum -y install kernel*" as a Hail-Mary pass. Yes, I have the same question. Is there a way to install the kernel source tree directly via yum instead of getting srpm, etc.? |