Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Using system V IPC
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?

Report this thread to moderator Post Follow-up to this message
Old Post
Zaw
09-22-04 08:58 AM


Re: Using system V IPC
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

Report this thread to moderator Post Follow-up to this message
Old Post
Rich Teer
09-22-04 09:01 PM


Re: Using system V IPC
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 !!!

Report this thread to moderator Post Follow-up to this message
Old Post
Dragan Cvetkovic
09-22-04 09:01 PM


Re: Using system V IPC
Dragan Cvetkovic <me@privacy.net> wrote in message news:<lm65669see.fsf@privacy.net>...[col
or=darkred]
> Rich Teer <rich.teer@rite-group.com> writes:
> 
>
> Except for {shm,msg,sem}ids(2), of course.
>
> Dragan[/color]


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

Report this thread to moderator Post Follow-up to this message
Old Post
Zaw
09-23-04 01:57 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Unix Programming archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:15 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.