Mailinglist Archive: radeonhd (145 mails)
| < Previous | Next > |
[radeonhd] Compile fails because of src/radeon_drm.h (DEPRECATED, __user)
- From: Thomas Meyer <thomas@xxxxxxxx>
- Date: Mon, 08 Dec 2008 20:02:43 +0100
- Message-id: <1228762963.13701.17.camel@xxxxxxxxxxxxxxxxxxxxx>
Hi.
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I..
-I./AtomBios/includes -I/usr/include/xorg -I/usr/include/pixman-1
-I/usr/include/drm -I/usr/include/X11/dri -Wall -Wextra
-Wno-unused-parameter -Werror-implicit-function-declaration -Wstrict-aliasing
-Wstrict-overflow -Wpointer-arith -Woverlength-strings -Wvolatile-register-var
-Winit-self -Wbad-function-cast -Wstrict-prototypes -Wold-style-definition
-Wnested-externs -Wdisabled-optimization -pedantic -Wno-long-long
-Wno-variadic-macros -g -O2 -finline-functions -MT radeonhd_drv_la-rhd_cs.lo
-MD -MP -MF .deps/radeonhd_drv_la-rhd_cs.Tpo -c -o radeonhd_drv_la-rhd_cs.lo
`test -f 'rhd_cs.c' || echo './'`rhd_cs.c
gcc -DHAVE_CONFIG_H -I. -I.. -I./AtomBios/includes -I/usr/include/xorg
-I/usr/include/pixman-1 -I/usr/include/drm -I/usr/include/X11/dri -Wall -Wextra
-Wno-unused-parameter -Werror-implicit-function-declaration -Wstrict-aliasing
-Wstrict-overflow -Wpointer-arith -Woverlength-strings -Wvolatile-register-var
-Winit-self -Wbad-function-cast -Wstrict-prototypes -Wold-style-definition
-Wnested-externs -Wdisabled-optimization -pedantic -Wno-long-long
-Wno-variadic-macros -g -O2 -finline-functions -MT radeonhd_drv_la-rhd_cs.lo
-MD -MP -MF .deps/radeonhd_drv_la-rhd_cs.Tpo -c rhd_cs.c -fPIC -DPIC -o
.libs/radeonhd_drv_la-rhd_cs.o
In file included from rhd_cs.c:194:
radeon_drm.h:531: warning: comma at end of enumerator list
radeon_drm.h:546: error: expected ':', ',', ';', '}' or '__attribute__' before
'DEPRECATED'
radeon_drm.h:583: error: expected ':', ',', ';', '}' or '__attribute__' before
'*' token
radeon_drm.h:609: error: expected ':', ',', ';', '}' or '__attribute__' before
'*' token
radeon_drm.h:626: error: expected ':', ',', ';', '}' or '__attribute__' before
'*' token
radeon_drm.h:634: error: expected ':', ',', ';', '}' or '__attribute__' before
'*' token
radeon_drm.h:643: error: expected ':', ',', ';', '}' or '__attribute__' before
'*' token
radeon_drm.h:647: error: expected ':', ',', ';', '}' or '__attribute__' before
'*' token
radeon_drm.h:648: warning: struct has no members
radeon_drm.h:688: error: expected ':', ',', ';', '}' or '__attribute__' before
'*' token
radeon_drm.h:700: error: expected ':', ',', ';', '}' or '__attribute__' before
'*' token
radeon_drm.h:717: error: expected ':', ',', ';', '}' or '__attribute__' before
'*' token
radeon_drm.h:718: warning: struct has no members
make[3]: *** [radeonhd_drv_la-rhd_cs.lo] Error 1
make[3]: Leaving directory `/home/thomas/source/xf86-video-radeonhd/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/thomas/source/xf86-video-radeonhd/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/thomas/source/xf86-video-radeonhd'
make: *** [all] Error 2
Problem are these keywords: DEPRECATED
unsigned long fb_offset DEPRECATED; /* deprecated, driver asks
hardware */
unsigned long mmio_offset DEPRECATED; /* deprecated, driver asks
hardware */
and __user:
drm_radeon_clear_rect_t __user *depth_boxes;
Where are these things definied?
What am i missing?
Greets
thomas
--
To unsubscribe, e-mail: radeonhd+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I..
-I./AtomBios/includes -I/usr/include/xorg -I/usr/include/pixman-1
-I/usr/include/drm -I/usr/include/X11/dri -Wall -Wextra
-Wno-unused-parameter -Werror-implicit-function-declaration -Wstrict-aliasing
-Wstrict-overflow -Wpointer-arith -Woverlength-strings -Wvolatile-register-var
-Winit-self -Wbad-function-cast -Wstrict-prototypes -Wold-style-definition
-Wnested-externs -Wdisabled-optimization -pedantic -Wno-long-long
-Wno-variadic-macros -g -O2 -finline-functions -MT radeonhd_drv_la-rhd_cs.lo
-MD -MP -MF .deps/radeonhd_drv_la-rhd_cs.Tpo -c -o radeonhd_drv_la-rhd_cs.lo
`test -f 'rhd_cs.c' || echo './'`rhd_cs.c
gcc -DHAVE_CONFIG_H -I. -I.. -I./AtomBios/includes -I/usr/include/xorg
-I/usr/include/pixman-1 -I/usr/include/drm -I/usr/include/X11/dri -Wall -Wextra
-Wno-unused-parameter -Werror-implicit-function-declaration -Wstrict-aliasing
-Wstrict-overflow -Wpointer-arith -Woverlength-strings -Wvolatile-register-var
-Winit-self -Wbad-function-cast -Wstrict-prototypes -Wold-style-definition
-Wnested-externs -Wdisabled-optimization -pedantic -Wno-long-long
-Wno-variadic-macros -g -O2 -finline-functions -MT radeonhd_drv_la-rhd_cs.lo
-MD -MP -MF .deps/radeonhd_drv_la-rhd_cs.Tpo -c rhd_cs.c -fPIC -DPIC -o
.libs/radeonhd_drv_la-rhd_cs.o
In file included from rhd_cs.c:194:
radeon_drm.h:531: warning: comma at end of enumerator list
radeon_drm.h:546: error: expected ':', ',', ';', '}' or '__attribute__' before
'DEPRECATED'
radeon_drm.h:583: error: expected ':', ',', ';', '}' or '__attribute__' before
'*' token
radeon_drm.h:609: error: expected ':', ',', ';', '}' or '__attribute__' before
'*' token
radeon_drm.h:626: error: expected ':', ',', ';', '}' or '__attribute__' before
'*' token
radeon_drm.h:634: error: expected ':', ',', ';', '}' or '__attribute__' before
'*' token
radeon_drm.h:643: error: expected ':', ',', ';', '}' or '__attribute__' before
'*' token
radeon_drm.h:647: error: expected ':', ',', ';', '}' or '__attribute__' before
'*' token
radeon_drm.h:648: warning: struct has no members
radeon_drm.h:688: error: expected ':', ',', ';', '}' or '__attribute__' before
'*' token
radeon_drm.h:700: error: expected ':', ',', ';', '}' or '__attribute__' before
'*' token
radeon_drm.h:717: error: expected ':', ',', ';', '}' or '__attribute__' before
'*' token
radeon_drm.h:718: warning: struct has no members
make[3]: *** [radeonhd_drv_la-rhd_cs.lo] Error 1
make[3]: Leaving directory `/home/thomas/source/xf86-video-radeonhd/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/thomas/source/xf86-video-radeonhd/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/thomas/source/xf86-video-radeonhd'
make: *** [all] Error 2
Problem are these keywords: DEPRECATED
unsigned long fb_offset DEPRECATED; /* deprecated, driver asks
hardware */
unsigned long mmio_offset DEPRECATED; /* deprecated, driver asks
hardware */
and __user:
drm_radeon_clear_rect_t __user *depth_boxes;
Where are these things definied?
What am i missing?
Greets
thomas
--
To unsubscribe, e-mail: radeonhd+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx
| < Previous | Next > |