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 Message-ID: <43060074.61EF5436@dessent.net> Date: Fri, 19 Aug 2005 08:53:24 -0700 From: Brian Dessent MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Trying to build crm114 (20050721) under CygWin 1.5.18-1 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Herb Martin wrote: > ...in the thought that maybe the supposedly installed tre > libs were not getting picked up -- no joy. Didn't help. It's finding the library just fine. If you specify a -lfoo and it can't find libfoo then you get an error about not being able to find libfoo. But that's not the error you're getting so that's not your problem. > Order of what specifically? I am modifying these lines in > the Makefile: The order that things are specified to gcc on the link command line. The libraries must come after the objects that reference them. > LDFLAGS += -L/usr/local/lib > #LIBS += -lintl -liconv > > I uncommented the second line and added various > combinations of -L to the first, and -ltre to the > second. I have no idea how this makefile is structured and since it apparently doesn't use autotools (uuuuggghhh!!) then you'll probably have to hack it up. This is precisely why using home-made Makefiles is a terrible idea. You need to find where the actual gcc link command is constructed and see how the order is specified in order to figure out how to get the libraries in the right place. Brian -- 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/