Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Sun, 03 Dec 2000 15:42:12 -0600 From: Jon Cast Subject: libstdc++ To: Cygwin List Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal To Whom It May Concern: Please be patient with me, this is my first experience with Free Software customer support. I am having trouble compiling C++ under Cygwin v. 1.1.4. I am using libstdc++-v3 (2.90.8). When I attempt to link, I get undefined symbols inside libstdc++. I believe these symbols are defined by libio. The exact symbols are: /usr/lib/libstdc++.a(c++io.o): In function `_Q23std12__basic_filePv': /gcc-2.95.2-2/libstdc++-2.90.8/src/c++io.cc:43: undefined reference to `_IO_init' /gcc-2.95.2-2/libstdc++-2.90.8/src/c++io.cc:44: undefined reference to `_IO_file_init' /usr/lib/libstdc++.a(c++io.o): In function `$_Q23std12__basic_file': /gcc-2.95.2-2/libstdc++-2.90.8/src/c++io.cc:55: undefined reference to `_IO_do_write' /gcc-2.95.2-2/libstdc++-2.90.8/src/c++io.cc:60: undefined reference to `_IO_un_link' /usr/lib/libstdc++.a(c++io.o): In function `std::__basic_file::sys_open(int, std::_Ios_Openmode)': /gcc-2.95.2-2/libstdc++-2.90.8/src/c++io.cc:98: undefined reference to `_IO_link_in' /usr/lib/libstdc++.a(c++io.o): In function `std::__basic_file::open(char const *, std::_Ios_Openmode, int)': /gcc-2.95.2-2/libstdc++-2.90.8/src/c++io.cc:166: undefined reference to `_IO_link_in' /usr/lib/libstdc++.a(c++io.o): In function `std::__basic_file::close(void)': /gcc-2.95.2-2/libstdc++-2.90.8/src/c++io.cc:178: undefined reference to `_IO_file_close_it' /usr/lib/libstdc++.a(c++io.o): In function `std::__basic_file::overflow(int)': /gcc-2.95.2-2/libstdc++-2.90.8/src/c++io.cc:184: undefined reference to `_IO_file_overflow' /usr/lib/libstdc++.a(c++io.o): In function `std::__basic_file::underflow(void)': /gcc-2.95.2-2/libstdc++-2.90.8/src/c++io.cc:188: undefined reference to `_IO_file_underflow' /usr/lib/libstdc++.a(c++io.o): In function `std::__basic_file::uflow(void)': /gcc-2.95.2-2/libstdc++-2.90.8/src/c++io.cc:192: undefined reference to `_IO_default_uflow' /usr/lib/libstdc++.a(c++io.o): In function `std::__basic_file::pbackfail(int)': /gcc-2.95.2-2/libstdc++-2.90.8/src/c++io.cc:197: undefined reference to `_IO_default_pbackfail' /usr/lib/libstdc++.a(c++io.o): In function `std::__basic_file::xsputn(char const *, long)': /gcc-2.95.2-2/libstdc++-2.90.8/src/c++io.cc:201: undefined reference to `_IO_file_xsputn' /usr/lib/libstdc++.a(c++io.o): In function `std::__basic_file::xsgetn(char *, long)': /gcc-2.95.2-2/libstdc++-2.90.8/src/c++io.cc:205: undefined reference to `_IO_default_xsgetn' /usr/lib/libstdc++.a(c++io.o): In function `std::__basic_file::seekoff(long, std::_Ios_Seekdir, std::_Ios_Openmode)': /gcc-2.95.2-2/libstdc++-2.90.8/src/c++io.cc:210: undefined reference to `_IO_file_seekoff' /usr/lib/libstdc++.a(c++io.o): In function `std::__basic_file::seekpos(long, std::_Ios_Openmode)': /gcc-2.95.2-2/libstdc++-2.90.8/src/c++io.cc:214: undefined reference to `_IO_file_seekoff' /usr/lib/libstdc++.a(c++io.o): In function `std::__basic_file::setbuf(char *, int)': /gcc-2.95.2-2/libstdc++-2.90.8/src/c++io.cc:219: undefined reference to `_IO_file_setbuf' /usr/lib/libstdc++.a(c++io.o): In function `std::__basic_file::sync(void)': /gcc-2.95.2-2/libstdc++-2.90.8/src/c++io.cc:223: undefined reference to `_IO_file_sync' /usr/lib/libstdc++.a(c++io.o): In function `std::__basic_file::doallocate(void)': /gcc-2.95.2-2/libstdc++-2.90.8/src/c++io.cc:228: undefined reference to `_IO_file_doallocate' /usr/lib/libstdc++.a(c++io.o): In function `std::__basic_file::sys_read(char *, long)': /gcc-2.95.2-2/libstdc++-2.90.8/src/c++io.cc:233: undefined reference to `_IO_file_read' /usr/lib/libstdc++.a(c++io.o): In function `std::__basic_file::sys_write(char const *, long)': /gcc-2.95.2-2/libstdc++-2.90.8/src/c++io.cc:238: undefined reference to `_IO_file_write' /usr/lib/libstdc++.a(c++io.o): In function `std::__basic_file::sys_seek(long, std::_Ios_Seekdir)': /gcc-2.95.2-2/libstdc++-2.90.8/src/c++io.cc:243: undefined reference to `_IO_file_seek' /usr/lib/libstdc++.a(c++io.o): In function `std::__basic_file::sys_close(void)': /gcc-2.95.2-2/libstdc++-2.90.8/src/c++io.cc:247: undefined reference to `_IO_file_close' /usr/lib/libstdc++.a(c++io.o): In function `std::__basic_file::sys_stat(void *)': /gcc-2.95.2-2/libstdc++-2.90.8/src/c++io.cc:251: undefined reference to `_IO_file_stat' If I try supplying –lio to the linker, ld reports that it cannot find the file. Any help would be appreciated. Jon Cast -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com