Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <184670-220021256162739260@M2W087.mail2web.com> X-Priority: 3 Reply-To: cygwin AT cygwin DOT com X-Originating-IP: 195.92.67.67 From: "elfyn-cygwin AT mail DOT exposure DOT org DOT uk" To: jezek AT atomicpile DOT sk, cygwin AT cygwin DOT com Subject: RE: ProbLEms With cygipc & compile Date: Fri, 6 Dec 2002 11:27:39 -0500 MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 X-OriginalArrivalTime: 06 Dec 2002 16:27:39.0327 (UTC) FILETIME=[64BD74F0:01C29D44] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id gB6GRqG23743 Hi, Well Are you sure your including the files correctly? Where did you install cygipc? Are the lib and include dir (normally /usr/local) in the -L and -I paths? Im also pretty sure the -lcygipc should be at the end. By default these paths are not added by gcc and ld. eg: $ gcc -ggdb -Wall -I/usr/local/include -o msg msg.cpp -L/usr/local/lib -lcygipc Elfyn elfyn AT exposure DOT org DOT uk Original Message: ----------------- From: jezek jezek AT atomicpile DOT sk Date: Fri, 6 Dec 2002 16:30:30 +0100 To: cygwin AT cygwin DOT com, apconf AT atomicpile DOT sk Subject: ProbLEms With cygipc & compile 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/ -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . -- 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/