|
From: Darren <dm...@gm...> - 2011-02-06 20:48:34
|
Here is a better patch, I think it whouls work everywhere. Alex, would it be
possible to patch this in the actual source?
Index: trunk/src/kmod/Linux/Makefile.26
===================================================================
--- trunk/src/kmod/Linux/Makefile.26 (revision 169)
+++ trunk/src/kmod/Linux/Makefile.26 (working copy)
@@ -22,6 +22,8 @@
TMPARCH := powerpc
K_FLAGS = -Iinclude -include include/linux/autoconf.h
-Iarch/$(TMPARCH) -Iarch/$(TMPARCH)/include \
-I/lib/modules/`uname -r`/build/arch/$(TMPARCH)/include \
+ -I/lib/modules/`uname -r`/source/arch/$(TMPARCH)/include \
+ -I/lib/modules/`uname -r`/source/include \
-I$(src) -I$(src)/../../../include $(INCLUDES) -D__KERNEL__
else
TMPARCH := ppc
On Sun, Feb 6, 2011 at 1:10 PM, Darren <dm...@gm...> wrote:
> Adding the list in case anyone wants this compiled in debian 'squeeze'
>
>
> On Wed, Jan 12, 2011 at 10:13 PM, Darren <dm...@gm...> wrote:
>
>> This might be a debian specific thing that has to be done, not sure if
>> there is a standard way of doing it. Obviously, it should not be hardcoded
>> :)
>>
>> Index: trunk/src/kmod/Linux/Makefile.26
>> ===================================================================
>> --- trunk/src/kmod/Linux/Makefile.26 (revision 169)
>> +++ trunk/src/kmod/Linux/Makefile.26 (working copy)
>> @@ -17,12 +17,14 @@
>> TMPARCH := powerpc
>> K_FLAGS = -Iinclude -include include/linux/autoconf.h
>> -Iarch/$(TMPARCH) -Iarch/$(TMPARCH)/include \
>> -I/lib/modules/`uname -r`/build/arch/$(TMPARCH)/include \
>> - -I$(src) -I$(src)/../../../include $(INCLUDES) -D__KERNEL__
>> + -I$(src) -I$(src)/../../../include $(INCLUDES) -D__KERNEL__
>> else ifeq ($(TMPARCH),ppc)
>> TMPARCH := powerpc
>> -K_FLAGS = -Iinclude -include include/linux/autoconf.h
>> -Iarch/$(TMPARCH) -Iarch/$(TMPARCH)/include \
>> - -I/lib/modules/`uname -r`/build/arch/$(TMPARCH)/include \
>> - -I$(src) -I$(src)/../../../include $(INCLUDES) -D__KERNEL__
>> +K_FLAGS = -Iinclude -include include/linux/autoconf.h
>> -Iarch/$(TMPARCH) \
>> + -I$(src) $(INCLUDES) -D__KERNEL__ \
>> +
>> -I/usr/src/linux-headers-2.6.32-5-common/arch/powerpc/include \
>> + -I/usr/src/linux-headers-2.6.32-5-common/include
>> +
>> else
>> TMPARCH := ppc
>> K_FLAGS = -Iinclude -include include/linux/autoconf.h
>> -Iarch/$(TMPARCH) -Iarch/$(TMPARCH)/include \
>>
>> ----
>> Could of sworn I tried the xhost + and it did not work, but just tried it
>> now, and it worked, thanks!
>>
>>
>> On Wed, Jan 12, 2011 at 8:52 PM, Alexander Graf <ag...@su...> wrote:
>>
>>>
>>> On 13.01.2011, at 02:49, Darren wrote:
>>>
>>> > Hello,
>>> > I just compiled a copy of the latest in cvs(Debian Testing). Was not
>>> able to get the KVM implementation compiled, but after some modification was
>>> able to get the mol kernel model compiled. One thing I noticed that is not
>>> working is xvideo. Is xvideo currently broken in cvs? I always get cannot
>>> connect to X at 0.0 (which any other program is able to connect fine), and
>>> No video modes at all was found - exiting.
>>>
>>> Sounds like you're using su to run mol without allowing access to your X
>>> session. Try:
>>>
>>> $ xhost +
>>>
>>> and see if that helps :).
>>>
>>> Btw, which modifications did you need to do for the mol kernel module?
>>> The kvm compilation issues are probably outdated header files.
>>>
>>>
>>> Alex
>>>
>>>
>>
>>
>> --
>> Darren Blaber
>>
>
>
>
> --
> Darren Blaber
>
--
Darren Blaber
|