From owner-freebsd-questions@FreeBSD.ORG Fri Jan 30 20:23:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1ED171065687 for ; Fri, 30 Jan 2009 20:23:37 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id DFE9B8FC25 for ; Fri, 30 Jan 2009 20:23:36 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 0F29FAFBCCB; Fri, 30 Jan 2009 11:23:36 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org, Matthias Apitz Date: Fri, 30 Jan 2009 11:23:35 -0900 User-Agent: KMail/1.9.10 References: <20090130154311.GA7964@rebelion.Sisis.de> In-Reply-To: <20090130154311.GA7964@rebelion.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901301123.35763.fbsd.questions@rachie.is-a-geek.net> Cc: Subject: Re: gsasl 0.2.28_1 does not link in 7.1R X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jan 2009 20:23:37 -0000 On Friday 30 January 2009 06:43:11 Matthias Apitz wrote: > Hello, > > Any idea about the problem below? Thx > > matthias > > # cd /usr/ports/security/gsasl > # make > ===> Building for gsasl-0.2.28_1 > make all-recursive > Making all in po > Making all in gl > make all-am > Making all in lib > make all-recursive > Making all in po > Making all in gl > make all-am > Making all in gltests > make all-recursive > Making all in external > Making all in anonymous > Making all in plain > Making all in login > Making all in cram-md5 > Making all in digest-md5 > Making all in ntlm > Making all in gssapi > Making all in securid > Making all in src > Making all in src > make all-am > /bin/sh ../libtool --tag=CC --mode=link cc -std=gnu99 -O2 > -fno-strict-aliasing -pipe -L/usr/local/lib -o gsasl gsasl.o > gsasl_cmd.o imap.o smtp.o callbacks.o ../lib/src/libgsasl.la > ../gl/libgl.la -lreadline -L/usr/local/lib -lgnutls -lz > -L/usr/local/lib -lgcrypt -L/usr/local/lib -lgpg-error -L/usr/local/lib > -lintl -L/usr/local/lib -liconv -R/usr/local/lib > cc -std=gnu99 -O2 -fno-strict-aliasing -pipe -o .libs/gsasl gsasl.o > gsasl_cmd.o imap.o smtp.o callbacks.o -L/usr/local/lib > ../lib/src/.libs/libgsasl.so -L/usr/lib /usr/local/lib/libntlm.so > -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err > ../gl/.libs/libgl.a -lreadline /usr/local/lib/libgnutls.so -lz > /usr/local/lib/libgcrypt.so /usr/local/lib/libgpg-error.so > /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -Wl,--rpath > -Wl,/usr/local/lib > /usr/lib/libasn1.so: undefined reference to `init_error_table' > /usr/lib/libasn1.so: undefined reference to `initialize_error_table_r' > *** Error code 1 Judging from the manpage, it's not supposed to be linked directly, but using -lbsnmp. But your linkline is far more complex then mine. Which of the dependencies did you enable kerberos and snmp support? -- Mel Problem with today's modular software: they start with the modules and never get to the software part.