delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/02/18:15:21

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3B92AF6B.5030907@ece.gatech.edu>
Date: Sun, 02 Sep 2001 18:15:07 -0400
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010713
X-Accept-Language: en-us
MIME-Version: 1.0
To: Andreas Eibach <a DOT eibach AT gmx DOT net>
CC: cygwin AT cygwin DOT com
Subject: Re: (CygIPC) Can't get shmget() to work at all
References: <024701c133ce$07600f60$bc0e07d5 AT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019