[EMAIL PROTECTED] wrote on 05/23/2007 02:41:03 PM: > > In file included from drivers/media/video/pwc/pwc-uncompress.c:29: > > include/asm/current.h: In function ‘get_current’: > > include/asm/current.h:23: warning: implicit declaration of function > > ‘offsetof’ > > include/asm/current.h:23: error: expected expression before ‘struct’ > > make[4]: *** [drivers/media/video/pwc/pwc-uncompress.o] Error 1 > > make[3]: *** [drivers/media/video/pwc] Error 2 > > make[2]: *** [drivers/media/video] Error 2 > > make[1]: *** [drivers/media] Error 2 > > make: *** [drivers] Error 2 > > imho, it is a mainstream bug (maybe triggered by our changes). > 2 fixes possible: > > 1. Simply add: > > #include <linux/stddef.h> > > in include/asm-powerpc/current.h (after #include <asm/paca.h>) > > 2. or add the same line at the very beginning at file which failed to compile, > i.e. to drivers/media/video/pwc/pwc-uncompress.c >
I tried the 1. solution. Works fine for me now! > > It seems to be that there is a mixture of 32 and 64 bit binaries and libs. > > looks like all binaries from vzquota package are 64bit, while > binaries from vzctl package are 32bit... Can you try to recompile > vzctl yourself please? > and please tell me where you took the binaries from so I could > recheck/fix it if needed :) > I'll try to recompile the packages with the hints you gave me. I'll do this tomorrow. I've taken the ppc64 rpm binary packages from http://openvz.org/download/utils/ So there is also a mixture of 32 and 64 bit packages in there. I think vzctl an vzctl-lib is 32 bit, while vzquota is 64 bit. > > So moving the lib from /usr/lib64 to /usr/lib solved my problem but showed > > another error when starting /etc/init.d/vz start > > > > [EMAIL PROTECTED] vzctl-3.0.16]# /etc/init.d/vz start > > Starting OpenVZ: [ OK ] > > Bringing up interface venet0: [ OK ] > > Configuring interface venet0: [ OK ] > > vzctl set 0 --cpuunits 1000 failed: Setting CPU units: 1000 > > fairsched_chwt: No such file or directory > > WARNING: Settings were not saved and will be resetted to or[FAILED]alues on > > next start (use --save flag) > > > > What is "fairsched_chwt"? And why is it missing in my configuration?? An VE > > creation works fine: > > this is due to not set CONFIG_FAIRSCHED option in your kernel .config file. > I was wrong when I mentioned that it is not set. I've had a look at the kernel .config file. There it set. But in menuconfig I can't find it. See also my response to Alexey please. Mit freundlichen Grüßen / Best Regards Christian Kaiser -- IBM Deutschland Entwicklung GmbH Open Systems Firmware Development mail: [EMAIL PROTECTED] IBM Deutschland Entwicklung GmbH Vorsitzender des Aufsichtsrats: Martin Jetter Geschäftsführung: Herbert Kircher Sitz der Gesellschaft: Böblingen Registergericht: Amtsgericht Stuttgart, HRB 243294 _______________________________________________ Devel mailing list [email protected] https://openvz.org/mailman/listinfo/devel
