delorie.com/archives/browse.cgi | search |
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 |
Message-ID: | <397DA361.1219DE61@ece.gatech.edu> |
Date: | Tue, 25 Jul 2000 10:25:37 -0400 |
From: | Charles Wilson <cwilson AT ece DOT gatech DOT edu> |
X-Mailer: | Mozilla 4.73 [en] (Windows NT 5.0; U) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
To: | Issac Trotts <trotts AT MIT DOT EDU> |
CC: | cygwin AT sourceware DOT cygnus DOT com |
Subject: | Re: my newly deceased gcc installation |
References: | <200007250633 DOT CAA25467 AT melbourne-city-street DOT MIT DOT EDU> |
Ummmm...you know that there is a *newer* version of gcc, gcc-2.95.2-2, available in latest? All you have to do is "setup gcc". (Maybe "setup -f gcc") --Chuck Issac Trotts wrote: > > Hi all, > > I just tried to install gcc 2.95.2 in Cygwin 1.1.2. > I think I misunderstood the installation instructions at > > ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/cygwin/gcc-2.95.2/INSTALL > > (they didn't quite make sense for my Cygwin installation since it doesn't > have a /Cygnus directory) because after I unpacked the files > > binutils-2.9.4-cygb20.tar.gz gcc-2.95.2-docs-info.tar.gz > gcc-2.95.2-cygb20.tar.gz gcc-2.95.2-mingw-extra.tar.gz > gcc-2.95.2-dev-ss.tar.gz gcc-2.95.2-x86-win32-patches.tar.gz > gcc-2.95.2-docs-html.tar.gz w32api-bin-1999-12-21.tar.gz > > in the / directory, I started getting lots of incorrect error messages > from gcc. For instance, when I try to compile a simple hello world > program > > // hello.cc > #include <iostream.h> > > int main() { cout<<"hi"<<endl; return 0; } > > // end hello.cc > > $ c++ hello.cc > > I get the following error messages: > > /usr/lib/crt0.o(.text+0x37):crt0.c: undefined reference to `cygwin_crt0' > C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/cckkHMwe.o(.text+0xb):hello.cc: > undefined ref > erence to `__main' > /usr/lib/libstdc++.a(iostream.o)(.text+0x158): undefined reference to > `isspace' > /usr/lib/libstdc++.a(iostream.o)(.text+0x51b): undefined reference to > `isspace' > /usr/lib/libstdc++.a(iostream.o)(.text+0x173e): undefined reference to > `_imp___i > ob' > /usr/lib/libstdc++.a(iostream.o)(.text+0x1747): undefined reference to > `fflush' > /usr/lib/libstdc++.a(iostream.o)(.text+0x174f): undefined reference to > `_imp___i > ob' > /usr/lib/libstdc++.a(iostream.o)(.text+0x1758): undefined reference to > `fflush' > /usr/lib/libstdc++.a(isgetline.o)(.text+0x24c): undefined reference to > `memcpy' > /usr/lib/libstdc++.a(isgetline.o)(.text+0x29e): undefined reference to > `memcpy' > /usr/lib/libstdc++.a(streambuf.o)(.text+0x387): undefined reference to > `_errno' > /usr/lib/libstdc++.a(filebuf.o)(.text+0x3de): undefined reference to `open' > /usr/lib/libstdc++.a(stdstrbufs.o)(.text+0x46): undefined reference to > `_imp___i > ob' > /usr/lib/libstdc++.a(stdiostream.o)(.text+0x1c): undefined reference to > `fileno' > > /usr/lib/libstdc++.a(stdiostream.o)(.text+0x150): undefined reference to > `getc' > /usr/lib/libstdc++.a(stdiostream.o)(.text+0x178): undefined reference to > `fread' > > /usr/lib/libstdc++.a(stdiostream.o)(.text+0x19c): undefined reference to > `fwrite > ' > /usr/lib/libstdc++.a(stdiostream.o)(.text+0x1ca): undefined reference to > `fseek' > > /usr/lib/libstdc++.a(stdiostream.o)(.text+0x1e1): undefined reference to > `fclose > ' > /usr/lib/libstdc++.a(stdiostream.o)(.text+0x224): undefined reference to > `fflush > ' > /usr/lib/libstdc++.a(stdiostream.o)(.text+0x268): undefined reference to > `fflush > ' > /usr/lib/libstdc++.a(stdiostream.o)(.text+0x29f): undefined reference to > `fwrite > ' > /usr/lib/libstdc++.a(genops.o)(.text+0x16b): undefined reference to `free' > /usr/lib/libstdc++.a(genops.o)(.text+0x1f0): undefined reference to `malloc' > /usr/lib/libstdc++.a(genops.o)(.text+0x225): undefined reference to `memcpy' > /usr/lib/libstdc++.a(genops.o)(.text+0x23f): undefined reference to `memcpy' > /usr/lib/libstdc++.a(genops.o)(.text+0x25b): undefined reference to `memcpy' > /usr/lib/libstdc++.a(genops.o)(.text+0x271): undefined reference to `free' > /usr/lib/libstdc++.a(genops.o)(.text+0x2a2): undefined reference to `memmove' > /usr/lib/libstdc++.a(genops.o)(.text+0x2c0): undefined reference to `memcpy' > /usr/lib/libstdc++.a(genops.o)(.text+0x2d7): undefined reference to `memcpy' > /usr/lib/libstdc++.a(genops.o)(.text+0x453): undefined reference to `free' > /usr/lib/libstdc++.a(genops.o)(.text+0x531): undefined reference to `memcpy' > /usr/lib/libstdc++.a(genops.o)(.text+0x5f4): undefined reference to `memcpy' > /usr/lib/libstdc++.a(genops.o)(.text+0x713): undefined reference to `malloc' > /usr/lib/libstdc++.a(genops.o)(.text+0x7db): undefined reference to `free' > /usr/lib/libstdc++.a(genops.o)(.text+0x810): undefined reference to `free' > /usr/lib/libstdc++.a(genops.o)(.text+0xb3b): undefined reference to `malloc' > /usr/lib/libstdc++.a(genops.o)(.text+0xb78): undefined reference to `malloc' > /usr/lib/libstdc++.a(genops.o)(.text+0xba1): undefined reference to `memcpy' > /usr/lib/libstdc++.a(genops.o)(.text+0xbac): undefined reference to `free' > /usr/lib/libstdc++.a(iogetline.o)(.text+0x9a): undefined reference to `memchr' > /usr/lib/libstdc++.a(iogetline.o)(.text+0xcf): undefined reference to `memcpy' > /usr/lib/libstdc++.a(iogetline.o)(.text+0xec): undefined reference to `memcpy' > /usr/lib/libstdc++.a(iovfscanf.o)(.text+0x64): undefined reference to > `isspace' > /usr/lib/libstdc++.a(iovfscanf.o)(.text+0x92): undefined reference to > `isspace' > /usr/lib/libstdc++.a(iovfscanf.o)(.text+0x3db): undefined reference to > `strtol' > /usr/lib/libstdc++.a(iovfscanf.o)(.text+0x402): undefined reference to > `strtoul' > > /usr/lib/libstdc++.a(iovfscanf.o)(.text+0x420): undefined reference to > `strtoul' > > /usr/lib/libstdc++.a(iovfscanf.o)(.text+0x4b5): undefined reference to > `strtoul' > > /usr/lib/libstdc++.a(iovfscanf.o)(.text+0x525): undefined reference to > `isupper' > > /usr/lib/libstdc++.a(iovfscanf.o)(.text+0x542): undefined reference to > `strtol' > /usr/lib/libstdc++.a(iovfscanf.o)(.text+0x5d6): undefined reference to > `isspace' > > /usr/lib/libstdc++.a(iovfscanf.o)(.text+0x888): undefined reference to > `isspace' > > /usr/lib/libstdc++.a(iovfscanf.o)(.text+0x90a): undefined reference to > `isspace' > > /usr/lib/libstdc++.a(fileops.o)(.text+0x193): undefined reference to `_errno' > /usr/lib/libstdc++.a(fileops.o)(.text+0x1cb): undefined reference to `open' > /usr/lib/libstdc++.a(fileops.o)(.text+0x204): undefined reference to `_errno' > /usr/lib/libstdc++.a(fileops.o)(.text+0x25d): undefined reference to `_errno' > /usr/lib/libstdc++.a(fileops.o)(.text+0x380): undefined reference to `_errno' > /usr/lib/libstdc++.a(fileops.o)(.text+0x445): undefined reference to `_errno' > /usr/lib/libstdc++.a(fileops.o)(.text+0x5a1): undefined reference to `_errno' > /usr/lib/libstdc++.a(fileops.o)(.text+0x80e): undefined reference to `read' > /usr/lib/libstdc++.a(fileops.o)(.text+0x82a): undefined reference to `lseek' > /usr/lib/libstdc++.a(fileops.o)(.text+0x843): undefined reference to `fstat' > /usr/lib/libstdc++.a(fileops.o)(.text+0x85c): undefined reference to `close' > /usr/lib/libstdc++.a(fileops.o)(.text+0x889): undefined reference to `write' > /usr/lib/libstdc++.a(fileops.o)(.text+0x941): undefined reference to `memcpy' > /usr/lib/libstdc++.a(filedoalloc.o)(.text+0x54): undefined reference to > `malloc' > > /usr/lib/libstdc++.a(filedoalloc.o)(.text+0x86): undefined reference to > `isatty' > > /usr/lib/libstdc++.a(floatconv.o)(.text+0x56): undefined reference to `malloc' > /usr/lib/libstdc++.a(floatconv.o)(.text+0x95): undefined reference to `free' > /usr/lib/libstdc++.a(floatconv.o)(.text+0x1239): undefined reference to > `_errno' > > /usr/lib/libstdc++.a(floatconv.o)(.text+0x1244): undefined reference to > `_imp___ > HUGE_dll' > /usr/lib/libstdc++.a(floatconv.o)(.text+0x139d): undefined reference to > `_errno' > > /usr/lib/libstdc++.a(cleanup.o)(.text+0xf): undefined reference to `atexit' > /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libgcc.a(_eh.o): In function > `_default_te > rminate': > /cygnus/netrel/src/gcc-2.95.2-2/gcc/libgcc2.c(.text+0x7): undefined > reference to > `abort' > /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libgcc.a(_eh.o): In function > `_throw_type > _match': > /cygnus/netrel/src/gcc-2.95.2-2/gcc/libgcc2.c(.text+0x32): undefined > reference t > o `strcmp' > /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libgcc.a(_eh.o): In function > `new_eh_cont > ext': > /cygnus/netrel/src/gcc-2.95.2-2/gcc/libgcc2.c(.text+0x5e): undefined > reference t > o `malloc' > /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libgcc.a(_eh.o): In function > `_eh_rtime_m > atch': > /cygnus/netrel/src/gcc-2.95.2-2/gcc/libgcc2.c(.text+0x38d): undefined > reference > to `write' > /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libgcc.a(_eh.o): In function > `get_reg_add > r': > /cygnus/netrel/src/gcc-2.95.2-2/gcc/libgcc2.c(.text+0x531): undefined > reference > to `abort' > /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libgcc.a(_eh.o): In function > `copy_reg': > /cygnus/netrel/src/gcc-2.95.2-2/gcc/libgcc2.c(.text+0x584): undefined > reference > to `memcpy' > /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libgcc.a(tinfo.o): In function > `type_info > ::_eq(type_info const &) const': > /cygnus/netrel/src/gcc-2.95.2-2/gcc/cp/tinfo.cc:46: undefined reference to > `strc > mp' > /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libgcc.a(opdel.o): In function > `_builtin_ > delete': > /cygnus/netrel/src/gcc-2.95.2-2/gcc/cp/new2.cc:54: undefined reference to > `free' > > /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libgcc.a(opvdel.o): In function > `_builtin > _vec_delete': > /cygnus/netrel/src/gcc-2.95.2-2/gcc/cp/new2.cc:62: undefined reference to > `free' > > /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libgcc.a(frame.o): In function > `end_fde_s > ort': > /cygnus/netrel/src/gcc-2.95.2-2/gcc/frame.c(.text+0x111): undefined > reference to > `abort' > /cygnus/netrel/src/gcc-2.95.2-2/gcc/frame.c(.text+0x13c): undefined > reference to > `abort' > /cygnus/netrel/src/gcc-2.95.2-2/gcc/frame.c(.text+0x29e): undefined > reference to > `free' > /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libgcc.a(frame.o): In function > `frame_ini > t': > /cygnus/netrel/src/gcc-2.95.2-2/gcc/frame.c(.text+0x3be): undefined > reference to > `malloc' > /cygnus/netrel/src/gcc-2.95.2-2/gcc/frame.c(.text+0x3ca): undefined > reference to > `malloc' > /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libgcc.a(frame.o): In function > `execute_c > fa_insn': > /cygnus/netrel/src/gcc-2.95.2-2/gcc/frame.c:627: undefined reference to > `malloc' > > /cygnus/netrel/src/gcc-2.95.2-2/gcc/frame.c:627: undefined reference to `free' > /cygnus/netrel/src/gcc-2.95.2-2/gcc/frame.c:627: undefined reference to > `abort' > /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libgcc.a(frame.o): In function > `_register > _frame': > /cygnus/netrel/src/gcc-2.95.2-2/gcc/frame.c(.text+0x980): undefined > reference to > `malloc' > /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libgcc.a(frame.o): In function > `_register > _frame_table': > /cygnus/netrel/src/gcc-2.95.2-2/gcc/frame.c(.text+0x9e0): undefined > reference to > `malloc' > /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libgcc.a(frame.o): In function > `_deregist > er_frame_info': > /cygnus/netrel/src/gcc-2.95.2-2/gcc/frame.c(.text+0xa29): undefined > reference to > `free' > /cygnus/netrel/src/gcc-2.95.2-2/gcc/frame.c(.text+0xa3b): undefined > reference to > `abort' > /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libgcc.a(frame.o): In function > `_deregist > er_frame': > /cygnus/netrel/src/gcc-2.95.2-2/gcc/frame.c(.text+0xa5f): undefined > reference to > `free' > /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libgcc.a(exception.o): In function > `_eh_a > lloc': > /cygnus/netrel/src/gcc-2.95.2-2/gcc/cp/exception.cc:152: undefined > reference to > `malloc' > /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libgcc.a(exception.o): In function > `_eh_f > ree': > /cygnus/netrel/src/gcc-2.95.2-2/gcc/cp/exception.cc:165: undefined > reference to > `free' > /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libgcc.a(opnew.o): In function > `_builtin_ > new': > /cygnus/netrel/src/gcc-2.95.2-2/gcc/cp/new1.cc:84: undefined reference to > `mallo > c' > /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libgcc.a(tinfo2.o): In function > `type_inf > o::before(type_info const &) const': > /cygnus/netrel/src/gcc-2.95.2-2/gcc/cp/tinfo2.cc:46: undefined reference to > `str > cmp' > collect2: ld returned 1 exit status > > Any help will be greatly appreciated. > > Issac > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |