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-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Tue, 11 Mar 2003 12:46:36 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Lorin Lund cc: cygwin AT cygwin DOT com Subject: Re: Newby C++ lib problem In-Reply-To: <3E6E1CC0.5010001@infowest.com> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII At a guess (which is the best you can hope for with the little information provided), use "g++" to compile C++ programs, not "gcc". If that doesn't help, please post the *exact* command line you use to compile your program, the program itself (if possible and if it's small), and the output of "cygcheck -svr" as an attachment (as per ). Igor On Tue, 11 Mar 2003, Lorin Lund wrote: > I suppose I need to mention some library to satisfy these unresolved > references: > > str.o(.text+0x168c):str.cpp: undefined reference to `operator > new[](unsigned)' > str.o(.text+0x16d3):str.cpp: undefined reference to `operator delete(void*)' -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk! -- /usr/games/fortune -- 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/