Code Comments
Programming Forum and web based access to our favorite programming groups.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 Follow-up to this messageOn 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 Follow-up to this messageRich 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 Follow-up to this messageDragan 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
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.