Matrox driver installation issue

Asked by mahera

Hi. I am completely new to Ubuntu so if someone can help me with the following issue, please do so in the simplest possible manner! I am trying to install Matrox drivers for my graphics card and there seems to be a compilation code error.

Operating System - Ubuntu 8.10
Graphics card - Matrox Parhelia 128Mb
Single Monitor display

When I run, as root, the installation file provided by Matrox on their website (filename = mtxdriver-installer-x86_32-1.4.6.run) I get the following error message:

========================================
   Matrox Linux Driver Install Script
========================================

 Installation package v1.4.6.1

 Refreshing ld database
 Installed mtx_drv.so is the same file as the installer
 version, not installing.

 Installed v4l_drv.so is the same file as the installer
 version, not installing.

 Messages are being logged in file /tmp/make.log,
 this might take some time.

 Compiling mtx.ko ...
  ERROR: There has been an error compiling the kernel module.
       A log file has been created in the file /tmp/make.log

The program returned an error code (1)
root@Dell:/home/aidan/Desktop#

I don't understand what the output of /tmp/make.log means but here it is nevertheless:

Using kernel headers in /lib/modules/2.6.27-11-generic/build/include for kernel version 2.6.x
making all in /parhelia...
make[1]: Entering directory `/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/parhelia'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/parhelia'
making all in /mtxvxd...
make[1]: Entering directory `/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/mtxvxd'
gcc -DMEMORY_STATS=0 -DOS_LINUX -D__KERNEL__ -O2 -fomit-frame-pointer -finline-functions -DMODULE -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/../include -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/../include/mtxvxd -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/parhelia -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/parhelia/Main -I/lib/modules/2.6.27-11-generic/build/include -I/lib/modules/2.6.27-11-generic/build/include/asm/mach-default -D__NO_VERSION__ -c MtxCpu.c -o MtxCpu.o
gcc -DMEMORY_STATS=0 -DOS_LINUX -D__KERNEL__ -O2 -fomit-frame-pointer -finline-functions -DMODULE -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/../include -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/../include/mtxvxd -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/parhelia -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/parhelia/Main -I/lib/modules/2.6.27-11-generic/build/include -I/lib/modules/2.6.27-11-generic/build/include/asm/mach-default -D__NO_VERSION__ -c MtxCs.c -o MtxCs.o
gcc -DMEMORY_STATS=0 -DOS_LINUX -D__KERNEL__ -O2 -fomit-frame-pointer -finline-functions -DMODULE -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/../include -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/../include/mtxvxd -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/parhelia -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/parhelia/Main -I/lib/modules/2.6.27-11-generic/build/include -I/lib/modules/2.6.27-11-generic/build/include/asm/mach-default -D__NO_VERSION__ -c MtxIo.c -o MtxIo.o
gcc -DMEMORY_STATS=0 -DOS_LINUX -D__KERNEL__ -O2 -fomit-frame-pointer -finline-functions -DMODULE -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/../include -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/../include/mtxvxd -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/parhelia -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/parhelia/Main -I/lib/modules/2.6.27-11-generic/build/include -I/lib/modules/2.6.27-11-generic/build/include/asm/mach-default -D__NO_VERSION__ -c MtxMem.c -o MtxMem.o
MtxMem.c: In function ‘memFileAlloc’:
MtxMem.c:79: warning: passing argument 2 of ‘ClientMemAlloc’ makes integer from pointer without a cast
gcc -DMEMORY_STATS=0 -DOS_LINUX -D__KERNEL__ -O2 -fomit-frame-pointer -finline-functions -DMODULE -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/../include -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/../include/mtxvxd -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/parhelia -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/parhelia/Main -I/lib/modules/2.6.27-11-generic/build/include -I/lib/modules/2.6.27-11-generic/build/include/asm/mach-default -D__NO_VERSION__ -c MtxPci.c -o MtxPci.o
gcc -DMEMORY_STATS=0 -DOS_LINUX -D__KERNEL__ -O2 -fomit-frame-pointer -finline-functions -DMODULE -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/../include -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/../include/mtxvxd -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/parhelia -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/parhelia/Main -I/lib/modules/2.6.27-11-generic/build/include -I/lib/modules/2.6.27-11-generic/build/include/asm/mach-default -D__NO_VERSION__ -c MtxMap.c -o MtxMap.o
gcc -DMEMORY_STATS=0 -DOS_LINUX -D__KERNEL__ -O2 -fomit-frame-pointer -finline-functions -DMODULE -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/../include -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/../include/mtxvxd -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/parhelia -I/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/parhelia/Main -I/lib/modules/2.6.27-11-generic/build/include -I/lib/modules/2.6.27-11-generic/build/include/asm/mach-default -D__NO_VERSION__ -c MtxDbg.c -o MtxDbg.o
ld -r MtxCpu.o MtxCs.o MtxIo.o MtxMem.o MtxPci.o MtxMap.o MtxDbg.o -o mtxvxd.o
make[1]: Leaving directory `/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/mtxvxd'
make -C /lib/modules/2.6.27-11-generic/build M=/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic'
  CC [M] /home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/mtx_drv.o
gcc: -pg and -fomit-frame-pointer are incompatible
make[2]: *** [/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src/mtx_drv.o] Error 1
make[1]: *** [_module_/home/aidan/Desktop/matrox_feb/matroxdriver_mtx-x86_32-1.4.6.2/kernel/src] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic'
make: *** [default] Error 2

Thanks for all your help!

Aidan.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu xorg Edit question
Assignee:
No assignee Edit question
Solved by:
mahera
Solved:
Last query:
Last reply:
Revision history for this message
juancarlospaco (juancarlospaco) said :
#1

" Installed mtx_drv.so is the same file as the installer version, not installing.
Installed v4l_drv.so is the same file as the installer version, not installing. "

I think the Kernel already have the Driver, not too much powerfull graphic card, you have some troubles with it ?

Revision history for this message
mahera (aidan-maher) said :
#2

Hi Juancarlos,

I've read elsewhere that my problem might be related to the version of Xerver I have installed (7.4). Apparently the driver is not compatible with this version.

I will see if i can uninstall Ubuntu 8.10 and revert to an older version that comes with Xserver 7.3 instead.

Tks, Aidan.

Revision history for this message
midnightflash (midnightflash) said :
#3

You should try teh unofficial driver by tuxxhome.at... look into the following link:
http://forum.tuxx-home.at/viewtopic.php?t=3

Greetings

Revision history for this message
mahera (aidan-maher) said :
#4

Midnightflash,

Thanks for the pointer... I'll give that a go and see how I get on. In the meantime I have bigger fish to fry as I uninstalled xserver in a desperate attempt to downgrade to the previous version 7.3... now i have no GUI!

Rgds, Aidan.