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: <4305F226.CD82A7FD@dessent.net> Date: Fri, 19 Aug 2005 07:52:22 -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: > If I change -L/usr/local/lib to -L/usr/local/lib:/lib -L takes a single path, no colon. You specify it multiple times to add multiple paths. But /lib is already be in the search path so this is redundant and unnecessary. > gcc -static -L/usr/local/lib:/lib -lintl -liconv crm_main.o crm_compiler.o > crm_errorhandlers.o crm_exec_engine.o crm_p > reprocessor.o crm_var_hash_table.o crm_math_exec.o crm_expandvar.o > crm_stmt_parser.o crm_expr_alter.o crm_expr_match.o c > rm_css_maintenance.o crm_markovian.o crm_osb_bayes.o crm_osb_hyperspace.o > crm_correlate.o crm_osb_winnow.o crm_winnow > _maintenance.o crm_osbf_bayes.o crm_osbf_maintenance.o crm_expr_window.o > crm_expr_isolate.o crm_expr_file_io.o crm_expr > _syscall.o crm_expr_classify.o crm_debugger.o crm_str_funcs.o \ > crmregex_tre.o \ > -lm -ltre -o crm114_tre > /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot > find -ltre > collect2: ld returned 1 exit status > make[1]: *** [crm114_tre] Error 1 > make[1]: Leaving directory > `/etc/mail/spamassassin/crm114-20050721-BlameNeilArmstrong.src' > make: *** [crm114] Error 2 Now you've got the order wrong. The objects must be specified in dependent order, which generally means libraries after objects. 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/