Hello Dave,
I'm a newbie so this may not make much sense,
but if you are using the Macmillian release of Mandrake 7.0
there is something weird about the kernel in that release.
I tried to build a module against the kernel in it and got
all sorts of errors and it even refused to accept the kernel
as a 2.2 kernel! I reverted back to Mdk 6.1 till a I got a
new CD on the current issue of Maximum Linux and tried
it and it went on without a hitch. I did compare the two
kernels on the two CD's and they appeared identical. I don't
know enough about Linux to be dangerous yet, but I thought
I'd pass this experience along in hopes that it might help
someone!
Thanks for listening!
Vern
On Sun, 16 Apr 2000, you wrote:
> Hello, I recently installed Linux Manrake on my Pentium II 400 after running
> Redhat 6.1 on a different machine. I have been working on developing some
> device drivers for some data acquisition hardware, and I had one for a
> digital I/O card working fine under Redhat 6.1. When I tried to recompile it
> under Mandrake 7.0, I expected there might be some minor differences going
> from kernel 2.2.12 to 2.2.14, but what I got were seemingly hundreds of
> errors! Some of them almost seem like there were major changes in the gcc
> compiler itself. For example, when I declare my f_ops (file operations)
> structure, and pass the pointers to the various functions
> (open,close,read,write, ioctl), it flags all of them saying "There are too
> many arguments in the initialization of the f_ops structure". What's up?
> Last I checked, the C language hasn't changed much. When I compare the
> include files which declare the file operations structures between the two
> distributions, it is basically the same, there's just one extra function
> which I'm not using, so I put a NULL for the initializtion on that. Speaking
> of which, one of the errors I get from gcc is that "NULL is an undeclared
> identifier". Since when? If anyone knows what's going on, or where I can
> find all the differences between 2.2.12 and 2.2.14, I would appreciate it. I
> admit to being pretty new to Linux, but I was able to translate an older
> device driver from kernel 2.0.36 to 2.2.12 with a lot fewer headaches than
> this.
> -Dave
--
Vernon Stilwell [EMAIL PROTECTED]
RR#3 Box 168 [EMAIL PROTECTED]
Hardinsburg, KY 40143 [EMAIL PROTECTED]
[EMAIL PROTECTED]
This signature was brought to you by vi.
My other computer is a CRAY.