On 02:44 Tue 17 Feb , Zhang Le wrote: > On 02:31 Tue 17 Feb , Zhang Le wrote: > > ftp://www.bjlx.org.cn/loongson2f/lenny/xorg-server/ > > This source of siliconmotion driver does not compile in my gentoo system, I > will > try to fix it. The error messages are as follows:
These msgs mean siliconmotion driver is not ported to libpciaccess yet. http://www.x.org/wiki/PciReworkHowto I will try to port it. Zhang, Le > > In file included from smi_chips.c:1: > smi.h:39:24: error: xf86_ansic.h: No such file or directory > In file included from smi_chips.c:1: > smi.h:244: error: expected specifier-qualifier-list before 'pciVideoPtr' > smi_chips.c: In function 'smi_mapmemory': > smi_chips.c:89: error: 'struct <anonymous>' has no member named 'PciInfo' > smi_chips.c:92: error: 'struct <anonymous>' has no member named 'PciTag' > smi_chips.c:92: warning: assignment makes pointer from integer without a cast > smi_chips.c:107: error: 'struct <anonymous>' has no member named 'PciInfo' > smi_chips.c:108: error: 'struct <anonymous>' has no member named 'fbMapOffset' > smi_chips.c:112: error: 'struct <anonymous>' has no member named 'PciTag' > smi_chips.c:113: error: 'struct <anonymous>' has no member named 'fbMapOffset' > smi_chips.c:114: warning: assignment makes pointer from integer without a cast > smi_chips.c:123: error: 'struct <anonymous>' has no member named 'fbMapOffset' > smi_chips.c:169: error: 'struct <anonymous>' has no member named 'lcdWidth' > smi_chips.c:170: error: 'struct <anonymous>' has no member named 'lcdWidth' > smi_chips.c:171: error: 'struct <anonymous>' has no member named 'lcdHeight' > smi_chips.c:172: error: 'struct <anonymous>' has no member named 'lcdHeight' > smi_chips.c: In function 'read_cmd_reg': > smi_chips.c:224: error: 'O_RDONLY' undeclared (first use in this function) > smi_chips.c:224: error: (Each undeclared identifier is reported only once > smi_chips.c:224: error: for each function it appears in.) > make[2]: *** [smi_chips.lo] Error 1 > make[2]: Leaving directory tmp/xserver-xorg-video-siliconmotion-2.2.8/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory tmp/xserver-xorg-video-siliconmotion-2.2.8' > make: *** [all] Error 2 > > Zhang, Le > > > _______________________________________________ > gNewSense-dev mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/gnewsense-dev _______________________________________________ gNewSense-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/gnewsense-dev
