[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mesa3d-dev
Subject:    [Mesa3d-dev] [ mesa3d-Bugs-943633 ] build error in src/mesa/drivers/dri/fb
From:       "SourceForge.net" <noreply () sourceforge ! net>
Date:       2004-05-20 22:32:02
Message-ID: E1BQw54-0004Fd-00 () sc8-sf-web2 ! sourceforge ! net
[Download RAW message or body]

Bugs item #943633, was opened at 2004-04-28 04:47
Message generated for change (Settings changed) made by brianp
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100003&aid=943633&group_id=3

Category: None
Group: Compile/Install
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Robert Voigt (brainsail)
Assigned to: Nobody/Anonymous (nobody)
Summary: build error in src/mesa/drivers/dri/fb

Initial Comment:
I get the following error with linux-solo in the trunk.
I see that drm.h and drm_sarea.h have moved.


make[5]: Entering directory
`/home/rob/src/mesa-dri-x/Mesa/src/mesa/drivers/dri'
make[6]: Entering directory
`/home/rob/src/mesa-dri-x/Mesa/src/mesa/drivers/dri/fb'
Makefile:79: depend: No such file or directory
touch depend
makedepend -Y -fdepend -I. -I../common -Iserver
-I../../../../../src/glx/mini -I../../../../../include
-I/home/dri/drm/shared -I../../../../../src/mesa
-I../../../../../src/mesa/main
-I../../../../../src/mesa/glapi
-I../../../../../src/mesa/math
-I../../../../../src/mesa/transform
-I../../../../../src/mesa/shader
-I../../../../../src/mesa/swrast
-I../../../../../src/mesa/swrast_setup fb_dri.c    >& /dev/null
make[6]: Leaving directory
`/home/rob/src/mesa-dri-x/Mesa/src/mesa/drivers/dri/fb'
make[6]: Entering directory
`/home/rob/src/mesa-dri-x/Mesa/src/mesa/drivers/dri/fb'
gcc -c -I. -I../common -Iserver
-I../../../../../src/glx/mini -I../../../../../include
-I/home/dri/drm/shared -I../../../../../src/mesa
-I../../../../../src/mesa/main
-I../../../../../src/mesa/glapi
-I../../../../../src/mesa/math
-I../../../../../src/mesa/transform
-I../../../../../src/mesa/shader
-I../../../../../src/mesa/swrast
-I../../../../../src/mesa/swrast_setup
-Wmissing-prototypes -g -std=c99 -pedantic -Wundef
-fPIC -ffast-math -D_POSIX_SOURCE
-D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
 fb_dri.c -o fb_dri.o
In file included from
../../../../../src/glx/mini/miniglxP.h:20,
                 from fb_dri.c:64:
../../../../../src/glx/mini/driver.h:55:17: drm.h: No
such file or directory
../../../../../src/glx/mini/driver.h:56:23:
drm_sarea.h: No such file or directory
In file included from
../../../../../src/glx/mini/miniglxP.h:20,
                 from fb_dri.c:64:
../../../../../src/glx/mini/driver.h:102: error: parse
error before "drm_sarea_t"
../../../../../src/glx/mini/driver.h:102: warning: no
semicolon at end of struct or union
../../../../../src/glx/mini/driver.h:117: error: parse
error before '}' token
../../../../../src/glx/mini/driver.h:117: warning: type
defaults to `int' in declaration of `DRIDriverContext'
../../../../../src/glx/mini/driver.h:117: error: ISO C
forbids data definition with no type or storage class
../../../../../src/glx/mini/driver.h:130: warning: type
defaults to `int' in declaration of `DRIDriverContext'
../../../../../src/glx/mini/driver.h:130: error: parse
error before '*' token
../../../../../src/glx/mini/driver.h:135: warning: type
defaults to `int' in declaration of `DRIDriverContext'
../../../../../src/glx/mini/driver.h:135: error: parse
error before '*' token
../../../../../src/glx/mini/driver.h:141: warning: type
defaults to `int' in declaration of `DRIDriverContext'
../../../../../src/glx/mini/driver.h:141: error: parse
error before '*' token
../../../../../src/glx/mini/driver.h:146: error: parse
error before '*' token
../../../../../src/glx/mini/driver.h:151: error: parse
error before '*' token
../../../../../src/glx/mini/driver.h:157: warning: type
defaults to `int' in declaration of `DRIDriverContext'
../../../../../src/glx/mini/driver.h:157: error: parse
error before '*' token
../../../../../src/glx/mini/driver.h:162: warning: type
defaults to `int' in declaration of `DRIDriverContext'
../../../../../src/glx/mini/driver.h:162: error: parse
error before '*' token
In file included from fb_dri.c:64:
../../../../../src/glx/mini/miniglxP.h:174: error:
field `driverContext' has incomplete type
In file included from fb_dri.c:65:
../../../../../src/glx/mini/dri_util.h:54:17: drm.h: No
such file or directory
../../../../../src/glx/mini/dri_util.h:55:23:
drm_sarea.h: No such file or directory
In file included from fb_dri.c:65:
../../../../../src/glx/mini/dri_util.h:295: error:
parse error before "drm_clip_rect_t"
../../../../../src/glx/mini/dri_util.h:295: warning: no
semicolon at end of struct or union
../../../../../src/glx/mini/dri_util.h:307: error:
parse error before '*' token
../../../../../src/glx/mini/dri_util.h:307: warning:
type defaults to `int' in declaration of `pBackClipRects'
../../../../../src/glx/mini/dri_util.h:307: error: ISO
C forbids data definition with no type or storage class
../../../../../src/glx/mini/dri_util.h:334: error:
parse error before '}' token
../../../../../src/glx/mini/dri_util.h:334: warning:
ISO C does not allow extra `;' outside of a function
../../../../../src/glx/mini/dri_util.h:436: error:
parse error before "drm_sarea_t"
../../../../../src/glx/mini/dri_util.h:436: warning: no
semicolon at end of struct or union
../../../../../src/glx/mini/dri_util.h:499: error:
parse error before '}' token
../../../../../src/glx/mini/dri_util.h:499: warning:
ISO C does not allow extra `;' outside of a function
fb_dri.c: In function `get_buffer_size':
fb_dri.c:132: error: dereferencing pointer to
incomplete type
fb_dri.c:133: error: dereferencing pointer to
incomplete type
fb_dri.c: In function `set_buffer':
fb_dri.c:146: error: dereferencing pointer to
incomplete type
fb_dri.c:151: error: dereferencing pointer to
incomplete type
fb_dri.c:151: error: dereferencing pointer to
incomplete type
fb_dri.c:154: error: dereferencing pointer to
incomplete type
fb_dri.c:154: error: dereferencing pointer to
incomplete type
In file included from fb_dri.c:194:
../../../../../src/mesa/swrast/s_spantemp.h: In
function `write_rgba_span_B8G8R8':
../../../../../src/mesa/swrast/s_spantemp.h:61: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:61: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h: In
function `write_rgb_span_B8G8R8':
../../../../../src/mesa/swrast/s_spantemp.h:88: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:88: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h: In
function `write_monorgba_span_B8G8R8':
../../../../../src/mesa/swrast/s_spantemp.h:115: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:115: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h: In
function `write_rgba_pixels_B8G8R8':
../../../../../src/mesa/swrast/s_spantemp.h:146: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:146: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h: In
function `write_monorgba_pixels_B8G8R8':
../../../../../src/mesa/swrast/s_spantemp.h:165: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:165: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h: In
function `read_rgba_span_B8G8R8':
../../../../../src/mesa/swrast/s_spantemp.h:180: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:180: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h: In
function `read_rgba_pixels_B8G8R8':
../../../../../src/mesa/swrast/s_spantemp.h:200: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:200: error:
dereferencing pointer to incomplete type
In file included from fb_dri.c:212:
../../../../../src/mesa/swrast/s_spantemp.h: In
function `write_rgba_span_B8G8R8A8':
../../../../../src/mesa/swrast/s_spantemp.h:61: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:61: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h: In
function `write_rgb_span_B8G8R8A8':
../../../../../src/mesa/swrast/s_spantemp.h:88: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:88: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h: In
function `write_monorgba_span_B8G8R8A8':
../../../../../src/mesa/swrast/s_spantemp.h:115: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:115: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h: In
function `write_rgba_pixels_B8G8R8A8':
../../../../../src/mesa/swrast/s_spantemp.h:146: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:146: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h: In
function `write_monorgba_pixels_B8G8R8A8':
../../../../../src/mesa/swrast/s_spantemp.h:165: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:165: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h: In
function `read_rgba_span_B8G8R8A8':
../../../../../src/mesa/swrast/s_spantemp.h:180: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:180: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h: In
function `read_rgba_pixels_B8G8R8A8':
../../../../../src/mesa/swrast/s_spantemp.h:200: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:200: error:
dereferencing pointer to incomplete type
In file included from fb_dri.c:233:
../../../../../src/mesa/swrast/s_spantemp.h: In
function `write_rgba_span_B5G6R5':
../../../../../src/mesa/swrast/s_spantemp.h:61: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:61: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h: In
function `write_rgb_span_B5G6R5':
../../../../../src/mesa/swrast/s_spantemp.h:88: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:88: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h: In
function `write_monorgba_span_B5G6R5':
../../../../../src/mesa/swrast/s_spantemp.h:115: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:115: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h: In
function `write_rgba_pixels_B5G6R5':
../../../../../src/mesa/swrast/s_spantemp.h:146: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:146: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h: In
function `write_monorgba_pixels_B5G6R5':
../../../../../src/mesa/swrast/s_spantemp.h:165: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:165: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h: In
function `read_rgba_span_B5G6R5':
../../../../../src/mesa/swrast/s_spantemp.h:180: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:180: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h: In
function `read_rgba_pixels_B5G6R5':
../../../../../src/mesa/swrast/s_spantemp.h:200: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:200: error:
dereferencing pointer to incomplete type
In file included from fb_dri.c:254:
../../../../../src/mesa/swrast/s_spantemp.h: In
function `write_rgba_span_B5G5R5':
../../../../../src/mesa/swrast/s_spantemp.h:61: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:61: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h: In
function `write_rgb_span_B5G5R5':
../../../../../src/mesa/swrast/s_spantemp.h:88: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:88: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h: In
function `write_monorgba_span_B5G5R5':
../../../../../src/mesa/swrast/s_spantemp.h:115: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:115: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h: In
function `write_rgba_pixels_B5G5R5':
../../../../../src/mesa/swrast/s_spantemp.h:146: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:146: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h: In
function `write_monorgba_pixels_B5G5R5':
../../../../../src/mesa/swrast/s_spantemp.h:165: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:165: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h: In
function `read_rgba_span_B5G5R5':
../../../../../src/mesa/swrast/s_spantemp.h:180: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:180: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h: In
function `read_rgba_pixels_B5G5R5':
../../../../../src/mesa/swrast/s_spantemp.h:200: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:200: error:
dereferencing pointer to incomplete type
In file included from fb_dri.c:270:
../../../../../src/mesa/swrast/s_spantemp.h: In
function `write_index32_span_CI8':
../../../../../src/mesa/swrast/s_spantemp.h:222: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:222: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h: In
function `write_index8_span_CI8':
../../../../../src/mesa/swrast/s_spantemp.h:248: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:248: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h: In
function `write_monoindex_span_CI8':
../../../../../src/mesa/swrast/s_spantemp.h:274: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:274: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h: In
function `write_index_pixels_CI8':
../../../../../src/mesa/swrast/s_spantemp.h:304: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:304: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h: In
function `write_monoindex_pixels_CI8':
../../../../../src/mesa/swrast/s_spantemp.h:323: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:323: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h: In
function `read_index_span_CI8':
../../../../../src/mesa/swrast/s_spantemp.h:338: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:338: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h: In
function `read_index_pixels_CI8':
../../../../../src/mesa/swrast/s_spantemp.h:358: error:
dereferencing pointer to incomplete type
../../../../../src/mesa/swrast/s_spantemp.h:358: error:
dereferencing pointer to incomplete type
fb_dri.c: In function `fbInitDriver':
fb_dri.c:279: error: dereferencing pointer to
incomplete type
fb_dri.c: In function `fbCreateBuffer':
fb_dri.c:454: error: dereferencing pointer to
incomplete type
fb_dri.c:461: error: dereferencing pointer to
incomplete type
fb_dri.c:467: error: dereferencing pointer to
incomplete type
fb_dri.c:468: error: dereferencing pointer to
incomplete type
fb_dri.c:468: error: dereferencing pointer to
incomplete type
fb_dri.c:468: error: dereferencing pointer to
incomplete type
fb_dri.c: In function `fbDestroyBuffer':
fb_dri.c:478: error: dereferencing pointer to
incomplete type
fb_dri.c:479: error: dereferencing pointer to
incomplete type
fb_dri.c: In function `fbSwapBuffers':
fb_dri.c:490: error: dereferencing pointer to
incomplete type
fb_dri.c:490: error: dereferencing pointer to
incomplete type
fb_dri.c:493: error: dereferencing pointer to
incomplete type
fb_dri.c:498: error: dereferencing pointer to
incomplete type
fb_dri.c:506: error: dereferencing pointer to
incomplete type
fb_dri.c:507: error: dereferencing pointer to
incomplete type
fb_dri.c:507: error: dereferencing pointer to
incomplete type
fb_dri.c:508: error: dereferencing pointer to
incomplete type
fb_dri.c:508: error: dereferencing pointer to
incomplete type
fb_dri.c:509: error: dereferencing pointer to
incomplete type
fb_dri.c: In function `fbMakeCurrent':
fb_dri.c:537: error: dereferencing pointer to
incomplete type
fb_dri.c:538: error: dereferencing pointer to
incomplete type
fb_dri.c:542: error: dereferencing pointer to
incomplete type
fb_dri.c:542: error: dereferencing pointer to
incomplete type
fb_dri.c: At top level:
fb_dri.c:641: warning: type defaults to `int' in
declaration of `DRIDriverContext'
fb_dri.c:641: error: parse error before '*' token
fb_dri.c: In function `__driInitScreenModes':
fb_dri.c:644: error: `numModes' undeclared (first use
in this function)
fb_dri.c:644: error: (Each undeclared identifier is
reported only once
fb_dri.c:644: error: for each function it appears in.)
fb_dri.c:645: error: `modes' undeclared (first use in
this function)
fb_dri.c: At top level:
fb_dri.c:652: warning: type defaults to `int' in
declaration of `DRIDriverContext'
fb_dri.c:652: error: parse error before '*' token
fb_dri.c: In function `__driInitFBDev':
fb_dri.c:672: error: dereferencing pointer to
incomplete type
fb_dri.c:672: error: dereferencing pointer to
incomplete type
fb_dri.c:673: error: dereferencing pointer to
incomplete type
fb_dri.c:673: error: dereferencing pointer to
incomplete type
fb_dri.c:674: error: dereferencing pointer to
incomplete type
fb_dri.c:675: error: dereferencing pointer to
incomplete type
fb_dri.c:676: error: dereferencing pointer to
incomplete type
fb_dri.c:676: error: dereferencing pointer to
incomplete type
fb_dri.c:679: error: dereferencing pointer to
incomplete type
fb_dri.c:679: error: dereferencing pointer to
incomplete type
fb_dri.c:685: error: dereferencing pointer to
incomplete type
fb_dri.c:686: error: dereferencing pointer to
incomplete type
fb_dri.c:690: error: dereferencing pointer to
incomplete type
make[6]: *** [fb_dri.o] Error 1
make[6]: Leaving directory
`/home/rob/src/mesa-dri-x/Mesa/src/mesa/drivers/dri/fb'
make[5]: *** [subdirs] Error 1
make[5]: Leaving directory
`/home/rob/src/mesa-dri-x/Mesa/src/mesa/drivers/dri'
make[4]: *** [driver-dirs] Error 2
make[4]: Leaving directory
`/home/rob/src/mesa-dri-x/Mesa/src/mesa'
make[3]: *** [default] Error 2
make[3]: Leaving directory
`/home/rob/src/mesa-dri-x/Mesa/src/mesa'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory
`/home/rob/src/mesa-dri-x/Mesa/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/home/rob/src/mesa-dri-x/Mesa'
make: *** [linux-solo] Error 2


----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2004-05-20 16:31

Message:
Logged In: NO 

Actually, the drm module from the DRI tree should be used. 
I've updated the Mesa website with new docs for this.  Click
on the "fbdev/DRI Environment" link on the left
(http://www.mesa3d.org/)

I'm closing this report now.


----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2004-05-20 12:12

Message:
Logged In: NO 

checkout the cvs module named drm from mesa cvs

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2004-05-19 16:23

Message:
Logged In: NO 

I'm having the same problem.  where do I get the drm module
source and what config/defaults file are you talking about?
Thanks!
Andrew

----------------------------------------------------------------------

Comment By: Robert Voigt (brainsail)
Date: 2004-04-29 06:30

Message:
Logged In: YES 
user_id=770725

Thanks. It works now.

----------------------------------------------------------------------

Comment By: Stephane Marchesin (marcheu)
Date: 2004-04-29 03:04

Message:
Logged In: YES 
user_id=187164

You need to checkout the drm module source, and then setup
the path to it (DRM_SOURCE_PATH) in the configs/defaults file.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100003&aid=943633&group_id=3


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic