Max, >For gcc-2.95.3-5, an additonal override was required on the ./configure >command line. >Add CPPFLAGS=-I/usr/include/g++-3, to give: > >./configure -C --enable-dependencies --disable-shared --host=i686-pc-mingw32 > --build=i686-pc-cygwin 'CC=gcc -mno-cygwin' 'CXX=g++ -mno-cygwin' >CPPFLAGS=-I/usr/include/g++-3 --enable-maintainer-mode >
I did so, and got that message : LogFile.o: In function `LogFile::createLogFile(void)': /cygdrive/d/cvs_dir_setup/setup/LogFile.cc:75: undefined reference to `streambuf::xsputn(c har const *, int)' /cygdrive/d/cvs_dir_setup/setup/LogFile.cc:75: undefined reference to `streambuf::xsgetn(c har *, int)' LogFile.o: In function `LogFile::createLogFile(void)': /usr/include/g++-3/sstream:47: undefined reference to `streambuf::sys_read(char *, int)' /usr/include/g++-3/sstream:47: undefined reference to `streambuf::sys_write(char const *, int)' libgetopt++/.libs/libgetopt++.a(OptionSet.o): In function `basic_string<char, string_char_ traits<char>, __default_alloc_template<false, 0> >::replace(unsigned int, unsigned int, ch ar const *, unsigned int)': /usr/include/g++-3/std/bastring.cc(.text$__ls__H3ZcZt18string_char_traits1ZcZt24__default_ alloc_template2b0i0_R7ostreamRCt12basic_string3ZX01ZX11ZX21_R7ostream+0x18): undefined ref erence to `ostream::write(char const *, int)' /usr/lib/libstdc++.a(iostream.o)(.text+0x148):iostream.cc: undefined reference to `_imp___ ctype_' /usr/lib/libstdc++.a(iostream.o)(.text+0x515):iostream.cc: undefined reference to `_imp___ ctype_' /usr/lib/libstdc++.a(iostream.o)(.text+0x17b3):iostream.cc: undefined reference to `_impur e_ptr' /usr/lib/libstdc++.a(iostream.o)(.text+0x17c4):iostream.cc: undefined reference to `_impur e_ptr' /usr/lib/libstdc++.a(streambuf.o)(.text+0x3e3):streambuf.cc: undefined reference to `__err no' /usr/lib/libstdc++.a(stdstrbufs.o)(.text+0x4e):stdstrbufs.cc: undefined reference to `_imp ure_ptr' /usr/lib/libstdc++.a(fileops.o)(.text+0x19d):fileops.c: undefined reference to `__errno' /usr/lib/libstdc++.a(fileops.o)(.text+0x210):fileops.c: undefined reference to `__errno' /usr/lib/libstdc++.a(fileops.o)(.text+0x26d):fileops.c: undefined reference to `__errno' /usr/lib/libstdc++.a(fileops.o)(.text+0x398):fileops.c: undefined reference to `__errno' /usr/lib/libstdc++.a(fileops.o)(.text+0x45d):fileops.c: undefined reference to `__errno' /usr/lib/libstdc++.a(fileops.o)(.text+0x5ad):fileops.c: more undefined references to `__er rno' follow /usr/lib/libstdc++.a(floatconv.o)(.text+0x1287):floatconv.c: undefined reference to `_imp_ ___infinity' /usr/lib/libstdc++.a(floatconv.o)(.text+0x13e5):floatconv.c: undefined reference to `__err no' /usr/lib/libstdc++.a(iovfscanf.o)(.text+0x61):iovfscanf.c: undefined reference to `_imp___ ctype_' /usr/lib/libstdc++.a(iovfscanf.o)(.text+0x8d):iovfscanf.c: undefined reference to `_imp___ ctype_' /usr/lib/libstdc++.a(iovfscanf.o)(.text+0x55c):iovfscanf.c: undefined reference to `_imp__ _ctype_' /usr/lib/libstdc++.a(iovfscanf.o)(.text+0x5ac):iovfscanf.c: undefined reference to `_imp__ _ctype_' /usr/lib/libstdc++.a(iovfscanf.o)(.text+0x823):iovfscanf.c: undefined reference to `_imp__ _ctype_' /usr/lib/libstdc++.a(iovfscanf.o)(.text+0x87d):iovfscanf.c: more undefined references to ` _imp___ctype_' follow collect2: ld returned 1 exit status make[2]: *** [setup.exe] Error 1 make[2]: Leaving directory `/cygdrive/d/cvs_dir_setup/setup' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/cygdrive/d/cvs_dir_setup/setup' make: *** [all] Error 2 yann@G06DW07 /cygdrive/d/cvs_dir_setup/setup $ >> I then installed gcc-3.2-1.tar.bz2 and >> gcc-mingw-3.2-20020817-1.tar.bz2 >> (that I downloaded with the setup.exe program !!!). > >You did _install_ them with the setup.exe program as well, yes? In fact, I got those two file, copied them into the root dir and then tar jxf 'ed them : what has to be overwritten _is_ overwritten (ok, the rest is still there...) >Sounds like gcc-mingw was not installed. More info would be found in >config.log, except... If last action ran without any problem, I guess that gcc-mingw _is_ installed, isn't it ? >> yann@G06DW07 /cygdrive/d/cvs_dir_setup/setup >> $ ls > >The directory was empty!!! Really? I have absolutely no idea how that could >have happened. > OK, the 'ls' shouldn't have appeared there... My directory isn't empty at all (fortunately). >Whilst seldom a bad idea to stay current with all packages that you have >installed, I don't see anything which _obviously_ points at this as a >problem. > I don't understand what you mean there, since my english isn't that good :-( Thank you ! Yann ----------------------------------------------- Yann Crausaz EIVD - University of Applied Sciences of Western Switzerland Route de Cheseaux 1 1400 Yverdon-les-Bains Switzerland mailto:yann.crausaz@;eivd.ch mailto:yann_crausaz@;bluemail.ch -----------------------------------------------
