From owner-freebsd-ports@FreeBSD.ORG Tue Jun 18 18:19:56 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E0A73DC3 for ; Tue, 18 Jun 2013 18:19:56 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from mail-qe0-f52.google.com (mail-qe0-f52.google.com [209.85.128.52]) by mx1.freebsd.org (Postfix) with ESMTP id A6ECA1BEA for ; Tue, 18 Jun 2013 18:19:56 +0000 (UTC) Received: by mail-qe0-f52.google.com with SMTP id i11so2653657qej.39 for ; Tue, 18 Jun 2013 11:19:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=vfZMQcNrNJj+yB2HGqerparKErT3jsO+bk59Vfp04bM=; b=LmxbOhYD0X//b96tYhaVdNkox957qwHpe5bXfl3yIbSJguMqFiCEK5oIsudGusXyka qt4CnsNHgNEGn9PD5+lyfIW3cOzOzzjVsK5PO7g4ZKI1J2SM+NIINx+UMWjb+JEbJnbn CPglV6Z7lhQ50s9Bdcxfmlnghd6t5/l2rMZLqwqrHsn3bOYc8+WO3sbh/YGs/ibJ1EXn yDlRv9loJpTP/YOWRBwLP8LMSZ1xEwwJC1GBc16v8vfqyfiXOBNjvRzWXsgZI1QmtyJY SNL+5lmbf1b788TpV0bXP2iHPDEa+2D8UBLPKvQSyYVJ53S6eanBzP8FSWrmVmvxvv37 Vj0A== MIME-Version: 1.0 X-Received: by 10.229.177.10 with SMTP id bg10mr476425qcb.135.1371579590630; Tue, 18 Jun 2013 11:19:50 -0700 (PDT) Received: by 10.49.13.167 with HTTP; Tue, 18 Jun 2013 11:19:49 -0700 (PDT) Date: Tue, 18 Jun 2013 14:19:49 -0400 Message-ID: Subject: Re: net-mgmt/cflowd 2.1.b1 build failure From: Kim Culhan To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jun 2013 18:19:56 -0000 On Mon, June 17, 2013 10:47 pm, Mark Felder wrote: > I just did a build of this in poudriere with no issues. I'd guess you > have a dirty build environment. Can you post the contents of your > make.conf? Had added the gcc lines to make.conf to build with gcc, now commented the gcc lines and compiled with clang. make.conf now looks like: # added by use.perl 2013-04-14 17:30:19 PERL_VERSION=5.14.2 WITH_PKGNG=yes #.if !empty(.CURDIR:M/usr/ports/*) && exists(/usr/bin/gcc42) #CC=gcc #CXX=g++ #CPP=cpp #.endif The build failure now looks like: libtool: link: c++ -O2 -pipe -fno-strict-aliasing CflowdRawFlowClientList.o cflowdmux.o -o .libs/cflowdmux ../../classes/lib/.libs/libCfd.so -L/usr/local/lib /usr/local/lib/libArts.so ../../snmp++/classes/lib/.libs/libsnmp++.so -lfl -lcompat -Wl,-rpath -Wl,/usr/local/lib/cflowd -Wl,-rpath -Wl,/usr/local/lib ../../classes/lib/.libs/libCfd.so: undefined reference to `yyFlexLexer::yywrap()' c++: error: linker command failed with exit code 1 (use -v to see invocation) gmake[2]: *** [cflowdmux] Error 1 gmake[2]: Leaving directory `/usr/ports/net-mgmt/cflowd/work/cflowd-2-1-b1/apps/cflowdmux' gmake[1]: *** [cflowdmux] Error 2 gmake[1]: Leaving directory `/usr/ports/net-mgmt/cflowd/work/cflowd-2-1-b1/apps' gmake: *** [all] Error 2 *** Error code 1 Stop. make: stopped in /usr/ports/net-mgmt/cflowd *** Error code 1 Stop. make: stopped in /usr/ports/net-mgmt/cflowd thanks for looking.. -kim