delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/04/09:23:34

Message-Id: <200109041323.JAA01143@delorie.com>
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
From: "Mark Paulus" <commpg AT yahoo DOT com>
To: "Andreas Eibach" <a DOT eibach AT gmx DOT net>,
"Charles Wilson" <cwilson AT ece DOT gatech DOT edu>
Cc: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Date: Tue, 04 Sep 2001 07:23:32 -0600
Reply-To: "Mark Paulus" <commpg AT yahoo DOT com>
X-Mailer: PMMail 2000 Professional (2.20.2350) For Windows 2000 (5.0.2195;2)
In-Reply-To: <3B92AF6B.5030907@ece.gatech.edu>
MIME-Version: 1.0
Subject: Re: (CygIPC) Can't get shmget() to work at all

Are you by chance trying to compile/link a C++ program/module?
I have found that the header files that Charles provides have not
been "C" externalized, so the namespace is not preserved, which
causes link problems.

Charles,
Would you like me to furnish quick patches to address this issue?
I have done/fixed this on my machine, and rebuilt the library,
and now everything works just peachy-keen.


On Sun, 02 Sep 2001 18:15:07 -0400, Charles Wilson wrote:

>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/




--
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