SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The OP doesn't see a bunch of those because they use the fancy ctrl-c method of compiling, where you hit ctrl-c when you see a warning. Sure, you skip all the compiler warnings that way, but I think there are some other issues you run into with it.
Yes Iuse CTRL C to stop it, then open KDE and kill the directory and then start all over again. This is what I have been doing so I can find the errors. Egag got the same thing so I guess that I am going to have to look into the intermodule.c and see what is there that needs to be removed or commented out, will also get the nic disk out and get the tulip.c file and try to find the right directory and linker for it then maybe All will work right. I still have all the Linux 2.6.11.6 and 2.6.11.7 and the 2.4.30. I want to use the 2.6.11.7 so will have to do some serious hacking to make it work.
Yes I am a hacker, Ihave hacked programs to make them work better, not to steal them, so I will have to get my brain up and running again, in full module mode and hack the night away. Jolt Cola anyone??
This is what I have been doing so I can find the errors.
You have found a warning. Let it go.
Quote:
Egag got the same thing
And he let the warnings go. Guess what. It works.
Quote:
I guess that I am going to have to look into the intermodule.c and see what is there that needs to be removed
Let me save you the trouble. Just to assure you that I know what I'm talking about, I recieved a B- in my intro to fortran class ten years ago. To get rid of those warnings, remove intermodule.c. It's deprecated. That seems to bother you, so just cut it out like cancer.
You will have some new issues on your hand, you will soon see. When your done sorting those all out, though, make sure to send your patches upstream so the rest of the Linux community can benefit from your discovery.
You are making a mountain out of a molehill.
For your Nic card, have you tried simply adding "/sbin/modprobe tulip" to /etc/rc.d/rc.modules? Do you even have a tulip module?
quote OP-----------
Egag got the same thing so I guess that I am going to have to look into the intermodule.c and see what is there that needs to be removed or commented out,
-------------endquote
i typed that to tell you that it really doesn't matter what kind of text is flying over the screen while compiling.
if there's an error that is important, the compiler will stop.
those " warnings are not meant for the average user, it's just one of the ways
that the kernel-developers use to communicate ( i guess.... ).
tip for you : as soon as you type " make " then hit enter and shut down your monitor for some 30 min's.
then put it on again and read : " your bzImage is ready ! "
[QUOTE]Originally posted by shilo I don't know how plain my english can be.
You have found a warning. Let it go.
And he let the warnings go. Guess what. It works.[QUOTE]
All warnings are there because......
Quote:
Let me save you the trouble. Just to assure you that I know what I'm talking about, I recieved a B- in my intro to fortran class ten years ago. To get rid of those warnings, remove intermodule.c. It's deprecated. That seems to bother you, so just cut it out like cancer.
Will seed through it and try to find the errant issues.
Quote:
You will have some new issues on your hand, you will soon see. When your done sorting those all out, though, make sure to send your patches upstream so the rest of the Linux community can benefit from your discovery.
As for that, you know I will, Linux is a nice Open source project, why would I stop there?
Quote:
You are making a mountain out of a molehill.
Large Mountain, small mole hill. Hmm......bugs are bugs, and they don't belong in programs, they are 6 and 8 legged insects, not things in my computer.
Quote:
For your Nic card, have you tried simply adding "/sbin/modprobe tulip" to /etc/rc.d/rc.modules? Do you even have a tulip module?
Well by default the 2.4.29 Kernel has it setup and oddly the KDE Hardware Probe says it's a NetworekEverywhere by Linksys 10/100 NIC, so maybe I will try what you say and see what it says. I am still awaiting the funds for my Linux Bible so I have a lot more to work with.
Originally posted by shilo But warnings are not errors. Get it?
I knew if I looked carefully I would see it. Now for the good news, this is for Modules, Read carefully. Secondly did the full make all, the modules I have are the file systems I do not use by default, and the sound. The only modules that should actually be set. I figured out the NIc and also figured out how to make it work. Enable everything that pertains to the NIC and IPv4 IP IPv6 and akl the filters and everything that is there. Only one NIC enabled. I as of yet have to actually make install and make modules_install, but the only errors I had in the entire compile are with this inforamtion. So if all goes well then I will be using Linux 2.6.11.7 as of the next 45 minutes.
/* Deprecated, do not use. Moved from module.c to here. --RR */
/* Written by Keith Owens <kaos@ocs.com.au> Oct 2000 */
#include <linux/module.h>
#include <linux/kmod.h>
#include <linux/spinlock.h>
#include <linux/list.h>
#include <linux/slab.h>
/* inter_module functions are always available, even when the kernel is
* compiled without modules. Consumers of inter_module_xxx routines
* will always work, even when both are built into the kernel, this
* approach removes lots of #ifdefs in mainline code.
*/
static struct list_head ime_list = LIST_HEAD_INIT(ime_list);
static DEFINE_SPINLOCK(ime_lock);
static int kmalloc_failed;
struct inter_module_entry {
struct list_head list;
const char *im_name;
struct module *owner;
const void *userdata;
};
/**
* inter_module_register - register a new set of inter module data.
* @im_name: an arbitrary string to identify the data, must be unique
* @owner: module that is registering the data, always use THIS_MODULE
* @userdata: pointer to arbitrary userdata to be registered
*
* Description: Check that the im_name has not already been registered,
* complain if it has. For new data, add it to the inter_module_entry
* list.
*/
void inter_module_register(const char *im_name, struct module *owner, const void *userdata)
{
struct list_head *tmp;
struct inter_module_entry *ime, *ime_new;
if (!(ime_new = kmalloc(sizeof(*ime), GFP_KERNEL))) {
/* Overloaded kernel, not fatal */
printk(KERN_ERR
"Aiee, inter_module_register: cannot kmalloc entry for '%s'\n",
im_name);
kmalloc_failed = 1;
return;
}
memset(ime_new, 0, sizeof(*ime_new));
ime_new->im_name = im_name;
ime_new->owner = owner;
ime_new->userdata = userdata;
spin_lock(&ime_lock);
list_for_each(tmp, &ime_list) {
ime = list_entry(tmp, struct inter_module_entry, list);
if (strcmp(ime->im_name, im_name) == 0) {
spin_unlock(&ime_lock);
kfree(ime_new);
/* Program logic error, fatal */
printk(KERN_ERR "inter_module_register: duplicate im_name '%s'", im_name);
BUG();
}
}
list_add(&(ime_new->list), &ime_list);
spin_unlock(&ime_lock);
}
/**
* inter_module_unregister - unregister a set of inter module data.
* @im_name: an arbitrary string to identify the data, must be unique
*
* Description: Check that the im_name has been registered, complain if
* it has not. For existing data, remove it from the
* inter_module_entry list.
*/
void inter_module_unregister(const char *im_name)
{
struct list_head *tmp;
struct inter_module_entry *ime;
spin_lock(&ime_lock);
list_for_each(tmp, &ime_list) {
ime = list_entry(tmp, struct inter_module_entry, list);
if (strcmp(ime->im_name, im_name) == 0) {
list_del(&(ime->list));
spin_unlock(&ime_lock);
kfree(ime);
return;
}
}
spin_unlock(&ime_lock);
if (kmalloc_failed) {
printk(KERN_ERR
"inter_module_unregister: no entry for '%s', "
"probably caused by previous kmalloc failure\n",
im_name);
return;
}
else {
/* Program logic error, fatal */
printk(KERN_ERR "inter_module_unregister: no entry for '%s'", im_name);
BUG();
}
}
/**
* inter_module_get - return arbitrary userdata from another module.
* @im_name: an arbitrary string to identify the data, must be unique
*
* Description: If the im_name has not been registered, return NULL.
* Try to increment the use count on the owning module, if that fails
* then return NULL. Otherwise return the userdata.
*/
const void *inter_module_get(const char *im_name)
{
struct list_head *tmp;
struct inter_module_entry *ime;
const void *result = NULL;
spin_lock(&ime_lock);
list_for_each(tmp, &ime_list) {
ime = list_entry(tmp, struct inter_module_entry, list);
if (strcmp(ime->im_name, im_name) == 0) {
if (try_module_get(ime->owner))
result = ime->userdata;
break;
}
}
spin_unlock(&ime_lock);
return(result);
}
/**
* inter_module_get_request - im get with automatic request_module.
* @im_name: an arbitrary string to identify the data, must be unique
* @modname: module that is expected to register im_name
*
* Description: If inter_module_get fails, do request_module then retry.
*/
const void *inter_module_get_request(const char *im_name, const char *modname)
{
const void *result = inter_module_get(im_name);
if (!result) {
request_module("%s", modname);
result = inter_module_get(im_name);
}
return(result);
}
/**
* inter_module_put - release use of data from another module.
* @im_name: an arbitrary string to identify the data, must be unique
*
* Description: If the im_name has not been registered, complain,
* otherwise decrement the use count on the owning module.
*/
void inter_module_put(const char *im_name)
{
struct list_head *tmp;
struct inter_module_entry *ime;
spin_lock(&ime_lock);
list_for_each(tmp, &ime_list) {
ime = list_entry(tmp, struct inter_module_entry, list);
if (strcmp(ime->im_name, im_name) == 0) {
if (ime->owner)
module_put(ime->owner);
spin_unlock(&ime_lock);
return;
}
}
spin_unlock(&ime_lock);
printk(KERN_ERR "inter_module_put: no entry for '%s'", im_name);
BUG();
}
EXPORT_SYMBOL(inter_module_register);
EXPORT_SYMBOL(inter_module_unregister);
EXPORT_SYMBOL(inter_module_get);
EXPORT_SYMBOL(inter_module_get_request);
EXPORT_SYMBOL(inter_module_put);
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.