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 Sensitivity: Subject: cpan/gcc cannot compile perl module after cygwin 1.5* To: cygwin AT cygwin DOT com Message-ID: From: Brian DOT Kelly AT Empireblue DOT com Date: Sat, 15 Nov 2003 17:10:54 -0500 MIME-Version: 1.0 X-WSS-ID: 13A87B0E917667-01-03 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Before the upgrade to 1.5* - 64 bit cygwin, this used to compile with the default configuration just fine. Now it can't. I am aware that the entire perl IPC distribution never did ever work with cygwin - especially named pipes. However, the Semaphore module *did* - and before the 1.5* upgrade, compiled flawlessly with the default configuration. Not only that, but the resulting Semaphore.pm *worked* flawlessly as well - and is an integral part of a production system I now maintain. Luckily, the compiled binary from the previous version of cygwin/gcc combo works just as flawlessly with current 64-bit release of cygwin - but I can no longer compile it with the default installation. I have backups of the binary - so there are no real problems currently. However, since I can't and don't want to roll-back cygwin, I need to find a way to successfully compile it with the latest version of cygwin/gcc. If someone can see a quick fix - or work around - to this it would obviously be a BIG help and be much appreciated. Brian Kelly cpan> install IPC::Semaphore R unning install for module IPC::Semaphore Running make for G/GB/GBARR/IPC-SysV-1.03.tar.gz CPAN: Digest::MD5 loaded ok Checksum for /cygdrive/c/temp/.cpan/sources/authors/id/G/GB/GBARR/IPC-SysV-1.03.tar.gz ok Scanning cache /cygdrive/c/temp/.cpan/build for sizes IPC-SysV-1.03/ IPC-SysV-1.03/SysV.pm IPC-SysV-1.03/Msg.pm IPC-SysV-1.03/MANIFEST IPC-SysV-1.03/ChangeLog IPC-SysV-1.03/Makefile.PL IPC-SysV-1.03/t/ IPC-SysV-1.03/t/sem.t IPC-SysV-1.03/t/msg.t IPC-SysV-1.03/README IPC-SysV-1.03/SysV.xs IPC-SysV-1.03/Semaphore.pm Removing previously used /cygdrive/c/temp/.cpan/build/IPC-SysV-1.03 CPAN.pm: Going to build G/GB/GBARR/IPC-SysV-1.03.tar.gz Checking if your kit is complete... Looks good Writing Makefile for IPC::SysV /usr/bin/perl.exe /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.0/ExtUtils/typema p SysV.xs > SysV.xsc && mv SysV.xsc SysV.c Running Mkbootstrap for IPC::SysV () cp Msg.pm blib/lib/IPC/Msg.pm p SysV.xs > SysV.xsc && mv SysV.xsc SysV.c cp Semaphore.pm blib/lib/IPC/Semaphore.pm cp SysV.pm blib/lib/IPC/SysV.pm gcc -c -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -DUSEIMPORTLIB -O3 -DVERSION=\"1.03\" -DXS_VER SION=\"1.03\" "-I/usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE" SysV.c chmod 644 SysV.bs cp SysV.bs blib/arch/auto/IPC/SysV/SysV.bs chmod 644 blib/arch/auto/IPC/SysV/SysV.bs SysV.xs: In function `XS_IPC__Msg__stat_pack': SysV.xs:69: storage size of `ds' isn't known SysV.xs: In function `XS_IPC__Msg__stat_unpack': SysV.xs:89: dereferencing pointer to incomplete type SysV.xs:92: dereferencing pointer to incomplete type SysV.xs:95: dereferencing pointer to incomplete type SysV.xs:97: dereferencing pointer to incomplete type SysV.xs:99: dereferencing pointer to incomplete type SysV.xs:101: dereferencing pointer to incomplete type SysV.xs:103: dereferencing pointer to incomplete type SysV.xs:105: dereferencing pointer to incomplete type SysV.xs:107: dereferencing pointer to incomplete type SysV.xs:109: dereferencing pointer to incomplete type SysV.xs:111: dereferencing pointer to incomplete type SysV.xs:113: dereferencing pointer to incomplete type SysV.xs:115: dereferencing pointer to incomplete type SysV.xs:117: dereferencing pointer to incomplete type SysV.xs: In function `XS_IPC__Semaphore__stat_unpack': SysV.xs:135: dereferencing pointer to incomplete type SysV.xs:138: dereferencing pointer to incomplete type SysV.xs:140: invalid use of undefined type `struct semid_ds' SysV.xs:140: dereferencing pointer to incomplete type SysV.xs:141: invalid use of undefined type `struct semid_ds' SysV.xs:141: dereferencing pointer to incomplete type SysV.xs:142: invalid use of undefined type `struct semid_ds' SysV.xs:142: dereferencing pointer to incomplete type SysV.xs:143: invalid use of undefined type `struct semid_ds' SysV.xs:143: dereferencing pointer to incomplete type SysV.xs:144: invalid use of undefined type `struct semid_ds' SysV.xs:144: dereferencing pointer to incomplete type SysV.xs:145: invalid use of undefined type `struct semid_ds' SysV.xs:145: dereferencing pointer to incomplete type SysV.xs:146: invalid use of undefined type `struct semid_ds' SysV.xs:146: dereferencing pointer to incomplete type SysV.xs:147: invalid use of undefined type `struct semid_ds' SysV.xs:147: dereferencing pointer to incomplete type SysV.xs: In function `XS_IPC__Semaphore__stat_pack': SysV.xs:158: storage size of `ds' isn't known SysV.xs: In function `XS_IPC__SysV_ftok': SysV.xs:194: `no_func' undeclared (first use in this function) SysV.xs:194: (Each undeclared identifier is reported only once SysV.xs:194: for each function it appears in.) SysV.xs:194: warning: `return' with a value, in function returning void make: *** [SysV.o] Error 1 /usr/bin/make -j3 -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible cpan> "WellChoice, Inc." made the following annotations on 11/15/2003 05:11:18 PM ------------------------------------------------------------------------------ Attention! This electronic message contains information that may be legally confidential and/or privileged. The information is intended solely for the individual or entity named above and access by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Release/Disclosure Statement -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/