lkml.org 
[lkml]   [1996]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ibcs2 modules..
rgds wrote:
> Hi there,
> I recently upgraded from 1.2.13 to 2.0.0 , so of course when insmod
> goes to fire up /usr/lib/modules/iBCS I get the -
>
...stuff omitted...
> anyway I do my make... things start rolling, then wammo.
>
> ../include/ibcs/ibcs.h:32: warning: function declaration isn't a prototype
> emulate.c:240: redefinition of `kernel_version'
> /usr/include/linux/module.h:95: `kernel_version' previously defined here
> make[1]: *** [emulate.o] Error 1
> make[1]: Leaving directory `/usr/src/ibcs/iBCSemul'
> make: *** [all] Error 2
>
...more stuff omitted...

Are you using Debian? Debian includes a set of custom kernel headers
instead of using the symlinks suggested by the README file in the
top level of the kernel source. I would suggest reading this file,
probably located at /usr/src/kernel-source-2.0.0/README under Debian,
and replacing the custom kernel headers with symlinks to the actual
kernel include files. I have had no trouble with module compilation
after I adjusted this silliness in Debian 1.1.

Hope this helps.
Erik

--
Erik B. Andersen
2485 South State St. email: andersee@et.byu.edu
Springville, Ut 84663 phone: (801) 489-1231
--This message was written using 73% post-consumer electrons--


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.027 / U:5.956 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site