public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* (CygIPC) Can't get shmget() to work at all
@ 2001-09-02  9:31 Andreas Eibach
  2001-09-02 15:15 ` Charles Wilson
  2001-09-08  9:49 ` David Starks-Browning
  0 siblings, 2 replies; 5+ messages in thread
From: Andreas Eibach @ 2001-09-02  9:31 UTC (permalink / raw)
  To: cygwin; +Cc: cwilson

[-- Attachment #1: Type: text/plain, Size: 745 bytes --]

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

Andreas

[-- Attachment #2: error-output --]
[-- Type: text/plain, Size: 211 bytes --]

/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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: (CygIPC) Can't get shmget() to work at all
  2001-09-02  9:31 (CygIPC) Can't get shmget() to work at all Andreas Eibach
@ 2001-09-02 15:15 ` Charles Wilson
  2001-09-04  6:23   ` Mark Paulus
  2001-09-08  9:49 ` David Starks-Browning
  1 sibling, 1 reply; 5+ messages in thread
From: Charles Wilson @ 2001-09-02 15:15 UTC (permalink / raw)
  To: Andreas Eibach; +Cc: cygwin

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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: (CygIPC) Can't get shmget() to work at all
  2001-09-02 15:15 ` Charles Wilson
@ 2001-09-04  6:23   ` Mark Paulus
  0 siblings, 0 replies; 5+ messages in thread
From: Mark Paulus @ 2001-09-04  6:23 UTC (permalink / raw)
  To: Andreas Eibach, Charles Wilson; +Cc: cygwin

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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* (CygIPC) Can't get shmget() to work at all
  2001-09-02  9:31 (CygIPC) Can't get shmget() to work at all Andreas Eibach
  2001-09-02 15:15 ` Charles Wilson
@ 2001-09-08  9:49 ` David Starks-Browning
  1 sibling, 0 replies; 5+ messages in thread
From: David Starks-Browning @ 2001-09-08  9:49 UTC (permalink / raw)
  To: Andreas Eibach; +Cc: cygwin

On Sunday 2 Sep 01, Andreas Eibach writes:
> 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.).
> 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.

Actually, //x should still work in 1.3.2.  It will finally disappear
in 1.3.3, probably to be released very soon now.

(In case 1.3.2 is an improvement for you over 1.3.1.)

Regards,
David


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: (CygIPC) Can't get shmget() to work at all
       [not found] <200109041323.f84DNbY18281@mail.ee.gatech.edu>
@ 2001-09-04  7:39 ` Charles Wilson
  0 siblings, 0 replies; 5+ messages in thread
From: Charles Wilson @ 2001-09-04  7:39 UTC (permalink / raw)
  To: Mark Paulus; +Cc: Andreas Eibach, cygwin

Mark Paulus wrote:

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

Ralf has already sent similar patches to me.  I'm going to try to get a 
new cygipc package out in a few days.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-09-08  9:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-02  9:31 (CygIPC) Can't get shmget() to work at all Andreas Eibach
2001-09-02 15:15 ` Charles Wilson
2001-09-04  6:23   ` Mark Paulus
2001-09-08  9:49 ` David Starks-Browning
     [not found] <200109041323.f84DNbY18281@mail.ee.gatech.edu>
2001-09-04  7:39 ` Charles Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).