Re: Exporting Symbols

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 07, 2002 at 05:44:19AM -0800, sudhakar rajashekhara wrote:
>   I am facing lot of problems with insmod system call.
Remember that insmod is just a tool, not a system call. The invoked system
call is create_module.

> It is giving me unresolved symbols error for semget
> and semop. I used sys_semget and sys_semop instead of
semget and semop are system calls. Good. But if I execute:
grep -r  __NR_semget /lib/modules/`uname -r`/build/include/*

on my system I get this:

/lib/modules/2.4.17-4GB/build/include/asm-alpha/unistd.h:#define __NR_semget205
/lib/modules/2.4.17-4GB/build/include/asm-ia64/unistd.h:#define __NR_semget1106
/lib/modules/2.4.17-4GB/build/include/asm-parisc/unistd.h:#define __NR_semget (__NR_Linux + 186)

So I argue that for i386, you don't have these calls. People who know the
problem better, feels free to correct me if I was wrong.

Regards
-- 
$>cd /pub
$>more beer

(0>
//\  Perego Paolo <p_perego@modiano.com> - www.sikurezza.org/angel
V_/_ 'It's seems the hardest life I've never known'
I'm Linux drow 2.4.17-4GB - SuSE Linux 7.3 (i386) powered.

Attachment: pgp00040.pgp
Description: PGP signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux