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.