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 Message-ID: <3B8A8666.8000604@ece.gatech.edu> Date: Mon, 27 Aug 2001 13:41:58 -0400 From: Charles Wilson User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010713 X-Accept-Language: en-us MIME-Version: 1.0 To: Mark Paulus CC: "cygwin AT cygwin DOT com" Subject: Re: problem building program: undef ref _imp__gettext References: <200108271722 DOT f7RHMiN20824 AT mail DOT ee DOT gatech DOT edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Mark Paulus wrote: > Hi, > > I'm trying to compile/link a program, and I'm getting the following > undefined reference: _imp__gettext. > > Is there some Environment variable, or something special I need to > do to enable gettext?? add -lintl to your link command. >(BTW, where is the '_imp_' getting > pre-pended to the name anyway??) That's the way shared libraries on windows (DLLs) work. --Chuck -- 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/