Mail Archives: cygwin/2010/07/30/01:16:38
X-Recipient: | archive-cygwin AT delorie DOT com
|
X-SWARE-Spam-Status: | No, hits=3.4 required=5.0 tests=BAYES_50,DKIM_ADSP_CUSTOM_MED,FORGED_YAHOO_RCVD,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_PASS,TW_YG,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
|
X-Spam-Check-By: | sourceware.org
|
Message-ID: | <29302915.post@talk.nabble.com>
|
Date: | Thu, 29 Jul 2010 22:16:24 -0700 (PDT)
|
From: | sandeep_222 <sandeep_222 AT yahoo DOT com>
|
To: | cygwin AT cygwin DOT com
|
Subject: | Re: Issue with shmget
|
In-Reply-To: | <20060626140841.66515.qmail@web34211.mail.mud.yahoo.com>
|
MIME-Version: | 1.0
|
References: | <20060623220054 DOT 82828 DOT qmail AT web34209 DOT mail DOT mud DOT yahoo DOT com> <Pine DOT GSO DOT 4 DOT 63 DOT 0606231906540 DOT 17558 AT access1 DOT cims DOT nyu DOT edu> <20060623231315 DOT 67350 DOT qmail AT web34211 DOT mail DOT mud DOT yahoo DOT com> <Pine DOT GSO DOT 4 DOT 63 DOT 0606240004240 DOT 13640 AT access1 DOT cims DOT nyu DOT edu> <20060626140841 DOT 66515 DOT qmail AT web34211 DOT mail DOT mud DOT yahoo DOT com>
|
X-IsSubscribed: | yes
|
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm
|
List-Id: | <cygwin.cygwin.com>
|
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
|
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com>
|
List-Archive: | <http://sourceware.org/ml/cygwin/>
|
List-Post: | <mailto:cygwin AT cygwin DOT com>
|
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
|
Sender: | cygwin-owner AT cygwin DOT com
|
Mail-Followup-To: | cygwin AT cygwin DOT com
|
Delivered-To: | mailing list cygwin AT cygwin DOT com
|
Hello,
I have the same problem. Could you please explicitly specify what commands I
should enter in Cygwin to enable shared memory?
Thanks.
Sandeep
Rahul Gulati wrote:
>
> Thanks I was able to get over the issue your guess was
> right CYGWIN=server was not set.
>
> Rahul
>
> --- Igor Peshansky <pechtcha AT cs DOT nyu DOT edu> wrote:
>
>> <http://cygwin.com/acronyms/#TOFU> reformatted.
>>
>> On Fri, 23 Jun 2006, Rahul Gulati wrote:
>>
>> > --- Igor Peshansky <pechtcha AT XX DOT XXX DOT XXX> wrote:
>>
>> <http://cygwin.com/acronyms/#PCYMTNQREAIYR>.
>> Thanks.
>>
>> > > On Fri, 23 Jun 2006, Rahul Gulati wrote:
>> > >
>> > > > Hi,
>> > > >
>> > > > I am new to cygwin and trying to port existng
>> Linux
>> > > > based implementation of shared memory on
>> cygwin.
>> > > >
>> > > > I am having issues with shmget call. I tried
>> to debug
>> > > > and found out that everytime I try to call
>> shmget
>> > > > function I get an error and the main thread
>> exits:
>> > > > Program exited with code 06000
>> > > >
>> > > > cygserver is also running with default options
>> which
>> > > > includes :
>> > > > XSI IPC Shared Memory support.
>> > >
>> > > Not nearly enough information, the problem
>> reporting guidelines at
>> > > <http://cygwin.com/problems.html> were not
>> followed (e.g., no attached
>> > > cygcheck output), and your code snippet isn't
>> self-contained, doesn't
>> > > compile (even discounting Yahoo's line wrapping
>> -- next time, please
>> > > attach the code), and doesn't reproduce the bug.
>> In the absense of
>> > > the facts, I can only offer a WAG: does $CYGWIN
>> contain "server" when
>> > > you run your program?
>> > > Igor
>> >
>> > Will the system call work if i stop the daemon and
>> > just have cygserver running with default
>> options???
>>
>> You have not provided enough information for anyone
>> to help you. Please
>> read and follow the instructions at
>> > Problem reports:
>> http://cygwin.com/problems.html
>>
>> Moreover, if I understand your question correctly,
>> it does not follow at
>> all from the guess I offered and the question I
>> asked above: when you run
>> your code (the program that you provided a snippet
>> of, not the cygserver
>> daemon), does the environment variable CYGWIN
>> contain the word "server" in
>> it, as mentioned in
>> /usr/share/doc/Cygwin/cygserver.README? FYI,
>> following the instructions above would have provided
>> us with the output of
>> a tool (cygcheck) that would have answered my
>> question.
>> Igor
>> --
>> http://cs.nyu.edu/~pechtcha/
>> |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu |
>> igor AT watson DOT ibm DOT com
>> ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D.
>> (name changed!)
>> |,4- ) )-,_. ,\ ( `'-' old name: Igor
>> Pechtchanski
>> '---''(_/--' `-'\_) fL a.k.a
>> JaguaR-R-R-r-r-r-.-.-. Meow!
>>
>> "Las! je suis sot... -Mais non, tu ne l'es pas,
>> puisque tu t'en rends compte."
>> "But no -- you are no fool; you call yourself a
>> fool, there's proof enough in
>> that!" -- Rostand, "Cyrano de Bergerac"
>>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Problem reports: http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
>
>
>
--
View this message in context: http://old.nabble.com/Issue-with-shmget-tp5019837p29302915.html
Sent from the Cygwin list mailing list archive at Nabble.com.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -