
-pg Generate extra code to write profile information
suitable for the analysis program gprof. You must use
this option when compiling the source files you want
data about, and you must also use it when linking.


gcc -vUsing built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.3.2-1ubuntu10' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu10)
MtxMem.c: In function ‘memFileAlloc’:
MtxMem.c:79: warning: passing argument 2 of ‘ClientMemAlloc’ makes integer from pointer without a cast

1. Extract the driver instead of installing it:
sh matroxdriver_mtx-x86_32-1.4.6.2-installer.run --extract-only
2. Choose a temporary directory to extract it to when asked for, e.g. /tmp
3. After the driver has been extracted, change to this directory
cd /tmp/matroxdriver_mtx-x86_32-1.4.6.2
4. Now run the make helper and trace it
strace -f -o /tmp/trace.out ./make.sh

echo $CFLAGS


CFLAGS_RELEASE := -O2 -fomit-frame-pointer -finline-functions
CFLAGS_RELEASE := -O2 -finline-functions

install.sh
Driver "mtx"(II) Loading /usr/lib/xorg/modules/drivers//mtx_drv.so
dlopen: /usr/lib/xorg/modules/drivers//mtx_drv.so: undefined symbol: xf86errno
(EE) Failed to load /usr/lib/xorg/modules/drivers//mtx_drv.so
(II) UnloadModule: "mtx"
(EE) Failed to load module "mtx" (loader failed, 7)
(EE) No drivers available.




Return to Matrox P-Series Cards
Users browsing this forum: No registered users and 1 guest