Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 148613
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo VMWare Bug Squashers <vmware@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alon Bar-Lev (RETIRED) <alonbl@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
000_all_makefile-include-directory.patch 000_all_makefile-include-directory.patch patch Alon Bar-Lev (RETIRED) 2006-09-22 15:18 0000 342 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 148613 depends on: Show dependency tree
Bug 148613 blocks: 137422
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-09-22 01:07 0000
I know you already added this to the overlay, but it is very important to move
it into portage, since if you have several instances of the kernel, you get the
build wrong.
This is opened in order you remember this issue... :)

------- Comment #1 From Mike Auty 2006-09-22 12:47:43 0000 -------
Hi Alon,

I think you might have an old eclass lying around in an overlay that's causing
you problems.  If you look in /usr/portage/eclass/vmware-mod.eclass, you should
see on the line that reads BUILD_TARGETS="..." that there is already a
KERNEL_DIR in there, and that it gets it's location from the linux-mod eclass. 
So there isn't much more I can do about this I'm afraid.  I'm going to mark it
as invalid simply because it isn't really a bug in Gentoo, but feel free to
continue to post to the bug if you want help tracking down the issue, or to
reopen it if there is some deeper problem involved...  5:)

------- Comment #2 From Alon Bar-Lev (RETIRED) 2006-09-22 15:14:04 0000 -------
Hi!

Thanks for quick response.

It does not work without my patch...

>>> Compiling source in /var/tmp/portage/vmware-modules-1.0.0.15/work ...
 * Preparing vmmon module
Using standalone build system.
In file included from /usr/include/asm/fixmap.h:27,
                 from /usr/include/asm/pgtable.h:17,
                 from /usr/include/linux/mm.h:38,
                 from .././include/compat_page.h:5,
                 from .././linux/hostif.c:18:
/usr/include/asm/acpi.h:31:28: error: acpi/pdc_intel.h: No such file or
directory
In file included from /usr/include/linux/irq.h:23,
                 from /usr/include/asm/hardirq.h:6,
                 from /usr/include/linux/hardirq.h:7,
                 from /usr/include/linux/interrupt.h:11,
                 from .././linux/driver.c:20:
/usr/include/asm/irq.h:16:25: error: irq_vectors.h: No such file or directory
In file included from /usr/include/asm/hardirq.h:6,
                 from /usr/include/linux/hardirq.h:7,
                 from /usr/include/linux/interrupt.h:11,
                 from .././linux/driver.c:20:
/usr/include/linux/irq.h:86: error: &#8216;NR_IRQS&#8217; undeclared here (not
in a function)
In file included from /usr/include/linux/irq.h:95,
                 from /usr/include/asm/hardirq.h:6,
                 from /usr/include/linux/hardirq.h:7,
                 from /usr/include/linux/interrupt.h:11,
                 from .././linux/driver.c:20:
/usr/include/asm/hw_irq.h:30: error: &#8216;NR_IRQ_VECTORS&#8217; undeclared
here (not in a function)
In file included from /usr/include/linux/irq.h:23,
                 from /usr/include/asm/hardirq.h:6,
                 from /usr/include/linux/hardirq.h:7,
                 from /usr/include/linux/interrupt.h:11,
                 from /usr/include/linux/rtc.h:102,
                 from /usr/include/linux/mc146818rtc.h:15,
                 from .././linux/hostif.c:44:
/usr/include/asm/irq.h:16:25: error: irq_vectors.h: No such file or directory
In file included from /usr/include/asm/hardirq.h:6,
                 from /usr/include/linux/hardirq.h:7,
                 from /usr/include/linux/interrupt.h:11,
                 from /usr/include/linux/rtc.h:102,
                 from /usr/include/linux/mc146818rtc.h:15,
                 from .././linux/hostif.c:44:
/usr/include/linux/irq.h:86: error: &#8216;NR_IRQS&#8217; undeclared here (not
in a function)
In file included from /usr/include/linux/irq.h:95,
                 from /usr/include/asm/hardirq.h:6,
                 from /usr/include/linux/hardirq.h:7,
                 from /usr/include/linux/interrupt.h:11,
                 from /usr/include/linux/rtc.h:102,
                 from /usr/include/linux/mc146818rtc.h:15,
                 from .././linux/hostif.c:44:
/usr/include/asm/hw_irq.h:30: error: &#8216;NR_IRQ_VECTORS&#8217; undeclared
here (not in a function)
In file included from .././linux/driver.h:20,
                 from .././linux/hostif.c:57:
.././include/compat_wait.h:60: error: conflicting types for
&#8216;poll_initwait&#8217;
/usr/include/linux/poll.h:62: error: previous declaration of
&#8216;poll_initwait&#8217; was here
In file included from /usr/include/asm/fixmap.h:27,
                 from /usr/include/asm/pgtable.h:17,
                 from /usr/include/linux/mm.h:38,
                 from /usr/include/linux/poll.h:11,
                 from .././linux/driver.c:25:
/usr/include/asm/acpi.h:31:28: error: acpi/pdc_intel.h: No such file or
directory
In file included from .././linux/driver.h:20,
                 from .././linux/driver.c:49:
.././include/compat_wait.h:60: error: conflicting types for
&#8216;poll_initwait&#8217;
/usr/include/linux/poll.h:62: error: previous declaration of
&#8216;poll_initwait&#8217; was here
.././linux/hostif.c: In function &#8216;HostIF_SemaphoreWait&#8217;:
.././linux/hostif.c:2793: warning: passing argument 1 of
&#8216;poll_freewait&#8217; from incompatible pointer type
.././linux/driver.c:145: warning: initialization from incompatible pointer type
.././linux/driver.c:149: warning: initialization from incompatible pointer type
make[2]: *** [hostif.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [driver.o] Error 1
make[1]: *** [driver] Error 2
make: *** [auto-build] Error 2

!!! ERROR: app-emulation/vmware-modules-1.0.0.15 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1255:   Called linux-mod_src_compile
  linux-mod.eclass, line 469:   Called die

!!! Unable to make   auto-build VMWARE_VER=VME_V55
KERNEL_DIR=/usr/src/linux-2.6.18-alon/
KBUILD_OUTPUT=/usr/src/linux-2.6.18-alon/.
!!! If you need support, post the topmost build error, and the call stack if
relevant.

------- Comment #3 From Alon Bar-Lev (RETIRED) 2006-09-22 15:18:39 0000 -------
Created an attachment (id=97799) [details]
000_all_makefile-include-directory.patch

------- Comment #4 From Mike Auty 2006-09-22 15:37:18 0000 -------
Ah, yeah, fair enough.  Sorry about that, I had thought I'd pushed the altered
patch over to the main tree.  Just pushed the fix into the tree, please check
the CVS in a couple of hours and let me know if that fixes it.  Thanks again
for the report!  5:)

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug