alliance-support '02
RE: problem building ocp under Cygwin 1.3.9 under Windows98SE with gcc 2.95.3-5


Art (pinaar@austin.rr.com)
Fri, 1 Feb 2002 20:19:11 -0600

> -----Original Message----- > From: Christophe Alexandre [mailto:Christophe.Alexandre@lip6.fr] > Sent: Tuesday, January 29, 2002 3:33 AM ... > Hi Art, I've worked on ocp and I think that the changes I've commited > will fix the problems you had with its compilation with gcc 3. > There was a problem with the namespaces. gcc 3 is more restrictive > with the utilisation of standards libraries. Thanks, Christophe. As I mentioned in previous messages. Everything compiled fine under Linux - Your fixes worked well! However, Cygwin still has issues. I'm investigating them now. > For the installation under Cygwin, have you got the last distribution > of libtool? Your version does not seem to recognize your > system? Once you've got it run the autogen.sh script before running > configure and make. The Makefile in the ocp directory will do that. This is still a problem for me. I.e., I'm getting this: ... checking how to run the C++ preprocessor... g++ -E ltconfig: unrecognized option `--build=i686-pc-cygwin' Try `ltconfig --help' for more information. configure: error: libtool tag configuration failed make: *** [all] Error 1 So, I did: pinaar@A380 ~/ws/all_obj/ocp $ ./ltconfig --version ltconfig (GNU libtool) 1.3.4 (1.385.2.196 1999/12/07 21:47:57) But, I'm doing this in the alliance/sources/ocp/Makefile: ln -s $(SRCDIR)/distrib/autoconf/ltconfig Which is a reference to my copy of your source: 96470 Apr 24 2001 /usr/local/source/alliance/sources/distrib/autoconf/ltconfig I ran autogen.sh and got the same results, so I just tried linking to the Cygwin ltconfig v1.4a-GCC3.0. I am also running "autoconf (GNU Autoconf) 2.52", "automake (GNU automake) 1.5b" and "ltmain.sh (GNU libtool) 1.4.2". Here is what "make" does in the ocp directory: Running aclocal ... Running libtoolize... You should update your `aclocal.m4' by running aclocal. Running automake --foreign ... Running autoconf ... configure.in:33: warning: AC_PROG_LEX invoked multiple times checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for mawk... no checking for gawk... gawk checking whether make sets ${MAKE}... yes checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... .exe checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking dependency style of gcc... gcc checking for ld used by GCC... /usr/i686-pc-cygwin/bin/ld.exe checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependant libraries... file_magic file format pei*-i38 6(.*architecture: i386)? checking command to parse /usr/bin/nm -B output... ok checking how to run the C preprocessor... gcc -E checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... strip checking for gcc option to produce PIC... none checking whether the linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared lib raries... yes checking command to parse /usr/bin/nm -B output... (cached) ok checking if gcc static flag -static works... yes checking the maximum length of command line arguments... 786433 checking if gcc supports -fno-rtti -fno-exceptions... yes checking if gcc supports -c -o file.o... yes checking for objdir... .libs checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... Win32 ld.exe checking whether -lc should be explicitly linked in... yes creating libtool E:\USR\CYGWIN\BIN\SH.EXE: *** WFSO timed out for after longjmp. Signal 127 checking if libtool supports shared libraries... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc checking how to run the C++ preprocessor... g++ -E ltconfig: unrecognized option `--build=i686-pc-cygwin' Try `ltconfig --help' for more information. configure: error: libtool tag configuration failed make: *** [all] Error 1 I'm not too worried about the time-out above - Cygwin tends to exhaust Windows resources run sluggish. I will tweak ltconfig to get it to accept "--build=i686-pc-cygwin", though I think automake 1.5b doesn't really need it, but supports it for backwards compatibility. Please advise - I have noticed that Cygwin behaves pretty much like normal Unix, except when I've tried building libg and other libraries, and it is sluggish with memory holes, exhausting Windows resources and never releasing them, even when you exit bash and re-open a new session. Thanks & Regards, Art

 



Alliance Web Site © 1997, 2002 ASIM/LIP6/UPMC, page maintained by Czo [Olivier Sirol] , last updated on 03 February 2002.