🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.linux
Article #258

Re: problem compiling in RedHat 7.1

#258
From: Per A. Larsen
Date: Tue, 18 Sep 2001 00:23
76 lines
3147 bytes
David Gilroy wrote:

> "Joost Kremers" <j.Xkremers@let.YkunZ.nl> wrote in message
> news:slrn9qbr43.qb.j.Xkremers@let00403.let.kun.nl...
> 
>>On Mon, 17 Sep 2001 20:30:17 +0930, David Gilroy <dgilroy@adam.com.au>
>>
> wrote:
> 
>>>ok folks got a problem compiling the source to the drivers provided by
>>>NVIDIA for my TNT2.
>>>
>>>i type make at  the command and what i get is sumthin like this:
>>>
>>>"[root@localhost src]# make
>>>rm -f nv.o os-interface.o os-registry.o Module-linux NVdriver
>>>
>>>
> cc -c -Wall -Wno-unknown-pragmas -Wno-multichar -O  -D__KERNEL__ -DMODULE -D
> 
> _LOOSE_KERNEL_NAMES -D_X86_=1 -Di386=1 -DUNIX -DLINUX -DNV4_HW -DNTRM -DRM20
> 
>> -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES   -DNV_MAJOR_VERSION=1 -
>>
> DN
> 
>>>V_MINOR_VERSION=0 -DNV_PATCHLEVEL=1251  -I. -I/usr/src/linux/include
>>>
> nv.c"
> 
>>>and it stops and goes back to command line.
>>>
>>yeah, of course it is, because it is finished... there is no error
>>message, so no error! there should be a file nv.o in the directory
>>
> 
>>now. you probably have to type `make install' or something to install
>>it.
>>
>>
>>--
>>Joost Kremers
>>Running SuSE7.1 and loving it!
>>
>>remove XYZ to send mail
>>
> 
> sorry i was not clear in my  initial post...there is an error.
> 
> make: cc:   Command not found
> make: *** [nv.o] Error 127
> 
> does this look familiar to anyone??
> is there a way to fix it?
> 
> thnx muchly :)
> /david
> 
> 
> 
> 

I had to edit /usr/src/linux/include/linux/autoconf.h and change:

#define CONFIG_SMP 1

to

#undef 
GONFIG_SMP 1


in the start of the file before I could compile the driver.

HTH 
Per.
Technical Details
Message-ID: <3BA69411.9090303@tpg.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!205.231.236.10!newspeer.monmouth.com!news-xfer.siscom.net!intgwlon.nntp.telstra.net!nsw.nnrp.telstra.net!dnews.tpgi.com.au!tpg.com.au
References: <8Kkp7.970$pk3.43227@ozemail.com.au> <slrn9qbr43.qb.j.Xkremers@let00403.let.kun.nl> <pipp7.1181$pk3.54782@ozemail.com.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 100c5f,a62aea1f5cbe604f
X-Google-Attributes: gid100c5f,public
X-Google-Thread: 102983,a62aea1f5cbe604f
X-Google-Attributes: gid102983,public
X-Google-ArrivalTime: 2001-09-17 17:18:43 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!205.231.236.10!newspeer.monmouth.com!news-xfer.siscom.net!intgwlon.nntp.telstra.net!nsw.nnrp.telstra.net!dnews.tpgi.com.au!tpg.com.au
Message-ID: <3BA69411.9090303@tpg.com.au>
From: "Per A. Larsen" <perlars@tpg.com.au>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010913
X-Accept-Language: en-us
MIME-Version: 1.0
Newsgroups: alt.linux,aus.computers.linux
Subject: Re: problem compiling in RedHat 7.1
References: <8Kkp7.970$pk3.43227@ozemail.com.au> <slrn9qbr43.qb.j.Xkremers@let00403.let.kun.nl> <pipp7.1181$pk3.54782@ozemail.com.au>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: 203.29.153.199
X-Original-Trace: 18 Sep 2001 10:29:03 +1000, 203.29.153.199
Lines: 77
Date: Tue, 18 Sep 2001 10:23:45 +1000
NNTP-Posting-Host: 203.12.160.33
X-Complaints-To: abuse@telstra.net
X-Trace: nsw.nnrp.telstra.net 1000772318 203.12.160.33 (Tue, 18 Sep 2001 10:18:38 EST)
NNTP-Posting-Date: Tue, 18 Sep 2001 10:18:38 EST
Organization: Customer of Telstra Big Pond Direct