delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/06/10:34:11

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Fri, 6 Dec 2002 16:30:30 +0100
From: jezek <jezek AT atomicpile DOT sk>
To: cygwin AT cygwin DOT com
Cc: apconf <apconf AT atomicpile DOT sk>
Subject: ProbLEms With cygipc & compile
Message-ID: <20021206153029.GA42266@atomicpile.sk>
Mime-Version: 1.0
User-Agent: Mutt/1.4i

Hi All ...

I have a big probLem.
I haVe instALLed cygwin-1.3.17-1 anD i have DownLoaded and installed a PacKAge
called cygipc-1.13-2  to make soMe programs for my sTudy uSe ...

I need To comPiLe a sOurce uSing sys/(shm.h, sem.h, msg.h) but when 
i trYed to CompiLE a teSt souRce the Only Thing iT answered Me was :

gcc -ggdb -Wall  -o msg -lcygipc msg.cpp
/cygdrive/c/WIN98/TEMP/ccSukmwr.o: In function `main':
/home/jEzeK/FEI/PPRC/cvic8/ja_rad/msg.cpp:35: undefined reference to
`msgget'
/home/jEzeK/FEI/PPRC/cvic8/ja_rad/msg.cpp:61: undefined reference to
`msgsnd'
/home/jEzeK/FEI/PPRC/cvic8/ja_rad/msg.cpp:72: undefined reference to
`msgctl'
/home/jEzeK/FEI/PPRC/cvic8/ja_rad/msg.cpp:77: undefined reference to
`msgget'
/home/jEzeK/FEI/PPRC/cvic8/ja_rad/msg.cpp:82: undefined reference to
`msgrcv'
/home/jEzeK/FEI/PPRC/cvic8/ja_rad/msg.cpp:86: undefined reference to
`msgctl'
collect2: ld returned 1 exit status
make: *** [all] Error 1


i aM in Big TrouBle ... i nEeeeD it to ruN tiLL TuesDAy ....

PLeasE heLp ME ....

PS : In a Makefile a have the library tag (option???) -lcygipc
     anD the Paths aRe OK .... But It CoudLnt COMPILE !!!!!


ThAnkS for CommiNg aNswer to fIX thiS pRobLem :)

Yours SinCirelY                 
                                    MateJ kOhut (JezEk)

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