[Top] [All Lists]

modules in kernel 2.2.14

To: "" <>
Subject: modules in kernel 2.2.14
From: Rabeeh Khoury <>
Date: Tue, 05 Sep 2000 14:39:44 -0400
Hi All

I'm running Kernel 2.2.14 with the Manhatten RPM's

I compiled modutils the I took from RedHat 6.1 SRPM and generated insmod

I copied the kernel header files to directory /usr/src/linux.2.2.14,
then tried the following module :

file module.c

#define MODULE
#include <linux/module.h>

int init_module (void) {printk ("<1>Hello, world\n");return 0;}
void cleanup_module(void) {printk ("<1>Goodbye cruel world\n");}

gcc -c -I/usr/src/linux.2.2.14/include/ module.c
insmod module.o

and I get the following errir :

module.o: unresolved symbol _gp_disp

Where this symbol missing, in the kernel or in the module ??!!
Did any one encounter this kind of problem ? or have any alternative
solution ?


Attachment: rabeeh.vcf
Description: Card for Rabeeh Khoury

<Prev in Thread] Current Thread [Next in Thread>