LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-23-2004, 10:06 AM   #1
invinciblemk
LQ Newbie
 
Registered: Jan 2004
Posts: 11

Rep: Reputation: 0
Problem with insatlling a Simulator-undefined symbol flock


hai guys,

I am a newbie using solaris.I am trying to insatll a Simulator for my project called Simplescalar.I am facing error called undefined symbol flock in syscall.o(of simulator).

Then I checked syscall.c of simulator.In it I cud find

#define OSF_SYS_flock 131

#if !defined(MIN_SYSCALL_MODE)
/* ADDED BY CALDER 10/27/99 */
case OSF_SYS_flock:
/* get flock() information on the file */
{
regs->regs_R[MD_REG_V0] =
flock(/*fd*/(int)regs->regs_R[MD_REG_A0],
/*cmd*/(int)regs->regs_R[MD_REG_A1]);

/* check for an error condition */
if (regs->regs_R[MD_REG_V0] != (qword_t)-1)
regs->regs_R[MD_REG_A3] = 0;
else /* got an error, return details */
{
regs->regs_R[MD_REG_A3] = -1;
regs->regs_R[MD_REG_V0] = errno;
}
}
break;
#endif

Is it because the complier cud not undersatand what is meant by flock.

Please help me.Eagerly waiting for ur reply

thanx in advance
-mk
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
undefined symbol: __gxx_personality_v0 yll Programming 2 02-05-2008 09:53 AM
snort failed: snort: symbol lookup error: undefined symbol: usmAES192PrivProtocol Emmanuel_uk Linux - Security 1 07-10-2005 10:29 AM
undefined symbol: __cxa_pure_virtual BBB Programming 0 03-20-2005 05:07 PM
Problem s with undefined sysmbol-flock invinciblemk Linux - General 1 03-23-2004 05:40 PM
Glib-1.020 install problem Can't use an undefined value as a symbol reference jimdaworm Linux - Software 1 01-03-2004 05:32 AM


All times are GMT -5. The time now is 08:24 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration