10.04-64
S3G-InstallPkg-x86_64$ sudo ./install.sh
sudo: unable to resolve host ss-laptop
Package vdpau was not found in the pkg-config search path.
Perhaps you should add the directory containing `vdpau.pc'
to the PKG_CONFIG_PATH environment variable
No package 'vdpau' found
Installing/Uninstalling S3G Linux driver built on Xorg 7.3
Cannot find pre-build S3G kernel driver for kernel 2.6.32-38-generic
Found 01:00.0 VGA compatible controller: S3 Inc. Device 9045 (rev 01) on your system.
Backup /etc/ld.so.conf.d/GL.conf sucessfully.
Backup /usr/lib/../lib/xorg/modules/extensions/libglx.so sucessfully.
Install s3g_drv.so sucessfully.
Install libglx.so sucessfully.
Install libGL.so.1.2 sucessfully.
Install s3g_dri.so sucessfully.
Install libva.so.0.28.0 sucessfully
Install s3g_drv_video.so sucessfully.
Error Install libvdpau_s3g.so.1!!! Required Package libvdpau.
Install S3DApp.cfg sucessfully.
Install 32bit compatible libGL.so.1.2 sucessfully.
Install 32bit compatible s3g_dri.so sucessfully.
Begin building kernel modules
make -C /lib/modules/2.6.32-38-generic/build SUBDIRS=`pwd` modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-38-generic'
CC [M] /home/ss/mine/S3G-InstallPkg-x86_64/kernel/src/s3.o
/home/ss/mine/S3G-InstallPkg-x86_64/kernel/src/s3.c: In function ‘s3g_release’:
/home/ss/mine/S3G-InstallPkg-x86_64/kernel/src/s3.c:71: error: implicit declaration of function ‘lock_kernel’
/home/ss/mine/S3G-InstallPkg-x86_64/kernel/src/s3.c:84: error: implicit declaration of function ‘unlock_kernel’
make[2]: *** [/home/ss/mine/S3G-InstallPkg-x86_64/kernel/src/s3.o] Error 1
make[1]: *** [_module_/home/ss/mine/S3G-InstallPkg-x86_64/kernel/src] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-38-generic'
make: *** [modules] Error 2
install -c -m 0744 ./s3g.ko /lib/modules/2.6.32-38-generic/kernel/drivers/gpu/drm/s3g
install: cannot stat `./s3g.ko': No such file or directory
make: *** [install] Error 1
17.04-64
/S3G-InstallPkg-x86_64$ sudo ./install.sh
[sudo] ss 的密码:
Package vdpau was not found in the pkg-config search path.
Perhaps you should add the directory containing `vdpau.pc'
to the PKG_CONFIG_PATH environment variable
No package 'vdpau' found
Package vdpau was not found in the pkg-config search path.
Perhaps you should add the directory containing `vdpau.pc'
to the PKG_CONFIG_PATH environment variable
No package 'vdpau' found
Installing/Uninstalling S3G Linux driver built on Xorg 7.3
Cannot find pre-build S3G kernel driver for kernel 4.10.0-19-generic
Found 01:00.0 VGA compatible controller: S3 Graphics Ltd. Chrome 430 ULP / 435 ULP / 440 GTX (rev 01) on your system.
Backup /usr/lib/../lib/xorg/modules/extensions/libglx.so sucessfully.
Install s3g_drv.so sucessfully.
Install libglx.so sucessfully.
Install libGL.so.1.2 sucessfully.
Install s3g_dri.so sucessfully.
Install libva.so.0.28.0 sucessfully
Install s3g_drv_video.so sucessfully.
Error Install libvdpau_s3g.so.1!!! Required Package libvdpau.
Install S3DApp.cfg sucessfully.
Install 32bit compatible libGL.so.1.2 sucessfully.
Install 32bit compatible s3g_dri.so sucessfully.
Begin building kernel modules
make -C /lib/modules/4.10.0-19-generic/build SUBDIRS=`pwd` modules
make[1]: Entering directory '/usr/src/linux-headers-4.10.0-19-generic'
CC [M] /home/ss/mine/S3G-InstallPkg-x86_64/kernel/src/s3.o
/home/ss/mine/S3G-InstallPkg-x86_64/kernel/src/s3.c: In function ‘s3g_release’:
/home/ss/mine/S3G-InstallPkg-x86_64/kernel/src/s3.c:71:5: error: implicit declaration of function ‘lock_kernel’ [-Werror=implicit-function-declaration]
lock_kernel();
^~~~~~~~~~~
/home/ss/mine/S3G-InstallPkg-x86_64/kernel/src/s3.c:84:5: error: implicit declaration of function ‘unlock_kernel’ [-Werror=implicit-function-declaration]
unlock_kernel();
^~~~~~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:294: recipe for target '/home/ss/mine/S3G-InstallPkg-x86_64/kernel/src/s3.o' failed
make[2]: *** [/home/ss/mine/S3G-InstallPkg-x86_64/kernel/src/s3.o] Error 1
Makefile:1524: recipe for target '_module_/home/ss/mine/S3G-InstallPkg-x86_64/kernel/src' failed
make[1]: *** [_module_/home/ss/mine/S3G-InstallPkg-x86_64/kernel/src] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.10.0-19-generic'
Makefile:21: recipe for target 'modules' failed
make: *** [modules] Error 2
install -c -m 0744 ./s3g.ko /lib/modules/4.10.0-19-generic/kernel/drivers/gpu/drm/s3g
install: 无法获取'./s3g.ko' 的文件状态(stat): 没有那个文件或目录
Makefile:29: recipe for target 'install' failed
make: *** [install] Error 1
谁帮我看下有没有什么办法啊?