Here is the output when I compiled the source:

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

cc -O2 -fno-strict-aliasing -pipe  -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I-  -I. -I.. -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c /usr/home/angka/xorg/extra/drm/bsd-core/i915/../i915_dma.c
/usr/home/angka/xorg/extra/drm/bsd-core/i915/../i915_dma.c: In function `i915_emit_box':
/usr/home/angka/xorg/extra/drm/bsd-core/i915/../i915_dma.c:405: error: structure has no member named `pdev'
/usr/home/angka/xorg/extra/drm/bsd-core/i915/../i915_dma.c:405: error: structure has no member named `pdev'
/usr/home/angka/xorg/extra/drm/bsd-core/i915/../i915_dma.c:405: error: structure has no member named `pdev'
/usr/home/angka/xorg/extra/drm/bsd-core/i915/../i915_dma.c:405: error: structure has no member named `pdev'

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

drmP.h is included by i915_dma.c, I just git my source and try to compile and it produce the same result. What could be wrong ?

On 8/15/06, Wu, Nian <[EMAIL PROTECTED]> wrote:

Structure drm_device_t is defined in drmP.h, and it includes a member: struct pci_dev *pdev;.

You can check the file .

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Angka H. K.
Sent: 2006
815 10:00
To: dri-devel@lists.sourceforge.net
Subject: i915_dma.c compile error

 

I have drm source about a week ago on FreeBSD 7.

My compilation failed on i915_dma.c line 405, the compiler complain about pdev not define. The defination looks like this "dev->pdev->device ". There is no pdev defined at drm_device structure I think.

Thanks


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to