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: Mon, 30 Jun 2003 15:44:49 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Vikram Mehta cc: cygwin AT cygwin DOT com Subject: Re: how do I link cygintl-1.dll In-Reply-To: Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Vikram, This is a shot in the dark, but did you *install* the "gettext" package, which contains "libintl.a"? Next time, please read *completely* and follow the directions there when asking for help. FYI, I used the search feature at to find out which package contained "libintl.a". Igor On Mon, 30 Jun 2003, Vikram Mehta wrote: > Ok, > > maybe I am getting all bogged down > > While building ksymoops , > > finally I get > > /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../libbfd.a(syms.o)(.text+0x1109): > undefined reference to `_dcgettext' > > also > > /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../libbfd.a(elf-strtab.o)(.text+0x720): > undefined reference to `_htab_create_alloc' > > Now.... _dcgettext is in this dll. > I tried -lintl... > > I get -lintl not found. > > > And may be it sounds very basic to you but even if I do link the dll, will > it solve the problem in libbfd.a > > I even found the code for dcgettext.... but had my code be wanting dcgetext > I would ahve replaced it. > > Elfyn knows, I did it before rather that waiting ;-) > > But it is being used in libbfd. > > > Vikram > > > >From: Elfyn McBratney > >Subject: Re: how do I link cygintl-1.dll > >Date: Mon, 30 Jun 2003 16:47:24 +0100 > > > >On Mon, 30 Jun 2003, Vikram Mehta wrote: > > > > > cygintl-1.dll has dcgettext > > > > > > How do I link it. > > > > > > Humor would be very nice if it comes with some help > > > >You may not have been formaly introduced to my humour, so I'll just try n > >help. > >:-) > > > >You just need need to pass `-lintl' on the link line. > > > >Elfyn -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/