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 X-Originating-IP: [198.151.129.77] From: "Matthew Clark" To: Subject: Unable to compile setup.exe source Date: Thu, 10 Oct 2002 17:02:17 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: X-OriginalArrivalTime: 10 Oct 2002 21:02:23.0733 (UTC) FILETIME=[54AA7250:01C270A0] I'm trying to compile setup.exe from the setup-2.249.2.5.tar.bz2 tarball according the directions in=20 http://sources.redhat.com/cygwin-apps/setup.html I get down to the final link step and I get errors complaining about, undefined references to things like ostream, oo_malloc, streambuf, etc. I'm no C++ expert, but I can't see what's missing from the final link step. Can anyone clue me in? Thanks, Matt g++ -mno-cygwin -Werror -Winline -Wall -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarati ons -Wcomments -g -O2 -o setup.exe -mwindows archive.o archive_tar.o archive_tar_file.o autoload.o category.o choose.o cistring.o compress.o compress_bz.o compress_gz.o concat.o cygpackage.o desktop.o dialog.o diskfull.o download.o Exception.o find.o FindVisitor.o filemanip.o fromcwd.o geturl.o hash.o ini.o IniDBBuilder.o IniDBBuilderPackage.o inilex.o iniparse.o IniParseFeedback.o IniParseFindVisitor.o install.o io_stream.o io_stream_cygfile.o io_stream_file.o io_stream_memory.o localdir.o log.o LogFile.o LogSingleton.o main.o md5.o MD5++.o mkdir.o mklink2.o mount.o msg.o net.o netio.o nio-ie5.o nio-file.o nio-ftp.o nio-http.o package_db.o package_meta.o package_source.o package_version.o PickCategoryLine.o PickLine.o PickPackageLine.o PickView.o postinstall.o proppage.o propsheet.o rfc1738.o root.o ScanFindVisitor.o script.o setup_version.o simpsock.o site.o source.o splash.o state.o String++.o threebar.o version.o win32.o window.o res.o zlib/libzcygw.a bz2lib/libbz2.a libgetopt++/.libs/libgetopt++.a -L/usr/lib/mingw -L/usr/lib/w32api -L/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5 -lstdc++ /usr/lib/mingw/libstdc++.a -L/develop/gcc-3.2-ming/build/mingw32/libstdc++-v 3/src -L/develop/gcc-3.2-ming/build/mingw32/libstdc++-v3/src/.libs -L/develop/gcc-3.2-ming/build/gcc -L/mingw/mingw32/bin -L/mingw/mingw32/lib -L/mingw/lib/gcc-lib/mingw32/3.2 -L/mingw/lib/gcc-lib/mingw32/3.2/../../../. ./mingw32/lib -L/mingw/lib/gcc-lib/mingw32/3.2/../../.. -lm -lshell32 -lgcc -lmoldname -lm ingwex -lmsvcrt -luser32 -kernel32 -lcomctl32 -lole32 -lwsock32 -lnetapi32 - ladvapi32 -luuid -lmingw32 /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libgcc.a(tinfo2.o): In function `_dynamic_cast': /cygnus/netrel/src/gcc-2.95.3-5/gcc/cp/tinfo2.cc(.text+0xc): multiple definition of `__dynamic_cast' /usr/lib/mingw/libstdc++.a(tinfo.o)(.text$__dynamic_cast+0x0): first defined here archive.o: In function `archive::extract_file(archive *, String const &, String const &, String)': /usr/src/setup-0/archive.cc:95: undefined reference to `ostream::operator<<(char const *)' desktop.o: In function `__malloc_alloc_template<0>::S_oom_malloc(unsigned int)': /usr/src/setup-0/desktop.cc(.__malloc_alloc_template<0>::text$_S_oom_mal loc(unsigned int)+0x1e): undefined reference to`cerr' -- 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/