Re: [newbie] GCC problems

2002-06-22 Thread civileme
Matt Dalen wrote: insmod is used for loading kernel modules. That means you need to be in root mode and logged to /usr/src/linux and make mrproper make deps make modules install (and of course hello.c would have to be added to the kernel modules source code and appropriate headers

Re: [newbie] GCC problems

2002-06-21 Thread civileme
Matt Dalen wrote: I've been trying to compile a simple module, but I've been having trouble with GCC. I input: gcc -c hello.c insmod hello.o and it outputs an error message, saying that hello.o was compiled for kernel version 2.4.18, and that I'm using kernel version 2.4.18-6mdk. Does anyone

Re: [newbie] gcc problems

2001-06-18 Thread Sridhar Dhanapalan
The Mandrake 8.0 GCC is not the same as the unstable GCC used in Red Hat 7.0 and 7.1. Unfortunately, for technical reasons, the Mandrake developers decided to use the same version number as Red Hat used for their GCC (2.96), creating heaps of confusion in the process. Mandrake have been

[newbie] gcc problems

2001-06-18 Thread Adam Willcox
I've heard and read rumors that the version of gcc included in Mandrake 8.0 is bad. As evidence I recently upgraded my nvidia video driver and had to compile it about 50 times before the module would successfully load. Has anyone else heard, read, or otherwise experienced the same?