On 3/12/06, Michał Pytasz <[EMAIL PROTECTED]> wrote: > Hi, > > Thanks for advice. > > On Saturday 11 March 2006 17:08, Alex Deucher wrote: > > On 3/11/06, Michał Pytasz <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > > I have a working r300, but I thought I could build a cvs driver to see > > > what't new, unfortunately I got an error. Looks like something in > > > included files is missing (pci ids?). Could anyone give me a hint on that > > > ? > > > > > > Thanks, > > > Michal > > > > > > xorg x11r7, gcc 3.4.5, glibc 2.4, cvs drm, mesa 6.4.2, linux gentoo, > > > x86_64, driver downloaded: > > > cvs -d :pserver:[EMAIL PROTECTED]:/cvs/xorg co > > > driver/xf86-video-ati > > > > > > Error message: > > > > > > In file included from radeon_probe.c:56: > > > radeon_chipset.h:96: error: `PCI_CHIP_RV410_564F' undeclared here (not in > > > a function) > > > > The device ids are defined in the server rather than the driver so > > you'll need to rebuild the X server as well. > > > > I have not rebuilt xserver, however I looked into cvs today and I noticed : > > "Stop using xf86PciInfo.h, instead use a local copy of the PCI IDs > we need in atipciids.h so we can update the ATI driver independently > of the server when new chips are added" > > Well that did help... partly since I do not see previous error message, but > the new one says: > > radeon_exa.c: In function `RADEONGetOffsetPitch': > radeon_exa.c:160: error: structure has no member named `pixmapPitchAlign' > radeon_exa.c:163: error: structure has no member named `pixmapOffsetAlign' > In file included from radeon_exa.c:334: > radeon_exa_funcs.c: In function `RADEONDrawInitMMIO': > radeon_exa_funcs.c:355: error: structure has no member named `exa_major' > radeon_exa_funcs.c:356: error: structure has no member named `exa_minor' > radeon_exa_funcs.c:358: error: structure has no member named `PrepareSolid' > radeon_exa_funcs.c:359: error: structure has no member named `Solid' > radeon_exa_funcs.c:360: error: structure has no member named `DoneSolid' > radeon_exa_funcs.c:362: error: structure has no member named `PrepareCopy' > radeon_exa_funcs.c:363: error: structure has no member named `Copy' > radeon_exa_funcs.c:364: error: structure has no member named `DoneCopy' > radeon_exa_funcs.c:366: error: structure has no member named `WaitMarker' > radeon_exa_funcs.c:367: error: structure has no member named `UploadToScreen' > radeon_exa_funcs.c:368: error: structure has no member named > `DownloadFromScreen' > radeon_exa_funcs.c:375: error: structure has no member named `flags' > radeon_exa_funcs.c:376: error: structure has no member named > `pixmapOffsetAlign' > radeon_exa_funcs.c:377: error: structure has no member named > `pixmapPitchAlign' > radeon_exa_funcs.c:379: error: structure has no member named `maxX' > radeon_exa_funcs.c:380: error: structure has no member named `maxY' > radeon_exa_funcs.c:393: error: structure has no member named `CheckComposite' > radeon_exa_funcs.c:394: error: structure has no member named > `PrepareComposite' > radeon_exa_funcs.c:396: error: structure has no member named `Composite' > radeon_exa_funcs.c:397: error: structure has no member named `DoneComposite' > radeon_exa_funcs.c:401: error: structure has no member named `CheckComposite' > radeon_exa_funcs.c:402: error: structure has no member named > `PrepareComposite' > radeon_exa_funcs.c:404: error: structure has no member named `Composite' > radeon_exa_funcs.c:405: error: structure has no member named `DoneComposite' > In file included from radeon_exa.c:357: > radeon_exa_funcs.c: In function `RADEONDrawInitCP': > radeon_exa_funcs.c:355: error: structure has no member named `exa_major' > radeon_exa_funcs.c:356: error: structure has no member named `exa_minor' > radeon_exa_funcs.c:358: error: structure has no member named `PrepareSolid' > radeon_exa_funcs.c:359: error: structure has no member named `Solid' > radeon_exa_funcs.c:360: error: structure has no member named `DoneSolid' > radeon_exa_funcs.c:362: error: structure has no member named `PrepareCopy' > radeon_exa_funcs.c:363: error: structure has no member named `Copy' > radeon_exa_funcs.c:364: error: structure has no member named `DoneCopy' > radeon_exa_funcs.c:366: error: structure has no member named `WaitMarker' > radeon_exa_funcs.c:367: error: structure has no member named `UploadToScreen' > radeon_exa_funcs.c:368: error: structure has no member named > `DownloadFromScreen' > radeon_exa_funcs.c:375: error: structure has no member named `flags' > radeon_exa_funcs.c:376: error: structure has no member named > `pixmapOffsetAlign' > radeon_exa_funcs.c:377: error: structure has no member named > `pixmapPitchAlign' > radeon_exa_funcs.c:379: error: structure has no member named `maxX' > radeon_exa_funcs.c:380: error: structure has no member named `maxY' > radeon_exa_funcs.c:393: error: structure has no member named `CheckComposite' > radeon_exa_funcs.c:394: error: structure has no member named > `PrepareComposite' > radeon_exa_funcs.c:396: error: structure has no member named `Composite' > radeon_exa_funcs.c:397: error: structure has no member named `DoneComposite' > radeon_exa_funcs.c:401: error: structure has no member named `CheckComposite' > radeon_exa_funcs.c:402: error: structure has no member named > `PrepareComposite' > radeon_exa_funcs.c:404: error: structure has no member named `Composite' > radeon_exa_funcs.c:405: error: structure has no member named `DoneComposite' > radeon_exa.c: In function `RADEONSetupMemEXA': > radeon_exa.c:378: warning: assignment makes pointer from integer without a > cast > radeon_exa.c:390: error: structure has no member named `memoryBase' > radeon_exa.c:391: error: structure has no member named `memorySize' > radeon_exa.c:392: error: structure has no member named `offScreenBase' > radeon_exa.c:395: error: structure has no member named `memorySize' > radeon_exa.c:423: error: structure has no member named `offScreenBase' > radeon_exa.c:425: error: structure has no member named `memorySize' > radeon_exa.c:428: error: structure has no member named `offScreenBase' > radeon_exa.c:439: error: structure has no member named `offScreenBase' > radeon_exa.c:440: error: structure has no member named `memorySize' > radeon_exa.c:443: error: structure has no member named `offScreenBase' > radeon_exa.c:449: error: structure has no member named `memorySize' > radeon_exa.c:450: error: structure has no member named `offScreenBase' > radeon_exa.c:457: error: structure has no member named `offScreenBase' > radeon_exa.c:458: error: structure has no member named `offScreenBase' > radeon_exa.c:471: error: structure has no member named `memorySize' > radeon_exa.c:471: error: structure has no member named `offScreenBase' > radeon_exa.c:472: error: structure has no member named `offScreenBase' > make[2]: *** [radeon_exa.lo] Błąd 1 > make[2]: Leaving directory `/root/driver/xf86-video-ati/src' > make[1]: *** [all-recursive] Błąd 1 > make[1]: Leaving directory `/root/driver/xf86-video-ati' > make: *** [all] Błąd 2 > > > I suppose I still need to rebuild xserver (if structs changed, I would have > relocation errors if I would just switch includes ?) ? > Currently I have xserver 1.0.1 (with some cvs fixex for 64 and glx). >
exa, which lives in the xserver has changed, so you'll still have to update that to build the latest radeon driver. Alex > Thanks again, > Michał > > NŹHS^ľéXŹ˛'˛Ţuźą<ÂÚş.ÖëyŠ"Ž*mx%jx.j Ť^ĆקvĆŠŚXjبȧśmŠÝâév&ś×§vŘ^+ŢÁćÜjËZŘč{azâç^˝éhĽęனnˇ)ŕ{hśŹěĄŘ§×ŤŽ+hŻ(mś˙ąéZ˛ëjYwţÇĽrg