View Single Post
Old 05-17-06, 03:19 PM   #12
logistiker
Registered User
 
Join Date: May 2006
Location: Waller, TX
Posts: 29
Default Re: UNOFFICIAL patch for 7174 and linux2.6.16

Quote:
Originally Posted by r0b0
Hi,

Until the nvidia folks update the legacy driver, here's a quick and dirty patch which works for me:

http://deepblue.sk/~r0b0/nv-legacy-linux-2.6.16.patch

It works with gcc4.0, I haven't tested with 4.1.

Quick instructions:

# NVIDIA-Linux-x86-1.0-7174-pkg1.run --extract-only
# cd NVIDIA-Linux-x86-1.0-7174-pkg1/
# patch -p0 <~/nv-legacy-linux-2.6.16.patch
# ./nvidia-installer

When I apply this patch to the source, it rejects this:

***************
*** 12,19 ****
OUTPUT=$3

CFLAGS="-D__KERNEL__ \
- -nostdinc -isystem $ISYSTEM \
- -Werror -Wimplicit-function-declaration"

if [ "$OUTPUT" != "$SOURCES" ]; then
CFLAGS="$CFLAGS -I$OUTPUT/include2 -I$OUTPUT/include \
--- 12,19 ----
OUTPUT=$3

CFLAGS="-D__KERNEL__ \
+ -DKBUILD_BASENAME=\"#conftest$$\" -DKBUILD_MODNAME=\"#conftest$$\" \
+ -nostdinc -isystem $ISYSTEM"

if [ "$OUTPUT" != "$SOURCES" ]; then
CFLAGS="$CFLAGS -I$OUTPUT/include2 -I$OUTPUT/include \



Any ideas why?
logistiker is offline   Reply With Quote