Hi,
Not sure it has to do with PHC but with 2.6.33-rcX, I can't execute make prepare or make clean or make.
After validating the command line, it does nothing : just blinking cursor as if it is working but nothing..
I had to stop it with Ctrl^C.
But I can use make on kernel sources without any problem..
Any idea ?
Thanks
Can't execute make on 2.6.33-rcX
-
- Posts: 2
- Joined: Wed 17. Feb 2010, 14:57 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: Can't execute make on 2.6.33-rcX
Check if the utsrelease.h file exists in the include/linux directory of the kernel source.
It didn't for me so I created it manually.
Seems to contain 1 line
#define UTS_RELEASE "2.6.33-rc7"
or whatever uname -a returns. See if this helps
AndyP
It didn't for me so I created it manually.
Seems to contain 1 line
#define UTS_RELEASE "2.6.33-rc7"
or whatever uname -a returns. See if this helps
AndyP
-
- Posts: 6
- Joined: Sat 4. Jul 2009, 19:07 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: Can't execute make on 2.6.33-rcX
yes that's it, thanks
this is really phc wich need to be patched :
in Makefile :
-KERNELVERSION=$(shell awk -F\" '/REL/ {print $$2}' $(shell grep -s -l REL $(KERNELSRC)/include/linux/version.h $(KERNELSRC)/include/linux/utsrelease.h))
+KERNELVERSION=$(shell awk -F\" '/REL/ {print $$2}' $(shell grep -s -l REL $(KERNELSRC)/include/linux/version.h $(KERNELSRC)/include/generated/utsrelease.h))
not a patch, but I suspect you should see what I mean

this is really phc wich need to be patched :
in Makefile :
-KERNELVERSION=$(shell awk -F\" '/REL/ {print $$2}' $(shell grep -s -l REL $(KERNELSRC)/include/linux/version.h $(KERNELSRC)/include/linux/utsrelease.h))
+KERNELVERSION=$(shell awk -F\" '/REL/ {print $$2}' $(shell grep -s -l REL $(KERNELSRC)/include/linux/version.h $(KERNELSRC)/include/generated/utsrelease.h))
not a patch, but I suspect you should see what I mean

-
- Administrator
- Posts: 346
- Joined: Wed 9. Jul 2008, 19:57 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: Can't execute make on 2.6.33-rcX
I will add that to the next release and upload it. Thanks for that guys.
You are really helping a lot with that.
I guess the "patch" is for kernels >= 2.6.33 ? Do you have a simple Idea how to deal with both, Kernels <= 2.6.32 and Kernels >= 2.6.33 ??
You are really helping a lot with that.
I guess the "patch" is for kernels >= 2.6.33 ? Do you have a simple Idea how to deal with both, Kernels <= 2.6.32 and Kernels >= 2.6.33 ??
-
- Posts: 6
- Joined: Sat 4. Jul 2009, 19:07 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: Can't execute make on 2.6.33-rcX
Yes it's only for 2.6.33, for the second question, haven't the time for the moment, will look at this later.... 
