X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_72,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Thu, 16 Jul 2009 16:35:24 +0200 Message-ID: Subject: Autogen status? From: Dennis Wassel To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Hi list, I have built a cygwin version of gcc trunk these days and would like to run the testsuite, which needs autogen. Google and this list show some hits that other people have had problems building autogen, but I found this message http://sourceware.org/ml/cygwin/2008-01/msg00523.html so in principle it should work (but the files are not hosted anymore) My autogen build (cygwin-1.7 as of 2009-07-15 with the gcc4 package, autogen-5.9.8) fails, apparently because of some missing include or definition: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -I../autoopts -g -O2 -MT autogen-ag.o -MD -MP -MF .deps/autogen-ag.Tpo -c -o autogen-ag.o `test -f 'ag.c' || echo './'`ag.c In file included from ag.c:22: fmemopen.c:72: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fmem_off_t' fmemopen.c:141: error: expected declaration specifiers or '...' before 'fmem_off_t' fmemopen.c:321: error: expected declaration specifiers or '...' before 'fmem_off_t' fmemopen.c: In function 'fmem_seek': fmemopen.c:327: error: 'p_offset' undeclared (first use in this function) fmemopen.c:327: error: (Each undeclared identifier is reported only once fmemopen.c:327: error: for each function it appears in.) make[3]: *** [autogen-ag.o] Error 1 make[3]: Leaving directory `/home/dwassel/install/autogen-5.9.8/agen5' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/dwassel/install/autogen-5.9.8/agen5' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/dwassel/install/autogen-5.9.8' make: *** [all] Error 2 is this meaningful to anybody, or should I rather ask the autogen guys? Google seems very silent on this matter. Probably more interesting cygwin-wise (and maybe related to the error above) is this libtool message just a few lines before the fatal error *** Warning: This system can not link to static lib archive libopts.la. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared libraries libtool: link: ar cru .libs/libguileopts.a libguileopts_la-guileopt.o libtool: link: ranlib .libs/libguileopts.a libtool: link: ( cd ".libs" && rm -f "libguileopts.la" && ln -s "../libguileopts.la" "libguileopts.la" ) I'd be glad for any pointers, or any working version of autogen to get the testsuite running. Thanks, Dennis -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple