[Bug 11336] FreeBSD drm modules do not compile (drmP.h)
http://bugs.freedesktop.org/show_bug.cgi?id=11336 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #1 from [EMAIL PROTECTED] 2007-06-25 10:08 PST --- CVS is not used any longer, but git: http://gitweb.freedesktop.org/?p=mesa/drm.git;a=summary And there the structure looks good. This was fixed in commit b0c8d885ce645aee5027a75e4149ba4be265b55d -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 11336] New: FreeBSD drm modules do not compile (drmP.h)
http://bugs.freedesktop.org/show_bug.cgi?id=11336 Summary: FreeBSD drm modules do not compile (drmP.h) Product: DRI Version: unspecified Platform: Other OS/Version: FreeBSD Status: NEW Severity: normal Priority: medium Component: DRM modules AssignedTo: dri-devel@lists.sourceforge.net ReportedBy: [EMAIL PROTECTED] I am using code from Gentoo's ebuild: x11-drm-20070314, and I get a compilation failure. The problem seems to be that the drmP.h in bsd-core is missing an element in a structure: typedef struct ati_pcigart_info { int gart_table_location; int is_pcie; void *addr; dma_addr_t bus_addr; drm_local_map_t mapping; int table_size; - } drm_ati_pcigart_info; The int table_size; element exists in linux-core but not bsd-core. P.S. I would check the current CVS source, but it appears I need an account... -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: FreeBSD DRM
Eric Anholt wrote: On Mon, 2005-12-26 at 15:49 -0500, Adam K Kirchhoff wrote: So at some point in the not too distant past, I managed to get current Mesa/DRI CVS working on my FreeBSD workstation (with an X700Pro). Just earlier today, though, I did a make buildworld and make installworld and suddenly Direct Rendering is not working any more. It turns out that -CURRENT on FreeBSD only has DRM version 1.19.0 but the version of Mesa/DRI I have installed requires version 1.20.0. Since I managed to get 1.20 installed before, I figured I could get it working again. Except that I can't. I pulled DRM from CVS, changed to the bsd-core directory, and did a make. It died with: /home/adamk/saved/source/drm.current/bsd-core/drm/../drm_agpsupport.c: In function `drm_device_find_capability': /home/adamk/saved/source/drm.current/bsd-core/drm/../drm_agpsupport.c:62: error: `AGP_CAPPTR' undeclared (first use in this function) /home/adamk/saved/source/drm.current/bsd-core/drm/../drm_agpsupport.c:62: error: (Each undeclared identifier is reported only once /home/adamk/saved/source/drm.current/bsd-core/drm/../drm_agpsupport.c:62: error: for each function it appears in.) /home/adamk/saved/source/drm.current/bsd-core/drm/../drm_agpsupport.c:66: warning: implicit declaration of function `AGP_CAPID_GET_NEXT_PTR' /home/adamk/saved/source/drm.current/bsd-core/drm/../drm_agpsupport.c:66: warning: nested extern declaration of `AGP_CAPID_GET_NEXT_PTR' /home/adamk/saved/source/drm.current/bsd-core/drm/../drm_agpsupport.c:71: warning: implicit declaration of function `AGP_CAPID_GET_CAP_ID' /home/adamk/saved/source/drm.current/bsd-core/drm/../drm_agpsupport.c:71: warning: nested extern declaration of `AGP_CAPID_GET_CAP_ID' /home/adamk/saved/source/drm.current/bsd-core/drm/../drm_agpsupport.c:45: warning: unused variable `ret' I started jumping back one month at a time, starting on December 2nd, going back to June 2nd. From June 2nd, this is what I get when I try make: /home/adamk/saved/source/drm/bsd-core/drm/../drm_agpsupport.c: In function `drm_device_is_agp': /home/adamk/saved/source/drm/bsd-core/drm/../drm_agpsupport.c:50: error: structure has no member named `driver' /home/adamk/saved/source/drm/bsd-core/drm/../drm_agpsupport.c:51: error: structure has no member named `driver' /home/adamk/saved/source/drm/bsd-core/drm/../drm_agpsupport.c:68: error: `AGP_CAPPTR' undeclared (first use in this function) /home/adamk/saved/source/drm/bsd-core/drm/../drm_agpsupport.c:68: error: (Each undeclared identifier is reported only once /home/adamk/saved/source/drm/bsd-core/drm/../drm_agpsupport.c:68: error: for each function it appears in.) /home/adamk/saved/source/drm/bsd-core/drm/../drm_agpsupport.c:72: warning: implicit declaration of function `AGP_CAPID_GET_NEXT_PTR' /home/adamk/saved/source/drm/bsd-core/drm/../drm_agpsupport.c:72: warning: nested extern declaration of `AGP_CAPID_GET_NEXT_PTR' /home/adamk/saved/source/drm/bsd-core/drm/../drm_agpsupport.c:77: warning: implicit declaration of function `AGP_CAPID_GET_CAP_ID' /home/adamk/saved/source/drm/bsd-core/drm/../drm_agpsupport.c:77: warning: nested extern declaration of `AGP_CAPID_GET_CAP_ID' *** Error code 1 Different functions, but essentially the same errors. Yet I know that somehow I did manage to get 1.20.0 installed on this machine because I had it working before :-( Any ideas what I'm doing wrong? Thanks! Nothing. I need to commit jhb's DRM patch from the vga master device changes. Eric, Is there an ETA on when that patch will be committed? Adam --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
FreeBSD DRM
So at some point in the not too distant past, I managed to get current Mesa/DRI CVS working on my FreeBSD workstation (with an X700Pro). Just earlier today, though, I did a make buildworld and make installworld and suddenly Direct Rendering is not working any more. It turns out that -CURRENT on FreeBSD only has DRM version 1.19.0 but the version of Mesa/DRI I have installed requires version 1.20.0. Since I managed to get 1.20 installed before, I figured I could get it working again. Except that I can't. I pulled DRM from CVS, changed to the bsd-core directory, and did a make. It died with: /home/adamk/saved/source/drm.current/bsd-core/drm/../drm_agpsupport.c: In function `drm_device_find_capability': /home/adamk/saved/source/drm.current/bsd-core/drm/../drm_agpsupport.c:62: error: `AGP_CAPPTR' undeclared (first use in this function) /home/adamk/saved/source/drm.current/bsd-core/drm/../drm_agpsupport.c:62: error: (Each undeclared identifier is reported only once /home/adamk/saved/source/drm.current/bsd-core/drm/../drm_agpsupport.c:62: error: for each function it appears in.) /home/adamk/saved/source/drm.current/bsd-core/drm/../drm_agpsupport.c:66: warning: implicit declaration of function `AGP_CAPID_GET_NEXT_PTR' /home/adamk/saved/source/drm.current/bsd-core/drm/../drm_agpsupport.c:66: warning: nested extern declaration of `AGP_CAPID_GET_NEXT_PTR' /home/adamk/saved/source/drm.current/bsd-core/drm/../drm_agpsupport.c:71: warning: implicit declaration of function `AGP_CAPID_GET_CAP_ID' /home/adamk/saved/source/drm.current/bsd-core/drm/../drm_agpsupport.c:71: warning: nested extern declaration of `AGP_CAPID_GET_CAP_ID' /home/adamk/saved/source/drm.current/bsd-core/drm/../drm_agpsupport.c:45: warning: unused variable `ret' I started jumping back one month at a time, starting on December 2nd, going back to June 2nd. From June 2nd, this is what I get when I try make: /home/adamk/saved/source/drm/bsd-core/drm/../drm_agpsupport.c: In function `drm_device_is_agp': /home/adamk/saved/source/drm/bsd-core/drm/../drm_agpsupport.c:50: error: structure has no member named `driver' /home/adamk/saved/source/drm/bsd-core/drm/../drm_agpsupport.c:51: error: structure has no member named `driver' /home/adamk/saved/source/drm/bsd-core/drm/../drm_agpsupport.c:68: error: `AGP_CAPPTR' undeclared (first use in this function) /home/adamk/saved/source/drm/bsd-core/drm/../drm_agpsupport.c:68: error: (Each undeclared identifier is reported only once /home/adamk/saved/source/drm/bsd-core/drm/../drm_agpsupport.c:68: error: for each function it appears in.) /home/adamk/saved/source/drm/bsd-core/drm/../drm_agpsupport.c:72: warning: implicit declaration of function `AGP_CAPID_GET_NEXT_PTR' /home/adamk/saved/source/drm/bsd-core/drm/../drm_agpsupport.c:72: warning: nested extern declaration of `AGP_CAPID_GET_NEXT_PTR' /home/adamk/saved/source/drm/bsd-core/drm/../drm_agpsupport.c:77: warning: implicit declaration of function `AGP_CAPID_GET_CAP_ID' /home/adamk/saved/source/drm/bsd-core/drm/../drm_agpsupport.c:77: warning: nested extern declaration of `AGP_CAPID_GET_CAP_ID' *** Error code 1 Different functions, but essentially the same errors. Yet I know that somehow I did manage to get 1.20.0 installed on this machine because I had it working before :-( Any ideas what I'm doing wrong? Thanks! Adam --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: FreeBSD DRM
On Mon, 2005-12-26 at 15:49 -0500, Adam K Kirchhoff wrote: So at some point in the not too distant past, I managed to get current Mesa/DRI CVS working on my FreeBSD workstation (with an X700Pro). Just earlier today, though, I did a make buildworld and make installworld and suddenly Direct Rendering is not working any more. It turns out that -CURRENT on FreeBSD only has DRM version 1.19.0 but the version of Mesa/DRI I have installed requires version 1.20.0. Since I managed to get 1.20 installed before, I figured I could get it working again. Except that I can't. I pulled DRM from CVS, changed to the bsd-core directory, and did a make. It died with: /home/adamk/saved/source/drm.current/bsd-core/drm/../drm_agpsupport.c: In function `drm_device_find_capability': /home/adamk/saved/source/drm.current/bsd-core/drm/../drm_agpsupport.c:62: error: `AGP_CAPPTR' undeclared (first use in this function) /home/adamk/saved/source/drm.current/bsd-core/drm/../drm_agpsupport.c:62: error: (Each undeclared identifier is reported only once /home/adamk/saved/source/drm.current/bsd-core/drm/../drm_agpsupport.c:62: error: for each function it appears in.) /home/adamk/saved/source/drm.current/bsd-core/drm/../drm_agpsupport.c:66: warning: implicit declaration of function `AGP_CAPID_GET_NEXT_PTR' /home/adamk/saved/source/drm.current/bsd-core/drm/../drm_agpsupport.c:66: warning: nested extern declaration of `AGP_CAPID_GET_NEXT_PTR' /home/adamk/saved/source/drm.current/bsd-core/drm/../drm_agpsupport.c:71: warning: implicit declaration of function `AGP_CAPID_GET_CAP_ID' /home/adamk/saved/source/drm.current/bsd-core/drm/../drm_agpsupport.c:71: warning: nested extern declaration of `AGP_CAPID_GET_CAP_ID' /home/adamk/saved/source/drm.current/bsd-core/drm/../drm_agpsupport.c:45: warning: unused variable `ret' I started jumping back one month at a time, starting on December 2nd, going back to June 2nd. From June 2nd, this is what I get when I try make: /home/adamk/saved/source/drm/bsd-core/drm/../drm_agpsupport.c: In function `drm_device_is_agp': /home/adamk/saved/source/drm/bsd-core/drm/../drm_agpsupport.c:50: error: structure has no member named `driver' /home/adamk/saved/source/drm/bsd-core/drm/../drm_agpsupport.c:51: error: structure has no member named `driver' /home/adamk/saved/source/drm/bsd-core/drm/../drm_agpsupport.c:68: error: `AGP_CAPPTR' undeclared (first use in this function) /home/adamk/saved/source/drm/bsd-core/drm/../drm_agpsupport.c:68: error: (Each undeclared identifier is reported only once /home/adamk/saved/source/drm/bsd-core/drm/../drm_agpsupport.c:68: error: for each function it appears in.) /home/adamk/saved/source/drm/bsd-core/drm/../drm_agpsupport.c:72: warning: implicit declaration of function `AGP_CAPID_GET_NEXT_PTR' /home/adamk/saved/source/drm/bsd-core/drm/../drm_agpsupport.c:72: warning: nested extern declaration of `AGP_CAPID_GET_NEXT_PTR' /home/adamk/saved/source/drm/bsd-core/drm/../drm_agpsupport.c:77: warning: implicit declaration of function `AGP_CAPID_GET_CAP_ID' /home/adamk/saved/source/drm/bsd-core/drm/../drm_agpsupport.c:77: warning: nested extern declaration of `AGP_CAPID_GET_CAP_ID' *** Error code 1 Different functions, but essentially the same errors. Yet I know that somehow I did manage to get 1.20.0 installed on this machine because I had it working before :-( Any ideas what I'm doing wrong? Thanks! Nothing. I need to commit jhb's DRM patch from the vga master device changes. -- Eric Anholt [EMAIL PROTECTED] http://people.freebsd.org/~anholt/ [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part