当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 4 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 8.04编译ATI最新8。4催化剂驱动出现问题,求救~~~!
帖子发表于 : 2008-05-09 16:30 

注册: 2008-02-02 20:52
帖子: 8
送出感谢: 0 次
接收感谢: 0 次
引用:
albert@albert-desktop:~$ sudo bash 1.run --buildpkg Ubuntu/hardy
Created directory fglrx-install.I20461
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux Driver-8.476.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
==================================================
ATI Technologies Linux Driver Installer/Packager
==================================================
Generating package: Ubuntu/hardy
Package build failed!
Package build utility output:
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
dpkg-buildpackage: source package fglrx-installer
dpkg-buildpackage: source version 2:8.476-0ubuntu1
dpkg-buildpackage: source changed by ATI Technologies Inc. <http://ati.amd.com/support/driver.html>
debian/rules build
dpkg-buildpackage: host architecture amd64
echo "Using architecture: amd64"
Using architecture: amd64
for i in preinst postinst postrm shlibs atieventsd.init ; do \
if [ -f /tmp/fglrx.j20546/debian/driver.$i ]; then \
sed -e "s/#PKGNAME#/xorg-driver-fglrx/" \
-e "s/#DISTRO#/hardy/" /tmp/fglrx.j20546/debian/driver.$i > \
/tmp/fglrx.j20546/debian/xorg-driver-fglrx.$i; \
fi; \
done
if [ -f /tmp/fglrx.j20546/debian/10fglrx.template ]; then \
sed -e "s|#XMODDIR#|usr/lib|" -e "s|#XMODDIR32#|usr/lib32|" \
/tmp/fglrx.j20546/debian/10fglrx.template > /tmp/fglrx.j20546/debian/10fglrx; \
fi
if [ -f /tmp/fglrx.j20546/debian/fglrx.default ]; then \
mv /tmp/fglrx.j20546/debian/fglrx.default /tmp/fglrx.j20546/debian/fglrx; \
fi
dh_testdir
dh_testdir
# move licenses away from binary dir
if [ ! -d usr/share/doc/fglrx ]; then \
mkdir -p usr/share/doc/fglrx; \
mv usr/X11R6/bin/LICENSE.* usr/share/doc/fglrx; \
fi
# set executable on user apps
find usr/X11R6/bin -type f | xargs chmod a+x
# remove exec bit from files that don't deserve it
find usr/X11R6/include \
usr/X11R6/lib \
usr/X11R6/lib64 \
usr/share usr/src -type f | xargs chmod -x
find lib -not -name "*.sh" -type f | xargs chmod -x
find lib -name "*.sh" -type f | xargs chmod +x
# remove exec bit from 64-bit libs too
find usr/X11R6/lib64 -type f | xargs chmod -x
dh_testdir
debian/rules binary
echo "Using architecture: amd64"
Using architecture: amd64
for i in preinst postinst postrm shlibs atieventsd.init ; do \
if [ -f /tmp/fglrx.j20546/debian/driver.$i ]; then \
sed -e "s/#PKGNAME#/xorg-driver-fglrx/" \
-e "s/#DISTRO#/hardy/" /tmp/fglrx.j20546/debian/driver.$i > \
/tmp/fglrx.j20546/debian/xorg-driver-fglrx.$i; \
fi; \
done
if [ -f /tmp/fglrx.j20546/debian/10fglrx.template ]; then \
sed -e "s|#XMODDIR#|usr/lib|" -e "s|#XMODDIR32#|usr/lib32|" \
/tmp/fglrx.j20546/debian/10fglrx.template > /tmp/fglrx.j20546/debian/10fglrx; \
fi
if [ -f /tmp/fglrx.j20546/debian/fglrx.default ]; then \
mv /tmp/fglrx.j20546/debian/fglrx.default /tmp/fglrx.j20546/debian/fglrx; \
fi
dh_testdir
dh_testdir
# move licenses away from binary dir
if [ ! -d usr/share/doc/fglrx ]; then \
mkdir -p usr/share/doc/fglrx; \
mv usr/X11R6/bin/LICENSE.* usr/share/doc/fglrx; \
fi
# set executable on user apps
find usr/X11R6/bin -type f | xargs chmod a+x
# remove exec bit from files that don't deserve it
find usr/X11R6/include \
usr/X11R6/lib \
usr/X11R6/lib64 \
usr/share usr/src -type f | xargs chmod -x
find lib -not -name "*.sh" -type f | xargs chmod -x
find lib -name "*.sh" -type f | xargs chmod +x
# remove exec bit from 64-bit libs too
find usr/X11R6/lib64 -type f | xargs chmod -x
dh_testdir
dh_testdir
dh_testroot
dh_clean -k
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Create the directories to install into
dh_installdirs -pxorg-driver-fglrx \
usr/lib \
usr/sbin \
usr/lib \
usr/lib/xorg/modules \
usr/lib/xorg/modules/drivers \
usr/lib/xorg/modules/linux \
etc/acpi \
etc/acpi/events \
etc/default \
etc/X11/Xsession.d \

# the amd64 package includes 32bit compatibility libraries
dh_installdirs -pxorg-driver-fglrx \
usr/lib32 \
usr/lib32
dh_installdirs -A -pxorg-driver-fglrx \
usr/bin \
usr/sbin \
usr/share \
usr/share/applnk \
usr/share/gnome \
usr/share/gnome/apps \
usr/share/icons \
usr/share/pixmaps
dh_installdirs -pxorg-driver-fglrx-dev \
usr/include \
usr/lib
dh_installdirs -pfglrx-kernel-source \
usr/src/fglrx-8.476
dh_install
# Driver package
/sbin/ldconfig -n usr/X11R6/lib/
dh_install -pxorg-driver-fglrx "usr/X11R6/bin/fgl*" "usr/bin"
dh_install -pxorg-driver-fglrx "usr/X11R6/bin/aticonfig" "usr/bin"
dh_install -pxorg-driver-fglrx "usr/sbin/atieventsd" "usr/sbin"
dh_installman -pxorg-driver-fglrx "usr/share/man/man8/atieventsd.8"
# amd64 needs some library redirection
dh_install -pxorg-driver-fglrx "usr/X11R6/lib64/*.so*" "usr/lib"
dh_install -pxorg-driver-fglrx "usr/X11R6/lib64/modules/dri" "usr/lib"
dh_install -pxorg-driver-fglrx "usr/X11R6/lib64/modules/linux" "usr/lib/xorg/modules"
dh_install -pxorg-driver-fglrx "usr/X11R6/lib64/modules/drivers" "usr/lib/xorg/modules"
dh_install -pxorg-driver-fglrx "usr/X11R6/lib64/modules/*.so" "usr/lib/xorg/modules"
dh_install -pxorg-driver-fglrx "usr/X11R6/lib64/modules/*.a" "usr/lib/xorg/modules"
dh_install -pxorg-driver-fglrx "usr/X11R6/lib/*.so*" "usr/lib32"
dh_install -pxorg-driver-fglrx "usr/X11R6/lib/modules/dri" "usr/lib32"
dh_install -pxorg-driver-fglrx "etc/ati" "etc"
dh_install -pxorg-driver-fglrx "debian/10fglrx" "etc/X11/Xsession.d"
dh_install -pxorg-driver-fglrx "debian/fglrx-powermode.sh" "etc/acpi"
dh_install -pxorg-driver-fglrx "debian/fglrx-*-aticonfig" "etc/acpi/events"
dh_install -pxorg-driver-fglrx "debian/fglrx" "etc/default"
dh_installinit -pxorg-driver-fglrx --name="atieventsd"
# Driver dev package
dh_install -pxorg-driver-fglrx-dev "usr/X11R6/lib64/*.a" "usr/lib"
dh_install -pxorg-driver-fglrx-dev "usr/X11R6/include/*" "usr/include"
dh_install -pxorg-driver-fglrx-dev "usr/include/*" "usr/include"
#Create dkms.conf
echo "PACKAGE_NAME=\"fglrx\"" > debian/dkms.conf
echo "PACKAGE_VERSION=\"8.476\"" >> debian/dkms.conf
echo "CLEAN=\"rm -f *.*o\"" >> debian/dkms.conf
echo "BUILT_MODULE_NAME[0]=\"fglrx\"" >> debian/dkms.conf
echo "MAKE[0]=\"pushd \${dkms_tree}/fglrx/8.476/build; sh make.sh --nohints; popd\"" >> debian/dkms.conf
echo "DEST_MODULE_LOCATION[0]=\"/kernel/drivers/char/drm\"" >> debian/dkms.conf
echo "AUTOINSTALL=\"yes\"" >> debian/dkms.conf
# Kernel source package
dh_install -pfglrx-kernel-source \
lib/modules/fglrx/build_mod/*.c \
lib/modules/fglrx/build_mod/*.h \
lib/modules/fglrx/build_mod/*.sh \
lib/modules/fglrx/build_mod/lib* \
lib/modules/fglrx/build_mod/2.6.x/Makefile \
debian/dkms.conf \
usr/src/fglrx-8.476
# control panel package
dh_install -A -pfglrx-amdcccle "usr/X11R6/bin/amdcccle" "usr/bin"
dh_install -A -pfglrx-amdcccle "usr/share/icons/*.xpm" "usr/share/icons"
dh_install -A -pfglrx-amdcccle "usr/share/icons/*.xpm" "usr/share/pixmaps"
dh_install -A -pfglrx-amdcccle "debian/amdcccle.desktop" "usr/share/applications"
dh_install -A -pfglrx-amdcccle "debian/amdcccle.kdelnk" "usr/share/applnk"
dh_install -A -pfglrx-amdcccle "usr/share/ati" "usr/share"
dh_desktop -pfglrx-amdcccle
# start the install
dh_installdocs
dh_installdocs -pxorg-driver-fglrx usr/share/doc/fglrx/*
#dh_installchangelogs
dh_link
dh_strip
dh_compress
dh_installdeb
dh_makeshlibs
dh_shlibdeps
dpkg-shlibdeps: warning: symbol XauFileName used by debian/xorg-driver-fglrx/usr/sbin/atieventsd found in none of the libraries.
dpkg-shlibdeps: warning: debian/xorg-driver-fglrx/usr/sbin/atieventsd shouldn't be linked with libXrender.so.1 (it uses none of its symbols).
dpkg-shlibdeps: failure: couldn't find library libfglrx_gamma.so.1 needed by debian/xorg-driver-fglrx/usr/bin/fglrx_xgamma (its RPATH is '').
Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file.
To help dpkg-shlibdeps find private libraries, you might need to set LD_LIBRARY_PATH.
dh_shlibdeps: command returned error code 512
make: *** [binary] Error 1
dpkg-buildpackage: failure: debian/rules binary gave error exit status 2
Removing temporary directory: fglrx-install.I20461



问题从这里开始~~~~
引用:
dpkg-shlibdeps: warning: symbol XauFileName used by debian/xorg-driver-fglrx/usr/sbin/atieventsd found in none of the libraries.
dpkg-shlibdeps: warning: debian/xorg-driver-fglrx/usr/sbin/atieventsd shouldn't be linked with libXrender.so.1 (it uses none of its symbols).
dpkg-shlibdeps: failure: couldn't find library libfglrx_gamma.so.1 needed by debian/xorg-driver-fglrx/usr/bin/fglrx_xgamma (its RPATH is '').
Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file.
To help dpkg-shlibdeps find private libraries, you might need to set LD_LIBRARY_PATH.
dh_shlibdeps: command returned error code 512
make: *** [binary] Error 1
dpkg-buildpackage: failure: debian/rules binary gave error exit status 2


我的是ATi HD3650的显卡~~~


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2008-05-09 23:47 

注册: 2008-05-07 11:56
帖子: 8
送出感谢: 0 次
接收感谢: 0 次
最新的驱动是不用编译的~只需要把它直接拖进终端就可以安装了。当然,前面要加sudo


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2008-05-11 12:47 

注册: 2008-02-02 20:52
帖子: 8
送出感谢: 0 次
接收感谢: 0 次
知道问题在哪里了,是xorg-driver-fglrx 这个包没有安装~~~
在编译ati最新驱动出现问题的,大家可以参照这里~~
http://bbs.star-bbs.net/redirect.php?fi ... nextoldset

8.04的参数是
引用:
sudo sh *.run --buildpkg Ubuntu/hardy
引用:


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2008-05-11 19:09 

注册: 2008-05-09 22:40
帖子: 21
送出感谢: 0 次
接收感谢: 0 次
我新人,弄不懂
能详细说一下么?
上网载了那个驱动后,该怎么做??后缀名是RUN的


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 4 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译