LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-06-2003, 04:36 PM   #1
eXor
Member
 
Registered: Mar 2002
Location: Sweden
Distribution: Slackware 10.1
Posts: 103

Rep: Reputation: 15
Problem when running make?


I can't compile. I get several errors. Here is the beging when i run make in the nforce catalog.

[root@localhost nforce]# make
make -C nvnet
make[1]: Entering directory `/tmp/nforce/nvnet'
cc -c -Wall -DLINUX -DMODULE -DEXPORT_SYMTAB -D__KERNEL__ -O -Wstrict-prototypes -DCONFIG_PM -fno-strict-aliasing
-mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -I/lib/modules/2.4.20-19.9/build/include
nvnet.c
I fil inkluderad från /usr/include/linux/module.h:20,
från nvnet.h:20,
från nvnet.c:21:
/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but rather headers from an appropriate kernel-source package.
/usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or similar) to
/usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname -r)/build/include
/usr/include/linux/modversions.h:5:2: #error to build against the currently-running kernel.
I fil inkluderad från /usr/include/linux/fs.h:23,
från /usr/include/linux/capability.h:17,
från /usr/include/linux/binfmts.h:5,
från /usr/include/linux/sched.h:9,
från nvnet.h:23,
från nvnet.c:21:
/usr/include/linux/string.h:8:2: varning: #warning Using kernel header in userland!
I fil includerad från /usr/include/linux/sched.h:14,
från nvnet.h:23,
från nvnet.c:21:
/usr/include/linux/timex.h:173: fält "time" har en inkomplett typ

Many things are in swedish and somthing got strange when i copied it from my redhat.

å =
I fil inkluderad från = in file included from
varning = warning

Hope you can see somthing from this!!
I noticed somthing. In the first line i saw this -march=i686 shouldn't be -march=athlon.
How can i fix this to be athlon.
(also when i try to run rpmbuild -bb nvnet.spec I got error like this "error: architech not right: i386" It's not exakt because i can't copy from linux so well. Hope you understand what I mean. Why is it not athlon that it's compiled with)

Plase help me get my network work?
 
Old 08-06-2003, 06:28 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Normally, you do:
./configure
make
make install

Have you looked through the readme/install docs to be sure you aren't missing any switches?
 
Old 08-07-2003, 06:11 AM   #3
eXor
Member
 
Registered: Mar 2002
Location: Sweden
Distribution: Slackware 10.1
Posts: 103

Original Poster
Rep: Reputation: 15
possitiv...I have made excatly as the readme file!
 
Old 08-08-2003, 05:19 AM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Are these Nvidia drivers for a graphics card?
 
Old 08-08-2003, 07:10 AM   #5
eXor
Member
 
Registered: Mar 2002
Location: Sweden
Distribution: Slackware 10.1
Posts: 103

Original Poster
Rep: Reputation: 15
no...they are for the network card!

I've got the 2.40.20-19.9 kernerl from redhat. And there are no rpm patch for that kernerl.

Last edited by eXor; 08-08-2003 at 07:11 AM.
 
Old 08-13-2003, 12:15 PM   #6
eXor
Member
 
Registered: Mar 2002
Location: Sweden
Distribution: Slackware 10.1
Posts: 103

Original Poster
Rep: Reputation: 15
Now I have solved my problem. I did not have the kernel source installed for my new kernel. When I installed that it worked like a charm...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GENTOO - problem running 'make load' for selinux policy Snerkel Linux - Distributions 3 09-22-2006 12:30 AM
GENTOO - problem running 'make load' for selinux policy Snerkel Linux - Software 1 01-24-2005 01:29 AM
Problem running make menuconfig cb9fl Slackware 8 12-07-2004 02:49 AM
Problem running make xconfig The GingerNinja Linux - Newbie 2 08-23-2004 09:45 AM
problem running the make command Cszikszoy Linux - Software 2 06-08-2004 10:27 AM


All times are GMT -5. The time now is 02:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration