[转帖] VIA/S3G UniChrome Pro IGP显卡驱动总结(给各位被集成显卡闪烁的眼泪直流的兄弟们)
-
- 帖子: 14
- 注册时间: 2007-05-13 22:50
- 联系:
看电影的问题已经解决了,装了mplayer后就一切ok,h264也不在话下,mp3名字乱码确实不好办,可能换个播放器就好了,不知道ubuntu是否有象foorbar2000一样的播放器?
我能看到那个齿轮,3d的问题似乎不大,反正我就喜欢看电影,不知道ubuntu下有比较好的3d游戏吗?
我的blog
http://emlary.blogspot.com/
我能看到那个齿轮,3d的问题似乎不大,反正我就喜欢看电影,不知道ubuntu下有比较好的3d游戏吗?
我的blog
http://emlary.blogspot.com/
-
- 帖子: 42
- 注册时间: 2006-12-12 20:31
- 联系:
-
- 帖子: 42
- 注册时间: 2006-12-12 20:31
- 联系:
-
- 帖子: 14
- 注册时间: 2007-05-13 22:50
- 联系:
- phoenixzz
- 帖子: 110
- 注册时间: 2007-06-07 18:30
请问,我是VIA/S3G UniChrome Pro K8M800的显卡,在进行make LINUXDIR=/lib/modules/`uname -r`/build DRM_MODULES=via 这一步的时候出现
make -C /lib/modules/2.6.20-16-generic/build SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic'
CC [M] /home/phoenix/drm/linux-core/drm_auth.o
在包含自 /home/phoenix/drm/linux-core/drm_auth.c:36 的文件中:
/home/phoenix/drm/linux-core/drmP.h:44:26: 错误: linux/config.h:No such file or directory
make[2]: *** [/home/phoenix/drm/linux-core/drm_auth.o] 错误 1
make[1]: *** [_module_/home/phoenix/drm/linux-core] 错误 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic'
make: *** [modules] 错误 2
这个应该怎么解决啊,我加上sudo之后还是这样
make -C /lib/modules/2.6.20-16-generic/build SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic'
CC [M] /home/phoenix/drm/linux-core/drm_auth.o
在包含自 /home/phoenix/drm/linux-core/drm_auth.c:36 的文件中:
/home/phoenix/drm/linux-core/drmP.h:44:26: 错误: linux/config.h:No such file or directory
make[2]: *** [/home/phoenix/drm/linux-core/drm_auth.o] 错误 1
make[1]: *** [_module_/home/phoenix/drm/linux-core] 错误 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic'
make: *** [modules] 错误 2
这个应该怎么解决啊,我加上sudo之后还是这样
- phoenixzz
- 帖子: 110
- 注册时间: 2007-06-07 18:30
- linunix
- 帖子: 424
- 注册时间: 2006-11-21 21:25
- phoenixzz
- 帖子: 110
- 注册时间: 2007-06-07 18:30
-
- 帖子: 3
- 注册时间: 2007-06-17 17:25
make all-recursive
make[1]: Entering directory `/home/mapc/openchrome'
Making all in unichrome
make[2]: Entering directory `/home/mapc/openchrome/unichrome'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm -I/usr/include/drm -I/usr/include/X11/dri -g -O2 -MT via_accel.lo -MD -MP -MF ".deps/via_accel.Tpo" -c -o via_accel.lo via_accel.c; \
then mv -f ".deps/via_accel.Tpo" ".deps/via_accel.Plo"; else rm -f ".deps/via_accel.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm -I/usr/include/drm -I/usr/include/X11/dri -g -O2 -MT via_accel.lo -MD -MP -MF .deps/via_accel.Tpo -c via_accel.c -fPIC -DPIC -o .libs/via_accel.o
In file included from via.h:31,
from via_accel.c:44:
/usr/include/string.h:293: error: conflicting types for 'xf86memmove'
/usr/include/string.h:44: error: previous declaration of 'xf86memmove' was here
/usr/include/string.h:296: error: conflicting types for 'xf86bzero'
/usr/include/xorg/xf86_ansic.h:294: error: previous declaration of 'xf86bzero' was here
In file included from via.h:32,
from via_accel.c:44:
/usr/include/stdio.h:46: error: conflicting types for 'XF86FILE'
/usr/include/xorg/xf86_libc.h:66: error: previous declaration of 'XF86FILE' was here
In file included from via.h:32,
from via_accel.c:44:
/usr/include/stdio.h:88: error: conflicting types for 'XF86fpos_t'
/usr/include/xorg/xf86_libc.h:71: error: previous declaration of 'XF86fpos_t' was here
In file included from via.h:32,
from via_accel.c:44:
/usr/include/stdio.h:142: error: conflicting types for 'xf86stdin'
/usr/include/xorg/xf86_libc.h:67: error: previous declaration of 'xf86stdin' was here
/usr/include/stdio.h:143: error: conflicting types for 'xf86stdout'
/usr/include/xorg/xf86_libc.h:68: error: previous declaration of 'xf86stdout' was here
/usr/include/stdio.h:144: error: conflicting types for 'xf86stderr'
/usr/include/xorg/xf86_libc.h:69: error: previous declaration of 'xf86stderr' was here
In file included from via.h:32,
from via_accel.c:44:
/usr/include/stdio.h:164:27: error: macro "tmpfile" passed 1 arguments, but takes just 0
/usr/include/stdio.h:206: error: conflicting types for 'xf86fclose'
/usr/include/xorg/xf86_ansic.h:163: error: previous declaration of 'xf86fclose' was here
/usr/include/stdio.h:211: error: conflicting types for 'xf86fflush'
/usr/include/xorg/xf86_ansic.h:166: error: previous declaration of 'xf86fflush' was here
/usr/include/stdio.h:241: error: conflicting types for 'xf86fopen'
/usr/include/xorg/xf86_ansic.h:174: error: previous declaration of 'xf86fopen' was here
/usr/include/stdio.h:247: error: conflicting types for 'xf86freopen'
/usr/include/xorg/xf86_ansic.h:182: error: previous declaration of 'xf86freopen' was here
/usr/include/stdio.h:297: error: conflicting types for 'xf86setbuf'
/usr/include/xorg/xf86_ansic.h:224: error: previous declaration of 'xf86setbuf' was here
/usr/include/stdio.h:301: error: conflicting types for 'xf86setvbuf'
/usr/include/xorg/xf86_ansic.h:225: error: previous declaration of 'xf86setvbuf' was here
/usr/include/stdio.h:322: error: conflicting types for 'xf86fprintf'
/usr/include/xorg/xf86_ansic.h:177: error: previous declaration of 'xf86fprintf' was here
/usr/include/stdio.h:336: error: conflicting types for 'xf86vfprintf'
/usr/include/xorg/xf86_ansic.h:264: error: previous declaration of 'xf86vfprintf' was here
/usr/include/stdio.h:394: error: conflicting types for 'xf86fscanf'
/usr/include/xorg/xf86_ansic.h:184: error: previous declaration of 'xf86fscanf' was here
/usr/include/stdio.h:402: error: conflicting types for 'xf86sscanf'
/usr/include/xorg/xf86_ansic.h:231: error: previous declaration of 'xf86sscanf' was here
/usr/include/stdio.h:435: error: conflicting types for 'xf86fgetc'
/usr/include/xorg/xf86_ansic.h:167: error: previous declaration of 'xf86fgetc' was here
/usr/include/stdio.h:436: error: conflicting types for 'xf86getc'
/usr/include/xorg/xf86_ansic.h:168: error: previous declaration of 'xf86getc' was here
/usr/include/stdio.h:477: error: conflicting types for 'xf86fputc'
/usr/include/xorg/xf86_ansic.h:178: error: previous declaration of 'xf86fputc' was here
/usr/include/stdio.h:484: error: syntax error before 'xf86stdout'
/usr/include/stdio.h:526: error: conflicting types for 'xf86fgets'
/usr/include/xorg/xf86_ansic.h:170: error: previous declaration of 'xf86fgets' was here
/usr/include/stdio.h:583: error: conflicting types for 'xf86fputs'
/usr/include/xorg/xf86_ansic.h:179: error: previous declaration of 'xf86fputs' was here
/usr/include/stdio.h:589: error: syntax error before 'xf86stdout'
/usr/include/stdio.h:596: error: conflicting types for 'xf86ungetc'
/usr/include/xorg/xf86_ansic.h:263: error: previous declaration of 'xf86ungetc' was here
/usr/include/stdio.h:603: error: conflicting types for 'xf86fread'
/usr/include/xorg/xf86_ansic.h:180: error: previous declaration of 'xf86fread' was here
/usr/include/stdio.h:609: error: conflicting types for 'xf86fwrite'
/usr/include/xorg/xf86_ansic.h:192: error: previous declaration of 'xf86fwrite' was here
/usr/include/stdio.h:643: error: conflicting types for 'xf86fseek'
/usr/include/xorg/xf86_ansic.h:189: error: previous declaration of 'xf86fseek' was here
/usr/include/stdio.h:648: error: conflicting types for 'xf86ftell'
/usr/include/xorg/xf86_ansic.h:191: error: previous declaration of 'xf86ftell' was here
/usr/include/stdio.h:653: error: conflicting types for 'xf86rewind'
/usr/include/xorg/xf86_ansic.h:223: error: previous declaration of 'xf86rewind' was here
/usr/include/stdio.h:692: error: conflicting types for 'xf86fgetpos'
/usr/include/xorg/xf86_ansic.h:169: error: previous declaration of 'xf86fgetpos' was here
/usr/include/stdio.h:697: error: conflicting types for 'xf86fsetpos'
/usr/include/xorg/xf86_ansic.h:190: error: previous declaration of 'xf86fsetpos' was here
/usr/include/stdio.h:720: error: conflicting types for 'xf86clearerr'
/usr/include/xorg/xf86_ansic.h:158: error: previous declaration of 'xf86clearerr' was here
/usr/include/stdio.h:722: error: conflicting types for 'xf86feof'
/usr/include/xorg/xf86_ansic.h:164: error: previous declaration of 'xf86feof' was here
/usr/include/stdio.h:724: error: conflicting types for 'xf86ferror'
/usr/include/xorg/xf86_ansic.h:165: error: previous declaration of 'xf86ferror' was here
In file included from /usr/include/stdio.h:828,
from via.h:32,
from via_accel.c:44:
/usr/include/bits/stdio.h: In function 'vprintf':
/usr/include/bits/stdio.h:36: error: 'stdout' undeclared (first use in this function)
/usr/include/bits/stdio.h:36: error: (Each undeclared identifier is reported only once
/usr/include/bits/stdio.h:36: error: for each function it appears in.)
/usr/include/bits/stdio.h: In function 'getchar':
/usr/include/bits/stdio.h:43: error: 'stdin' undeclared (first use in this function)
/usr/include/bits/stdio.h: In function 'getchar_unlocked':
/usr/include/bits/stdio.h:59: error: 'stdin' undeclared (first use in this function)
/usr/include/bits/stdio.h: At top level:
/usr/include/bits/stdio.h:66: error: syntax error before 'xf86stdout'
/usr/include/bits/stdio.h:67: error: conflicting types for 'xf86fputc'
/usr/include/xorg/xf86_ansic.h:178: error: previous declaration of 'xf86fputc' was here
/usr/include/bits/stdio.h: In function 'xf86fputc':
/usr/include/bits/stdio.h:67: error: number of arguments doesn't match prototype/usr/include/xorg/xf86_ansic.h:178: error: prototype declaration
/usr/include/bits/stdio.h:68: error: '__c' undeclared (first use in this function)
/usr/include/bits/stdio.h:68: error: 'stdout' undeclared (first use in this function)
/usr/include/bits/stdio.h: In function 'putchar_unlocked':
/usr/include/bits/stdio.h:94: error: 'stdout' undeclared (first use in this function)
In file included from /usr/include/stdlib.h:433,
from via.h:35,
from via_accel.c:44:
/usr/include/sys/types.h: At top level:
/usr/include/sys/types.h:62: error: conflicting types for 'xf86dev_t'
/usr/include/xorg/xf86_libc.h:87: error: previous declaration of 'xf86dev_t' was here
/usr/include/sys/types.h:110: error: conflicting types for 'xf86ssize_t'
/usr/include/xorg/xf86_libc.h:86: error: previous declaration of 'xf86ssize_t' was here
In file included from /usr/include/stdlib.h:433,
from via.h:35,
from via_accel.c:44:
/usr/include/sys/types.h:151: error: duplicate 'unsigned'
In file included from via.h:35,
from via_accel.c:44:
/usr/include/stdlib.h:622:24: error: macro "abort" passed 1 arguments, but takes just 0
via_accel.c: In function 'viaAccelTextureBlit':
via_accel.c:2641: warning: passing argument 2 of 'viaOrder' from incompatible pointer type
via_accel.c:2642: warning: passing argument 2 of 'viaOrder' from incompatible pointer type
make[2]: *** [via_accel.lo] 错误 1
make[2]: Leaving directory `/home/mapc/openchrome/unichrome'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/mapc/openchrome'
make: *** [all] 错误 2
我是按照 https://help.ubuntu.com/community/OpenChrome 这里的步骤操作的。主板:富士康的P4M890 执行到make时就出现这样的错误,请高人指点。60MHz都两天了。
make[1]: Entering directory `/home/mapc/openchrome'
Making all in unichrome
make[2]: Entering directory `/home/mapc/openchrome/unichrome'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm -I/usr/include/drm -I/usr/include/X11/dri -g -O2 -MT via_accel.lo -MD -MP -MF ".deps/via_accel.Tpo" -c -o via_accel.lo via_accel.c; \
then mv -f ".deps/via_accel.Tpo" ".deps/via_accel.Plo"; else rm -f ".deps/via_accel.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm -I/usr/include/drm -I/usr/include/X11/dri -g -O2 -MT via_accel.lo -MD -MP -MF .deps/via_accel.Tpo -c via_accel.c -fPIC -DPIC -o .libs/via_accel.o
In file included from via.h:31,
from via_accel.c:44:
/usr/include/string.h:293: error: conflicting types for 'xf86memmove'
/usr/include/string.h:44: error: previous declaration of 'xf86memmove' was here
/usr/include/string.h:296: error: conflicting types for 'xf86bzero'
/usr/include/xorg/xf86_ansic.h:294: error: previous declaration of 'xf86bzero' was here
In file included from via.h:32,
from via_accel.c:44:
/usr/include/stdio.h:46: error: conflicting types for 'XF86FILE'
/usr/include/xorg/xf86_libc.h:66: error: previous declaration of 'XF86FILE' was here
In file included from via.h:32,
from via_accel.c:44:
/usr/include/stdio.h:88: error: conflicting types for 'XF86fpos_t'
/usr/include/xorg/xf86_libc.h:71: error: previous declaration of 'XF86fpos_t' was here
In file included from via.h:32,
from via_accel.c:44:
/usr/include/stdio.h:142: error: conflicting types for 'xf86stdin'
/usr/include/xorg/xf86_libc.h:67: error: previous declaration of 'xf86stdin' was here
/usr/include/stdio.h:143: error: conflicting types for 'xf86stdout'
/usr/include/xorg/xf86_libc.h:68: error: previous declaration of 'xf86stdout' was here
/usr/include/stdio.h:144: error: conflicting types for 'xf86stderr'
/usr/include/xorg/xf86_libc.h:69: error: previous declaration of 'xf86stderr' was here
In file included from via.h:32,
from via_accel.c:44:
/usr/include/stdio.h:164:27: error: macro "tmpfile" passed 1 arguments, but takes just 0
/usr/include/stdio.h:206: error: conflicting types for 'xf86fclose'
/usr/include/xorg/xf86_ansic.h:163: error: previous declaration of 'xf86fclose' was here
/usr/include/stdio.h:211: error: conflicting types for 'xf86fflush'
/usr/include/xorg/xf86_ansic.h:166: error: previous declaration of 'xf86fflush' was here
/usr/include/stdio.h:241: error: conflicting types for 'xf86fopen'
/usr/include/xorg/xf86_ansic.h:174: error: previous declaration of 'xf86fopen' was here
/usr/include/stdio.h:247: error: conflicting types for 'xf86freopen'
/usr/include/xorg/xf86_ansic.h:182: error: previous declaration of 'xf86freopen' was here
/usr/include/stdio.h:297: error: conflicting types for 'xf86setbuf'
/usr/include/xorg/xf86_ansic.h:224: error: previous declaration of 'xf86setbuf' was here
/usr/include/stdio.h:301: error: conflicting types for 'xf86setvbuf'
/usr/include/xorg/xf86_ansic.h:225: error: previous declaration of 'xf86setvbuf' was here
/usr/include/stdio.h:322: error: conflicting types for 'xf86fprintf'
/usr/include/xorg/xf86_ansic.h:177: error: previous declaration of 'xf86fprintf' was here
/usr/include/stdio.h:336: error: conflicting types for 'xf86vfprintf'
/usr/include/xorg/xf86_ansic.h:264: error: previous declaration of 'xf86vfprintf' was here
/usr/include/stdio.h:394: error: conflicting types for 'xf86fscanf'
/usr/include/xorg/xf86_ansic.h:184: error: previous declaration of 'xf86fscanf' was here
/usr/include/stdio.h:402: error: conflicting types for 'xf86sscanf'
/usr/include/xorg/xf86_ansic.h:231: error: previous declaration of 'xf86sscanf' was here
/usr/include/stdio.h:435: error: conflicting types for 'xf86fgetc'
/usr/include/xorg/xf86_ansic.h:167: error: previous declaration of 'xf86fgetc' was here
/usr/include/stdio.h:436: error: conflicting types for 'xf86getc'
/usr/include/xorg/xf86_ansic.h:168: error: previous declaration of 'xf86getc' was here
/usr/include/stdio.h:477: error: conflicting types for 'xf86fputc'
/usr/include/xorg/xf86_ansic.h:178: error: previous declaration of 'xf86fputc' was here
/usr/include/stdio.h:484: error: syntax error before 'xf86stdout'
/usr/include/stdio.h:526: error: conflicting types for 'xf86fgets'
/usr/include/xorg/xf86_ansic.h:170: error: previous declaration of 'xf86fgets' was here
/usr/include/stdio.h:583: error: conflicting types for 'xf86fputs'
/usr/include/xorg/xf86_ansic.h:179: error: previous declaration of 'xf86fputs' was here
/usr/include/stdio.h:589: error: syntax error before 'xf86stdout'
/usr/include/stdio.h:596: error: conflicting types for 'xf86ungetc'
/usr/include/xorg/xf86_ansic.h:263: error: previous declaration of 'xf86ungetc' was here
/usr/include/stdio.h:603: error: conflicting types for 'xf86fread'
/usr/include/xorg/xf86_ansic.h:180: error: previous declaration of 'xf86fread' was here
/usr/include/stdio.h:609: error: conflicting types for 'xf86fwrite'
/usr/include/xorg/xf86_ansic.h:192: error: previous declaration of 'xf86fwrite' was here
/usr/include/stdio.h:643: error: conflicting types for 'xf86fseek'
/usr/include/xorg/xf86_ansic.h:189: error: previous declaration of 'xf86fseek' was here
/usr/include/stdio.h:648: error: conflicting types for 'xf86ftell'
/usr/include/xorg/xf86_ansic.h:191: error: previous declaration of 'xf86ftell' was here
/usr/include/stdio.h:653: error: conflicting types for 'xf86rewind'
/usr/include/xorg/xf86_ansic.h:223: error: previous declaration of 'xf86rewind' was here
/usr/include/stdio.h:692: error: conflicting types for 'xf86fgetpos'
/usr/include/xorg/xf86_ansic.h:169: error: previous declaration of 'xf86fgetpos' was here
/usr/include/stdio.h:697: error: conflicting types for 'xf86fsetpos'
/usr/include/xorg/xf86_ansic.h:190: error: previous declaration of 'xf86fsetpos' was here
/usr/include/stdio.h:720: error: conflicting types for 'xf86clearerr'
/usr/include/xorg/xf86_ansic.h:158: error: previous declaration of 'xf86clearerr' was here
/usr/include/stdio.h:722: error: conflicting types for 'xf86feof'
/usr/include/xorg/xf86_ansic.h:164: error: previous declaration of 'xf86feof' was here
/usr/include/stdio.h:724: error: conflicting types for 'xf86ferror'
/usr/include/xorg/xf86_ansic.h:165: error: previous declaration of 'xf86ferror' was here
In file included from /usr/include/stdio.h:828,
from via.h:32,
from via_accel.c:44:
/usr/include/bits/stdio.h: In function 'vprintf':
/usr/include/bits/stdio.h:36: error: 'stdout' undeclared (first use in this function)
/usr/include/bits/stdio.h:36: error: (Each undeclared identifier is reported only once
/usr/include/bits/stdio.h:36: error: for each function it appears in.)
/usr/include/bits/stdio.h: In function 'getchar':
/usr/include/bits/stdio.h:43: error: 'stdin' undeclared (first use in this function)
/usr/include/bits/stdio.h: In function 'getchar_unlocked':
/usr/include/bits/stdio.h:59: error: 'stdin' undeclared (first use in this function)
/usr/include/bits/stdio.h: At top level:
/usr/include/bits/stdio.h:66: error: syntax error before 'xf86stdout'
/usr/include/bits/stdio.h:67: error: conflicting types for 'xf86fputc'
/usr/include/xorg/xf86_ansic.h:178: error: previous declaration of 'xf86fputc' was here
/usr/include/bits/stdio.h: In function 'xf86fputc':
/usr/include/bits/stdio.h:67: error: number of arguments doesn't match prototype/usr/include/xorg/xf86_ansic.h:178: error: prototype declaration
/usr/include/bits/stdio.h:68: error: '__c' undeclared (first use in this function)
/usr/include/bits/stdio.h:68: error: 'stdout' undeclared (first use in this function)
/usr/include/bits/stdio.h: In function 'putchar_unlocked':
/usr/include/bits/stdio.h:94: error: 'stdout' undeclared (first use in this function)
In file included from /usr/include/stdlib.h:433,
from via.h:35,
from via_accel.c:44:
/usr/include/sys/types.h: At top level:
/usr/include/sys/types.h:62: error: conflicting types for 'xf86dev_t'
/usr/include/xorg/xf86_libc.h:87: error: previous declaration of 'xf86dev_t' was here
/usr/include/sys/types.h:110: error: conflicting types for 'xf86ssize_t'
/usr/include/xorg/xf86_libc.h:86: error: previous declaration of 'xf86ssize_t' was here
In file included from /usr/include/stdlib.h:433,
from via.h:35,
from via_accel.c:44:
/usr/include/sys/types.h:151: error: duplicate 'unsigned'
In file included from via.h:35,
from via_accel.c:44:
/usr/include/stdlib.h:622:24: error: macro "abort" passed 1 arguments, but takes just 0
via_accel.c: In function 'viaAccelTextureBlit':
via_accel.c:2641: warning: passing argument 2 of 'viaOrder' from incompatible pointer type
via_accel.c:2642: warning: passing argument 2 of 'viaOrder' from incompatible pointer type
make[2]: *** [via_accel.lo] 错误 1
make[2]: Leaving directory `/home/mapc/openchrome/unichrome'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/mapc/openchrome'
make: *** [all] 错误 2
我是按照 https://help.ubuntu.com/community/OpenChrome 这里的步骤操作的。主板:富士康的P4M890 执行到make时就出现这样的错误,请高人指点。60MHz都两天了。
-
- 帖子: 3
- 注册时间: 2007-06-17 17:25
复制了几个config.h文件到linux目录下也不行,请问高手该如何操作?phoenixzz 写了:在进行make LINUXDIR=/lib/modules/`uname -r`/build DRM_MODULES=via 这一步的时候出现
make -C /lib/modules/2.6.20-16-generic/build SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic'
CC [M] /home/phoenix/drm/linux-core/drm_auth.o
在包含自 /home/phoenix/drm/linux-core/drm_auth.c:36 的文件中:
/home/phoenix/drm/linux-core/drmP.h:44:26: 错误: linux/config.h:No such file or directory
make[2]: *** [/home/phoenix/drm/linux-core/drm_auth.o] 错误 1
make[1]: *** [_module_/home/phoenix/drm/linux-core] 错误 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic'
make: *** [modules] 错误 2
- linunix
- 帖子: 424
- 注册时间: 2006-11-21 21:25
- Strange
- 帖子: 1824
- 注册时间: 2006-05-19 9:54
- 来自: Shanghai
对了,lz的帖子里的步骤有些不清楚的地方,我来补充一下
安装的依赖最方便的解决方法是
当然也可以自己安装包
安装drm的时候,重要的一点是从
上拉最新的drm source,cvs上的source旧了,在最新的内核上编译有问题
编译的时候,很多同学找不到config.h,这个文件其实就是
下的autoconf.h,直接复制成一份config.h就可以了
编译结束之后
不要忘记重新生成xorg.conf
然后就可以享受开启3D加速功能的UniChrome了
安装的依赖最方便的解决方法是
代码: 全选
sudo apt-get build-dep xserver-xorg-driver-via
sudo apt-get install subversion autoconf automake1.9 libtool
这点包就够了subversion
build-essential
gcc
automake1.9
libtool
pkg-config
libxvmc-dev
xserver-xorg-dev
x11proto-fonts-dev
x11proto-randr-dev
x11proto-render-dev
x11proto-xf86dri-dev
libdrm-dev
x11proto-gl-dev
libgl1-mesa-dev
安装drm的时候,重要的一点是从
代码: 全选
git clone git://anongit.freedesktop.org/git/mesa/drm
编译的时候,很多同学找不到config.h,这个文件其实就是
代码: 全选
/usr/src/linux-headers-2.6.XX-16-generic/include/linux/
编译结束之后
代码: 全选
sudo dpkg-reconfigure xserver-xorg
然后就可以享受开启3D加速功能的UniChrome了
