Hello, I'm using jhbuild to build X R7.4. My goal is to build all the packages. I'm following the process descibe here http://www.x.org/wiki/ModularDevelopersGuide and here http://www.freedesktop.org/wiki/Software/jhbuild I was able to build all the packages up to the module 102 which is the xserver. I have problem the the file "sdksyms.c", which is generated by the script "sdksyms.sh". I have the kernel 2.6.27.21. I have the following errors: ** building xserver *** [102/150] make Making all in doc Making all in include Making all in dix Making all in fb Making all in mi Making all in Xext Making all in miext Making all in damage Making all in shadow Making all in cw Making all in os Making all in randr Making all in render Making all in Xi Making all in xkb Making all in dbe Making all in xfixes Making all in damageext Making all in composite Making all in glx Making all in exa Making all in config Making all in hw Making all in xfree86 Making all in common Making all in ddc Making all in i2c Making all in x86emu Making all in int10 Making all in fbdevhw Making all in os-support Making all in bus Making all in linux Making all in misc Making all in parser Making all in ramdac Making all in shadowfb Making all in vbe Making all in vgahw Making all in xaa Making all in xf8_16bpp Making all in loader CC sdksyms.o sdksyms.c:390: erreur: error: syntax error before « void » sdksyms.c:400: erreur: error: syntax error before « int » sdksyms.c:419: erreur: error: syntax error before « XID » sdksyms.c:422: erreur: error: syntax error before « unsigned » Any idea about what can it be and how to solve it. I guess that I will have to modify the sdksyms.h file Thanks for you help, Regards
sdksyms.sh is a bit buggy and very easy to upset. Please attach your sdksyms.c file so we can locate where it goes wrong.
Created attachment 29360 [details] This is my sdksyms.sh file that contains the problem leading to the compilation failure
the sdksyms.c please (the generated one)
Created attachment 29399 [details] This is my sdksyms.c generated file Again thanks for looking at this problem. ake car Regardse,
I can see where it fails but I don't understand why it fails on your machine only - the same code seems to work fine here. Can you please pull the latest server and try again? if you delete the sdksyms.c file (the generated one) you force a rebuild of that too, just to be sure.
any update on this? did the rebuild fix it?
Different results, same root cause. *** This bug has been marked as a duplicate of bug 21827 ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.