Re: problem with semaphores

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

 



That is because they might not be exported.
Check for the file /boot/System.map
But why do you want to use it? Use some better methods to achieve the 
funcitonality. Still, if you are so keen to use them refer to 
EXPORT_SYMBOLS()


Thanks,
Sumit

----- Original Message -----
From: aaaaaa qqq <br_sh_rana@yahoo.com>
Date: Thursday, March 7, 2002 1:01 pm
Subject: Re: problem with semaphores

> Even the symbols sys_semget and sys_semop are giving
> unresolved symbols error.
> 
> Rgds,
> Sudhakar.
> 
> --- Sumit Agarwal <sumit.agarwal@wipro.com> wrote:
> > You are doing an insmod of a kernel module and not a
> > library module.
> > The symbols that you have mentioned are library
> > symbols. Though semget 
> > and semop are system calls, from within the kernel
> > you are required to 
> > invoke in a different way as sys_semop(). But be
> > careful with the user 
> > data segment and kernel data segment.
> > Refer Kernelnewbies.org for more details.
> > 
> > Thanks,
> > Sumit
> > 
> > ----- Original Message -----
> > From: aaaaaa qqq <br_sh_rana@yahoo.com>
> > Date: Thursday, March 7, 2002 11:24 am
> > Subject: problem with semaphores
> > 
> > > Dear Friends,
> > > 
> > > I am using insmod and I am getting the following
> > > errors when I am trying to insert a module.
> > > 
> > > unresolved symbols: semget
> > > unresolved symbols: semop
> > > unresolved symbols: pthread_mutex_init
> > > unresolved symbols: pthread_mutex_lock
> > > unresolved symbols: pthread_mutex_trylock
> > > unresolved symbols: pthread_mutex_unlock
> > > 
> > > Can anyone help me in solving this.
> > > 
> > > regards,
> > > Sudhakar.
> > > 
> > > 
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Try FREE Yahoo! Mail - the world's greatest free
> > email!
> > > http://mail.yahoo.com/
> > > --
> > > Kernelnewbies: Help each other learn about the
> > Linux kernel.
> > > Archive:      
> > http://mail.nl.linux.org/kernelnewbies/
> > > FAQ:           http://kernelnewbies.org/faq/
> > > 
> > > 
> > > begin:vcard
> > n:Agarwal;Sumit
> > fn:Sumit Agarwal
> > tel;cell:+919845205210
> > tel;fax:+91-80-5732696
> > tel;home:+919845205210
> > tel;work:+91-805732296 / 93 extn. 5243
> > url:www.wipro.com
> > org:Wipro Technologies;SIDC, Embedded and Internet
> > Division
> > adr:;;Wipro Technologies, Chamundi Complex, No.26,
> > Hosur Main Road,
> > Bommanahalli;Bangalore;Karnataka;560068;INDIA
> > version:2.1
> > email;internet:sumit.agarwal@wipro.com
> > title:Senior Software Engineer
> > end:vcard
> > 
> > 
> > >
> 
**************************Disclaimer************************************
> > 
> > Information contained in this E-MAIL being
> > proprietary to Wipro Limited
> > is 'privileged' and 'confidential' and intended for
> > use only by the
> > individual or entity to which it is addressed. You
> > are notified that any
> > use, copying or dissemination of the information
> > contained in the E-MAIL
> > in any manner whatsoever is strictly prohibited.
> > 
> > 
> > 
> >
> ********************************************************************
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Try FREE Yahoo! Mail - the world's greatest free email!
> http://mail.yahoo.com/
> 
begin:vcard
n:Agarwal;Sumit
fn:Sumit Agarwal
tel;cell:+919845205210
tel;fax:+91-80-5732696
tel;home:+919845205210
tel;work:+91-805732296 / 93 extn. 5243
url:www.wipro.com
org:Wipro Technologies;SIDC, Embedded and Internet Division
adr:;;Wipro Technologies, Chamundi Complex, No.26, Hosur Main Road, Bommanahalli;Bangalore;Karnataka;560068;INDIA
version:2.1
email;internet:sumit.agarwal@wipro.com
title:Senior Software Engineer
end:vcard


**************************Disclaimer************************************

Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
use, copying or dissemination of the information contained in the E-MAIL
in any manner whatsoever is strictly prohibited.


 ********************************************************************

[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