Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-16-06, 06:32 AM   #1
nvtester
Registered User
 
Join Date: Jan 2006
Posts: 2
Default compilation breaks after update to gcc4.1 etc

Hi,
I just tried an update of my fc5 test1 system to the latest rpms (gcc4.1 etc...)
and now compilation fails.
Of course I can't expect you (nvidia) to have something working for unreleased systems, but do you have some estimate of the timeframe for the next driver release, where this could be fixed?

thanks
robert

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Jan 16 13:10:50 2006

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
OpenGL header files : true
no questions : false
silent : false
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : false
no ABI note : false
no RPMs : false
force tls : (not specified)
force compat32 tls : (not specified)
X install prefix : /usr/X11R6
OpenGL install prefix : /usr
compat32 install prefix : (not specified)
installer install prefix: /usr
utility install prefix : /usr
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : (not specified)
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : none
tmpdir : /tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)

Using built-in stream user interface
-> License accepted.
-> There appears to already be a driver installed on your system (version: 1.0-
8178). As part of installing this driver (version: 1.0-8178), the existing
driver will be uninstalled. Are you sure you want to continue? ('no' will a
bort installation) (Answer: Yes)
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No)
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Performing CC test with CC="cc".
-> Kernel source path: '/lib/modules/2.6.15-1.1854_FC5/source'
-> Kernel output path: '/lib/modules/2.6.15-1.1854_FC5/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os-
agp.o os-interface.o os-registry.o nvidia.mod.o
rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
rm -f -f stprof stprof.o symtab.h
rm -f -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.15-1.1854_F
C5/source SYSOUT=/lib/modules/2.6.15-1.1854_FC5/build'...

NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.15-1.1854_FC5/build KBUILD_VERBOSE
=1 -C /lib/modules/2.6.15-1.1854_FC5/source SUBDIRS=/tmp/selfgz10067/NVIDIA-
Linux-x86_64-1.0-8178-pkg2/usr/src/nv modules
make -C /lib/modules/2.6.15-1.1854_FC5/build \
KBUILD_SRC=/usr/src/kernels/2.6.15-1.1854_FC5-x86_64 \
KBUILD_EXTMOD="/tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv
" -f /usr/src/kernels/2.6.15-1.1854_FC5-x86_64/Makefile modules
mkdir -p /tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/.tmp_
versions
make -f /usr/src/kernels/2.6.15-1.1854_FC5-x86_64/scripts/Makefile.build obj
=/tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz10067/NV
IDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/.
nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.0/include -D
__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.15-1.1854_FC5-x86_64/
include -include include/linux/autoconf.h -I/tmp/selfgz10067/NVIDIA-Linux-x
86_64-1.0-8178-pkg2/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigra
phs -fno-strict-aliasing -fno-common -ffreestanding -Os -fomit-frame-pointer
-g -march=k8 -mtune=nocona -m64 -mno-red-zone -mcmodel=kernel -pipe -fno-reo
rder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-ti
me -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wdeclaration-after-statement -Wno
-pointer-sign -I/tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/
nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wpare
ntheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -mno-red-zone
-minline-all-stringops -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE
_KERNEL_NAMES -D__KERNEL__ -DMODULE -mcmodel=kernel -DNTRM -DNVRM -DDYNAMIC_
SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8178 -UDEBUG -
U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_CHANGE_PAGE_ATTR_
PRESEN
T -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUIL
D_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0
-8178-pkg2/usr/src/nv/.tmp_nv.o /tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-817
8-pkg2/usr/src/nv/nv.c
In file included from include/linux/sched.h:15,
from include/linux/module.h:10,
from /tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr
/src/nv/nv-linux.h:47,
from /tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr
/src/nv/nv.c:14:
include/linux/cpumask.h: In function ‘__first_cpu’:
include/linux/cpumask.h:219: warning: signed and unsigned type in conditiona
l expression
include/linux/cpumask.h: In function ‘__next_cpu’:
include/linux/cpumask.h:225: warning: signed and unsigned type in conditiona
l expression
In file included from include/linux/sched.h:17,
from include/linux/module.h:10,
from /tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr
/src/nv/nv-linux.h:47,
from /tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr
/src/nv/nv.c:14:
include/linux/nodemask.h: In function ‘__first_node’:
include/linux/nodemask.h:230: warning: signed and unsigned type in condition
al expression
include/linux/nodemask.h: In function ‘__next_node’:
include/linux/nodemask.h:236: warning: signed and unsigned type in condition
al expression
include/linux/nodemask.h: In function ‘__first_unset_node’:
include/linux/nodemask.h:254: warning: signed and unsigned type in condition
al expression
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:42,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from /tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr
/src/nv/nv-linux.h:47,
from /tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr
/src/nv/nv.c:14:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:523,
from /tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr
/src/nv/nv-linux.h:71,
from /tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr
/src/nv/nv.c:14:
include/asm/io.h: In function ‘check_signature’:
include/asm/io.h:308: warning: wrong type argument to increment
In file included from include/asm/pci.h:95,
from include/linux/pci.h:650,
from /tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr
/src/nv/nv-linux.h:71,
from /tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr
/src/nv/nv.c:14:
include/asm-generic/pci-dma-compat.h: In function ‘pci_map_page’:
include/asm-generic/pci-dma-compat.h:49: warning: pointer of type ‘void *� used in arithmetic
In file included from include/linux/compat.h:15,
from include/asm/mtrr.h:28,
from /tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr
/src/nv/nv-linux.h:103,
from /tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr
/src/nv/nv.c:14:
include/asm/compat.h: In function ‘compat_alloc_user_space’:
include/asm/compat.h:202: warning: pointer of type ‘void *’ used in arit
hmetic
In file included from /tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr
/src/nv/nv.c:14:
/tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv-linux.h:535
:2: error: #error "vmap() appears to be unavailable in this kernel!"
/tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv-linux.h:677
:2: warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
/tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c: At top l
evel:
/tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c:296: warn
ing: initialization from incompatible pointer type
/tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c: In funct
ion ‘nvos_get_agp_device_by_class’:
/tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c:502: warn
ing: implicit declaration of function ‘pci_find_class’
/tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c:502: warn
ing: assignment makes pointer from integer without a cast
/tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c:516: warn
ing: assignment makes pointer from integer without a cast
/tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c: In funct
ion ‘nv_kern_vma_nopage’:
/tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c:1636: err
or: ‘mem_map’ undeclared (first use in this function)
/tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c:1636: err
or: (Each undeclared identifier is reported only once
/tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c:1636: err
or: for each function it appears in.)
/tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c: In funct
ion ‘nv_kern_mmap’:
/tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c:1979: war
ning: implicit declaration of function ‘remap_page_range’
/tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c: In funct
ion ‘nvos_count_devices’:
/tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c:3641: war
ning: assignment makes pointer from integer without a cast
/tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/nv.c:3647: war
ning: assignment makes pointer from integer without a cast
make[4]: *** [/tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/src/nv/
nv.o] Error 1
make[3]: *** [_module_/tmp/selfgz10067/NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr
/src/nv] Error 2
make[2]: *** [modules] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [mdl] Error 1
make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.
nvtester is offline   Reply With Quote
Old 01-16-06, 07:06 AM   #2
kmare
Registered User
 
Join Date: Jul 2003
Location: greece
Posts: 180
Send a message via ICQ to kmare
Default Re: compilation breaks after update to gcc4.1 etc

apply the patch for gcc 4.1 from here:
http://www.nvnews.net/vbulletin/showthread.php?t=62021
kmare is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Making Progress: Tribes Ascend's Accelerate Update News Archived News Items 0 06-12-12 07:30 AM
Tribes: Ascend Staying Alive update adds sticky grenades, disco Brute News Archived News Items 0 05-22-12 07:10 AM

All times are GMT -5. The time now is 03:35 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.