This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: (CygIPC) Can't get shmget() to work at all
- To: Andreas Eibach <a dot eibach at gmx dot net>
- Subject: Re: (CygIPC) Can't get shmget() to work at all
- From: Charles Wilson <cwilson at ece dot gatech dot edu>
- Date: Sun, 02 Sep 2001 18:15:07 -0400
- CC: cygwin at cygwin dot com
- References: <024701c133ce$07600f60$bc0e07d5@andreas>
Andreas Eibach wrote:
> Hi,
>
> first of all, great work with that CygIPC package! :)
>
> Now the problem:
>
> I'm using Cygwin 1.3.1 (I apologize for this, but I simply aren't willing to
> seperate from my beloved //X drive access instead of /cygdrive/X <grin> , I
> know cgf removed it now. Well, that's his very own decision.).
Not really. It was a developer decision -- not just Chris' alone. Long
ago it was determined that the "//x" notation was causing big problems;
in addition to preventing access to external SMB hosts named with single
letters, IIRC there were network latencies introduced into what should
be a local operation. Search the archives from about 1 year ago for
"why is 'ls' so slow".
So, the '//x' notation has been deprecated for quite a long time.
Deprecated means "will be going away soon. Begin transitioning away
from this usage or you'll be sorry later."
It's now "later".
> However, 1.3.1 is from 04/24/01, whilst Chuck's dist of CygIPC is from
> 02/17/01 so this shouldn't _actually_ make problems.
>
> But it does:
> /cygdrive/c/WINDOWS/TEMP/ccdzHOin.o(.text+0x46):shm1.c: undefined reference
> to `ftok'
> /cygdrive/c/WINDOWS/TEMP/ccdzHOin.o(.text+0x86):shm1.c: undefined reference
> to `shmget'
> collect2: ld returned 1 exit status
>
> I'm using the latest distribution (1.09), of course.
> What's up there?
> Thanks for your help.
Ummm...you didn't show your link command. Are you using -lcygipc ?
-L/usr/local/lib ?
--Chuck
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/