Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Mrpoper Please Help!
whoami
post Jan 9 2004, 09:20 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 9-January 04
Member No.: 2,113



hi guys,

I am writing a usb driver for linux (2.4.20-8) and I got it to compile, with some warnings, while trying to fix those errors I ran 'make mrproper'. Now when I try to compile I get a lot of header errors I wasn't getting before and now it doesn't even compile. please I am getting desperate. Here are what the errors look like:

In file included from /lib/modules/2.4.20-8/build/include/linux/sched.h:16,
from /lib/modules/2.4.20-8/build/include/linux/usb.h:137,
from smhome.c:15:
/lib/modules/2.4.20-8/build/include/linux/timex.h:173: field `time' has incomplete type
In file included from /lib/modules/2.4.20-8/build/include/linux/bitops.h:69,
from /usr/include/asm/system.h:7,
from /lib/modules/2.4.20-8/build/include/linux/sched.h:19,
from /lib/modules/2.4.20-8/build/include/linux/usb.h:137,
from smhome.c:15:
/usr/include/asm/bitops.h:327:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:328:2: warning: #warning Using kernel headers in userspace: atomicity not guaranteed
In file included from /lib/modules/2.4.20-8/build/include/linux/fs.h:298,
from /lib/modules/2.4.20-8/build/include/linux/tty.h:20,
from /lib/modules/2.4.20-8/build/include/linux/sched.h:26,
from /lib/modules/2.4.20-8/build/include/linux/usb.h:137,
from smhome.c:15:
/lib/modules/2.4.20-8/build/include/linux/ext3_fs_i.h:75: field `truncate_sem' has incomplete type
In file included from /lib/modules/2.4.20-8/build/include/linux/fs.h:299,
from /lib/modules/2.4.20-8/build/include/linux/tty.h:20,
from /lib/modules/2.4.20-8/build/include/linux/sched.h:26,
from /lib/modules/2.4.20-8/build/include/linux/usb.h:137,
from smhome.c:15:


I'm thinking ther might be a problem with the header paths or something like that. I gues I am asking if there is a way to undo/fix what ever make mrpoper does.

thanks
Go to the top of the page
 
+Quote Post
hughesjr
post Jan 10 2004, 02:31 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



Copy the config file (if you saved it) from the previous kernel compile (or if the kernel is a premade one, copy the config-xxxx file from the /boot) to /usr/src/kernel-source-dir/.config ... once you have .config then run the command (from within the /usr/src/kernel-source-dir):

make oldconfig

then

make dep

and you should be back to normal....


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th October 2017 - 03:37 PM