Bug 23779

Summary: errors when building xserver with jhbuild in sdksyms.c
Product: xorg Reporter: asnagni <alainsergenagni>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED DUPLICATE QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: highest CC: peter.hutterer
Version: 7.4 (2008.09)Keywords: NEEDINFO
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
This is my sdksyms.sh file that contains the problem leading to the compilation failure
none
This is my sdksyms.c generated file none

Description asnagni 2009-09-07 08:44:37 UTC
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
Comment 1 Peter Hutterer 2009-09-08 21:43:40 UTC
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.
Comment 2 asnagni 2009-09-09 20:20:19 UTC
Created attachment 29360 [details]
This is my sdksyms.sh file that contains the problem leading to the compilation failure
Comment 3 Peter Hutterer 2009-09-09 23:04:28 UTC
the sdksyms.c please (the generated one)
Comment 4 asnagni 2009-09-10 18:30:44 UTC
Created attachment 29399 [details]
This is my sdksyms.c generated file

Again thanks for looking at this problem.

ake car
Regardse,
Comment 5 Peter Hutterer 2009-09-10 23:12:29 UTC
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.
Comment 6 Peter Hutterer 2009-10-07 21:09:40 UTC
any update on this? did the rebuild fix it?
Comment 7 Jesse Adkins 2010-10-22 15:22:55 UTC
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.