I checked out the current version of radeonhd and tried to build it. 

Using cc, i get the following errors -

cc: Warning: illegal option -d=c99
"AtomBios/includes/CD_Structs.h", line 60: warning: ignoring malformed #pragma 
pack(n)
"AtomBios/includes/CD_Structs.h", line 461: warning: ignoring malformed #pragma 
pack(n)
"./AtomBios/includes/atombios.h", line 516: warning: unnamed struct member
"./AtomBios/includes/atombios.h", line 776: warning: unnamed struct member
"./AtomBios/includes/atombios.h", line 793: warning: unnamed struct member
"./AtomBios/includes/atombios.h", line 3881: warning: unnamed struct member
"./AtomBios/includes/atombios.h", line 3897: warning: unnamed struct member
"./AtomBios/includes/atombios.h", line 3945: warning: unnamed struct member
"AtomBios/CD_Operations.c", line 163: cannot use an address to initialize a 
field of a packed struct (#pragma pack)
"AtomBios/CD_Operations.c", line 164: cannot use an address to initialize a 
field of a packed struct (#pragma pack)
"AtomBios/CD_Operations.c", line 165: cannot use an address to initialize a 
field of a packed struct (#pragma pack) .....

Using gcc, treats these as warnings and the compilation continues farther but 
then fails at 

rhd_randr.c:46:23: xf86Crtc.h: No such file or directory
rhd_randr.c:47:26: xf86RandR12.h: No such file or directory
In file included from rhd_randr.c:54:
/usr/X11/include/xorg/xf86_ansic.h:176: warning: function declaration isn't a 
prototype ....

What libraries from the xorg distribution do i have to build to obtain these 
header files ?
 
 
This message posted from opensolaris.org

Reply via email to