delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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 <brian AT dessent DOT net> |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Trying to build crm114 (20050721) under CygWin 1.5.18-1 |
References: | <EILH4L4-0007JS-3C AT mail2 DOT learnquick DOT com> |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |