Using system V IPC
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > Using system V IPC




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Using system V IPC  
Zaw


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-23-04 02:22 AM

I downloaded unpv22e from internet.
And I configured to run svmsg/msgcreate.c svmsg/msgsnd.c svmsg/msgrcv.c.
Although I did step by step from read me file, I just could configured.
After that, When I compile above programs, I found many errors.
How can I run above programs?





[ Post a follow-up to this message ]



    Re: Using system V IPC  
Rich Teer


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-23-04 02:22 AM

On Wed, 22 Sep 2004, Zaw wrote:

> I downloaded unpv22e from internet.
> And I configured to run svmsg/msgcreate.c svmsg/msgsnd.c svmsg/msgrcv.c.
> Although I did step by step from read me file, I just could configured.
> After that, When I compile above programs, I found many errors.
> How can I run above programs?

Try downloading the examples from my book (see www.rite-group.com/rich);
depending on which OS you're using, compiling them should be easy.
(Tested using Solaris, but I don't think there's anything platform
specific in the Sys V IPC examples.)

HTH,

--
Rich Teer, SCNA, SCSA, author of "Solaris Systems Programming",
published in August 2004.

President,
Rite Online Inc.

Voice: +1 (250) 979-1638
URL: http://www.rite-group.com/rich





[ Post a follow-up to this message ]



    Re: Using system V IPC  
Dragan Cvetkovic


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-23-04 02:22 AM

Rich Teer <rich.teer@rite-group.com> writes:

> On Wed, 22 Sep 2004, Zaw wrote:
> 
>
> Try downloading the examples from my book (see www.rite-group.com/rich);
> depending on which OS you're using, compiling them should be easy.
> (Tested using Solaris, but I don't think there's anything platform
> specific in the Sys V IPC examples.)

Except for {shm,msg,sem}ids(2), of course.

Dragan

--
Dragan Cvetkovic,

To be or not to be is true. G. Boole      No it isn't.  L. E. J. Brouwer

!!! Sender/From address is bogus. Use reply-to one !!!





[ Post a follow-up to this message ]



    Re: Using system V IPC  
Zaw


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-23-04 02:13 PM

Dragan Cvetkovic <me@privacy.net> wrote in message news:<lm65669see.fsf@privacy.net>...[vbco
l=seagreen]
> Rich Teer <rich.teer@rite-group.com> writes:
> 
>
> Except for {shm,msg,sem}ids(2), of course.
>
> Dragan[/vbcol]


Dear Sir Rich Teer and all,

Thanks a lot for ur reply....
Pls may I tell again my problem detail.....
I downloaded unpv22e from Internet to test Sys V IPC......
And then, I try to run many files from that folder....
When I compile some files the path are unpv22e/svmsg/msgcreate.c,
msgsnd.c , msgrcv.c, limits.c, I found the similar errors firstly. The
errors are
'MSG_R'undeclared (Each undeclared identifier is reported only once
for each function it appears in.)
and 'MSG_W' undeclared(first use in this function)
and also similar from msgsnd.c, with the above error and the next
error is
dereferencing pointer to incomplete type
So, I configured the header file unpipc.h and comment out some
prototypes...
After that, when I compile them again, I found the other errors....
In that time, the errors are:
In function main:undefined reference Msgget()
undefined reference Getopt()
undefined reference Ftok()
undefined reference err_quit()
So, would u mind advising to solve those errors?...

Thanks in advance,
Zaw





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:49 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register