<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1226" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#f3f3f3>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>I have been
using Axel's ATrpms and following Jarod's step-by-step guide to building a
mythtv box under RH9 with ATrpms, on an old Dell Dimension with a 1.6 GHz P4, 1
GB RAM, Nvidia GeForce 4 Ti4400. and PVR-350. Axel's ATrpms are
great... making the task much easier than using CVS. And the instructions
written by Jarod (and Chris) are very detailed and helpful. My only
complaint was that I did not find out about the ATrpm option and Jarod's
guide until I had worked through a considerable portion of the main HOWTO
instructions on downloading the MythTV source from CVS and compiling
everything. Maybe there should be a link on the main mythtv.org web page
to this guide and the ATrpms site?</FONT></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>Well,
everything went fine until I got to step 8 of Jarod's guide.
</FONT><FONT face="Times New Roman" size=3>I downloaded the Nvidia driver
that he specifies in the instructions (1.0-4363), but could not compile the
interface (module) for the ATrpms kernel
(linux-2.4.20-20_29.rh9.at). The error simply stated "ERROR: Unable to
build the NVIDIA kernel module." It is a very vague error statement, so I
attached the end of /var/log/nvidia-installer.log file (I could not post
the whole log file because of the mailing list size limit... if anyone needs to
see the entire log file, I can email it directly.) It looks like it made
it to line 2701 in the nv.c file. I also tried downloading the latest
Nvidia driver (1.0-4496), but the result was the same. Any ideas on how to
get past this? There was brief mention of some ATrpms for the nvidia
driver in Jarod's guide. Are those ready yet? Does this compilation
reference the ".config" file from the active kernel? I started to compile
a custom kernel when I was following the main MythTV HOWTO instructions, before
discovering the ATrpms and Jarod/Chris' guide. I had done a "make xconfig"
and a "make dep" in the /usr/src/linux-2.4.20-20.9 directory. Could the
Nvidia makefile be looking at the wrong .config file? This is the only
idea I have at the moment. How can I be sure that the Nvidia script is
referencing the linux-2.4.20-20_29.rh9.at kernel and corresponding
".config"? I am may be way off here.. it could cetrainly be something
else. This is the only thing that I possibly did different from Jarod's
instructions. BTW, why is the nvidia installer using cc and not gcc to
compile the module?</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>I would really
like to get this working because this driver seems to provide better overall
graphics quality than the default nv driver that comes with RH9, and also
because I would like to use the Nvidia TV-out port. However, I do
have a PVR-350. So, if I could get the TV-out port working on the PVR-350,
then I would not need to worry about<BR>getting the Nvidia TV-out working.
Although, based on the discussion posted here, it seems there is no guarantee
that I will get the PVR-350 TV-out working. It sure would be nice to
get them both working so that I could make a detailed comparison
of Nvidia TV-out with PVR-350 TV-out. Has anyone made such a
comparison? </FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2>Many Thanks,</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2>Chad</FONT></FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT
face="Courier New">============================================================================<BR>
/var/log/nvidia-installer.log<BR> creation time: Thu Nov 13 06:08:25
2003<BR>============================================================================<BR><FONT
size=2> </FONT>option status:<BR> license
pre-accepted : false<BR>
update
: false<BR> force
update :
false<BR>
expert
: false<BR>
uninstall
: false<BR> driver
info :
false<BR> no precompiled interface: false<BR> no ncurses
color : false<BR> query latest
driver ver : false<BR> OpenGL header files :
false<BR> no
questions :
false<BR>
silent
: false<BR> XFree86 install prefix : /usr/X11R6<BR> OpenGL
install prefix : /usr<BR> Installer install prefix:
/usr<BR> kernel include path : (not
specified)<BR> kernel install path : (not
specified)<BR> proc mount point
: /proc<BR>
ui
: (not specified)<BR>
tmpdir
: /tmp<BR> ftp
site
: </FONT><A href="ftp://download.nvidia.com"><FONT
face="Courier New">ftp://download.nvidia.com</FONT></A><BR><BR><FONT
face="Courier New">Using: nvidia-installer ncurses user interface<BR>->
License accepted.<BR>-> No precompiled kernel interface was found to match
your kernel; would<BR>you li<BR> ke the installer to attempt to
download a kernel interface for your<BR>kernel f<BR> rom the NVIDIA
ftp site (</FONT><A href="ftp://download.nvidia.com"><FONT
face="Courier New">ftp://download.nvidia.com</FONT></A><FONT
face="Courier New">)? (Answer: Yes)<BR>-> No matching precompiled kernel
interface was found on the NVIDIA ftp<BR>site;<BR> this means that
the installer will need to compile a kernel interface<BR>for<BR>
your kernel.<BR>-> Kernel include path:
'/lib/modules/2.4.20-20_29.rh9.at/build/include'<BR>-> Cleaning kernel module
build directory.<BR> executing: 'cd ./usr/src/nv; make
clean'...<BR> rm -f nv.o os-agp.o os-interface.o os-registry.o
nv-linux.o<BR>nv_compiler.h *<BR> .d NVdriver nvidia.o<BR>->
Building kernel module:<BR> executing: 'cd ./usr/src/nv; make
nvidia.o<BR>SYSINCLUDE=/lib/modules/2.4.20-20<BR>
_29.rh9.at/build/include'...<BR> echo \#define NV_COMPILER \"`cc -v
2>&1 | tail -n 1`\" ><BR>nv_compiler.h<BR> cc -c -Wall
-Wimplicit -Wreturn-type -Wswitch -Wformat<BR>-Wchar-subscripts
-Wp<BR> arentheses -Wpointer-arith -Wcast-qual -Wno-multichar
-O -MD<BR>-D__KERNEL__ -<BR> DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM
-D_GNU_SOURCE<BR>-D_LOOSE_KERNEL_NAMES -D_<BR> _KERNEL__
-DMODULE -DNV_MAJOR_VERSION=1
-DNV_MINOR_VERSION=0<BR>-DNV_PATCHLEVE<BR> L=4496
-DNV_UNIX -DNV_LINUX -DNV_INT64_OK
-DNVCPU_X86 <BR>-DREMAP_PA<BR>
GE_RANGE_5 -I.
-I/lib/modules/2.4.20-20_29.rh9.at/build/include<BR>-Wno-cast-q<BR>
ual nv.c<BR> In file included from
nv-linux.h:27,<BR>
from nv.c:14:<BR>
/lib/modules/2.4.20-20_29.rh9.at/build/include/linux/kernel.h:60:<BR>invalid
su<BR> ffix on integer constant<BR>
/lib/modules/2.4.20-20_29.rh9.at/build/include/linux/kernel.h:60:<BR>parse
erro<BR> r before numeric constant<BR>
/lib/modules/2.4.20-20_29.rh9.at/build/include/linux/kernel.h:61:<BR>invalid
su<BR> ffix on integer constant<BR>
/lib/modules/2.4.20-20_29.rh9.at/build/include/linux/kernel.h:61:<BR>parse
erro<BR> r before numeric constant<BR>
/lib/modules/2.4.20-20_29.rh9.at/build/include/linux/kernel.h:62:<BR>`panic_R_v<BR>
er_str' declared as function returning a function<BR>
/lib/modules/2.4.20-20_29.rh9.at/build/include/linux/kernel.h:68:<BR>parse
erro<BR> r before numeric constant<BR>
/lib/modules/2.4.20-20_29.rh9.at/build/include/linux/kernel.h:68:<BR></DIV><FONT
size=2></FONT></FONT>
<DIV><FONT face="Courier New" size=2> . . . . . </FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT><EM>[I cut the middle of the log file out here so that it would be
short enough to send through the mailing list, hopefully this leaves enough to
figure out what is causing the problem.. if anyone wants to see the whole log
file, email me directly at </EM><A
href="mailto:dr_chad@cox.net"><EM>dr_chad@cox.net</EM></A><EM>]</EM></FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2> . . . . . </FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New">
m.h:22,<BR>
from<BR>/lib/modules/2.4.20-20_29.rh9.at/build/include/linux/s<BR>
lab.h:14,<BR>
from
nv-linux.h:71,<BR>
from nv.c:14:<BR>
/lib/modules/2.4.20-20_29.rh9.at/build/include/linux/dcache.h: In<BR>function
`<BR> dget':<BR>
/lib/modules/2.4.20-20_29.rh9.at/build/include/linux/dcache.h:254:<BR>warning:
<BR> implicit declaration of function
`__out_of_line_bug_R8b0fd3c5'<BR> In file included
from<BR>/lib/modules/2.4.20-20_29.rh9.at/build/include/linux/v<BR>
malloc.h:8,<BR>
from
nv-linux.h:72,<BR>
from nv.c:14:<BR>
/lib/modules/2.4.20-20_29.rh9.at/build/include/linux/highmem.h: In<BR>function
<BR> `bh_kmap':<BR>
/lib/modules/2.4.20-20_29.rh9.at/build/include/linux/highmem.h:20:<BR>warning:
<BR> pointer of type `void *' used in arithmetic<BR> In
file included from nv.c:14:<BR> nv-linux.h: In function
`pgprot_noncached':<BR> nv-linux.h:508: `boot_cpu_data_R0657d037'
undeclared (first use in<BR>this func<BR> tion)<BR>
nv-linux.h:508: (Each undeclared identifier is reported only
once<BR> nv-linux.h:508: for each function it appears
in.)<BR> nv.c: In function `nvos_proc_create':<BR>
nv.c:623: warning: implicit declaration of
function<BR>`sprintf_R1d26aa98'<BR> nv.c: In function
`nv_agp_init':<BR> nv.c:2700: warning: implicit declaration of
function<BR>`inter_module_get_Rf6a0<BR> ce24'<BR>
nv.c:2701: warning: implicit declaration of
function<BR>`inter_module_put_R6b99<BR> f7d8'<BR> make:
*** [nv.o] Error 1<BR>-> Error.<BR>ERROR: Unable to build the NVIDIA kernel
module.<BR>ERROR: Installation has failed. Please see the
file<BR> '/var/log/nvidia-installer.log' for
details. You may
find<BR>suggestions<BR> on fixing
installation problems in the README available on
the<BR>Linux<BR> driver download page at
</FONT><A href="http://www.nvidia.com"><FONT
face="Courier New">www.nvidia.com</FONT></A><FONT
face="Courier New">.<BR></FONT></DIV>
<DIV><FONT size=2><FONT size=3><FONT face="Courier New"
size=2></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3><FONT
face=Arial size=2></FONT> </DIV>
<DIV><BR></DIV></FONT>
<DIV><BR></DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman"
size=3></FONT> </DIV>
<DIV><BR></DIV></FONT></BODY></HTML>