delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/12/03/16:44:54

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <jcast AT ou DOT edu>
Subject: libstdc++
To: Cygwin List <cygwin AT cygwin DOT com>
Message-id: <NEBBKJPLALAIJFKMPIPPGEFNCAAA.jcast@ou.edu>
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)
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019