stefanoxjx
16-09-2005, 08:50
Ciao a tutti, inizio subito con :muro: mea culpa mea culpa............... :muro:
Mi sono preso la rogna di installare i driver ati proprietari ad un amico che sotto mio consiglio usa debian (SID, ma questo non sotto mio consiglio).
Premetto che i driver ati li ho insallati nel mio notebook seguendo la guida di stanchina e non ho avuto problemi.
In questo caso però, ho ricompilato il kernel 2.6.12-5 preso da kernel.org ed ho iniziato a seguire la solita guida di stanchina.
Il problema è questo:
alberto:/usr/src/fglrx-installer-8.16.20# dpkg-buildpackage -b -rfakeroot -tc -uc -D
dpkg-buildpackage: source package is fglrx-installer
dpkg-buildpackage: source version is 8.16.20-1
dpkg-buildpackage: source changed by Flavio Stanchina <flavio@stanchina.net>
dpkg-buildpackage: host architecture i386
fakeroot debian/rules clean
dh_testdir
#dh_testroot
dh_clean
rm -fr usr opt lib etc
rm -fr extra_src
debian/rules build
dh_testdir
rpm2cpio fglrx_4_3_0-8.16.20-1.i386.rpm | cpio -i -d -f "./lib/modules/fglrx/fglrx.*.o" --no-preserve-owner
64907 blocks
# 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
# remove exec bit from files that don't deserve it
find usr/X11R6/include \
usr/X11R6/lib \
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
# extract panel source
mkdir -p extra_src/panel
tar xfzC usr/src/ATI/fglrx_panel_sources.tgz extra_src/panel
patch -d extra_src/panel -p1 -i /usr/src/fglrx-installer-8.16.20/debian/patches-8.16.20/panel.diff
patching file ATITVOExtensions.c
patching file FGLRXExtensions.c
patching file Makefile
# build panel source
make -C extra_src/panel QTDIR=/usr/share/qt3
make[1]: Entering directory `/usr/src/fglrx-installer-8.16.20/extra_src/panel'
gcc -c -g -O2 -fno-strength-reduce -funsigned-char -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/X11R6/include -I. -I./include_dummy FGLRXExtensions.c
FGLRXExtensions.c: In function 'ExtGetDriverData':
FGLRXExtensions.c:184: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness
gcc -c -g -O2 -fno-strength-reduce -funsigned-char -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/X11R6/include -I. -I./include_dummy ATITVOExtensions.c
g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/share/qt3/include -I. -I./include_dummy main.cpp
main.cpp: In function 'int main(int, char**)':
main.cpp:31: error: expected type-specifier before 'QWindowsStyle'
main.cpp:31: error: expected `)' before 'QWindowsStyle'
main.cpp:31: error: no matching function for call to 'QApplication::setStyle(int*)'
/usr/share/qt3/include/qapplication.h:89: note: candidates are: static void QApplication::setStyle(QStyle*)
/usr/share/qt3/include/qapplication.h:90: note: static QStyle* QApplication::setStyle(const QString&)
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/usr/src/fglrx-installer-8.16.20/extra_src/panel'
make: *** [extra_src/panel/fireglcontrol] Error 2
Che voi sappiate, ci sono problemi con il kernel 2.6.12-5 e i driver ati?
Ho sbagliato qualcosa io?
Da quello che ho capito, il problema nasce con le librerie qt3, però risultano installate.
Che posso fare?
Prometto che non lo farò mai più :sofico:
Grazie.
Mi sono preso la rogna di installare i driver ati proprietari ad un amico che sotto mio consiglio usa debian (SID, ma questo non sotto mio consiglio).
Premetto che i driver ati li ho insallati nel mio notebook seguendo la guida di stanchina e non ho avuto problemi.
In questo caso però, ho ricompilato il kernel 2.6.12-5 preso da kernel.org ed ho iniziato a seguire la solita guida di stanchina.
Il problema è questo:
alberto:/usr/src/fglrx-installer-8.16.20# dpkg-buildpackage -b -rfakeroot -tc -uc -D
dpkg-buildpackage: source package is fglrx-installer
dpkg-buildpackage: source version is 8.16.20-1
dpkg-buildpackage: source changed by Flavio Stanchina <flavio@stanchina.net>
dpkg-buildpackage: host architecture i386
fakeroot debian/rules clean
dh_testdir
#dh_testroot
dh_clean
rm -fr usr opt lib etc
rm -fr extra_src
debian/rules build
dh_testdir
rpm2cpio fglrx_4_3_0-8.16.20-1.i386.rpm | cpio -i -d -f "./lib/modules/fglrx/fglrx.*.o" --no-preserve-owner
64907 blocks
# 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
# remove exec bit from files that don't deserve it
find usr/X11R6/include \
usr/X11R6/lib \
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
# extract panel source
mkdir -p extra_src/panel
tar xfzC usr/src/ATI/fglrx_panel_sources.tgz extra_src/panel
patch -d extra_src/panel -p1 -i /usr/src/fglrx-installer-8.16.20/debian/patches-8.16.20/panel.diff
patching file ATITVOExtensions.c
patching file FGLRXExtensions.c
patching file Makefile
# build panel source
make -C extra_src/panel QTDIR=/usr/share/qt3
make[1]: Entering directory `/usr/src/fglrx-installer-8.16.20/extra_src/panel'
gcc -c -g -O2 -fno-strength-reduce -funsigned-char -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/X11R6/include -I. -I./include_dummy FGLRXExtensions.c
FGLRXExtensions.c: In function 'ExtGetDriverData':
FGLRXExtensions.c:184: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness
gcc -c -g -O2 -fno-strength-reduce -funsigned-char -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/X11R6/include -I. -I./include_dummy ATITVOExtensions.c
g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/share/qt3/include -I. -I./include_dummy main.cpp
main.cpp: In function 'int main(int, char**)':
main.cpp:31: error: expected type-specifier before 'QWindowsStyle'
main.cpp:31: error: expected `)' before 'QWindowsStyle'
main.cpp:31: error: no matching function for call to 'QApplication::setStyle(int*)'
/usr/share/qt3/include/qapplication.h:89: note: candidates are: static void QApplication::setStyle(QStyle*)
/usr/share/qt3/include/qapplication.h:90: note: static QStyle* QApplication::setStyle(const QString&)
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/usr/src/fglrx-installer-8.16.20/extra_src/panel'
make: *** [extra_src/panel/fireglcontrol] Error 2
Che voi sappiate, ci sono problemi con il kernel 2.6.12-5 e i driver ati?
Ho sbagliato qualcosa io?
Da quello che ho capito, il problema nasce con le librerie qt3, però risultano installate.
Che posso fare?
Prometto che non lo farò mai più :sofico:
Grazie.