From owner-freebsd-ports@FreeBSD.ORG Thu May 31 10:57:55 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9DEAE16A400 for ; Thu, 31 May 2007 10:57:55 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id 57AE913C48A for ; Thu, 31 May 2007 10:57:55 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so50686anc for ; Thu, 31 May 2007 03:57:54 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:x-authentication-warning:date:from:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=kj+H8PsdaltdBT/7h1VDF8rDfLYn6tMevH+U7tYr2lx4PBgkwB6dM+EoOugcy0wSfUOr5TZEhVWKld77HE48MEjPKryouPgmnzrnVxU0MzhiEAppJtCcQl4qwLsulxXR0+Vor7TS7jF1PxBspHszI7FC9Gi8FgNjNg9fya1tYZc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:x-authentication-warning:date:from:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=Xrt2WiU8pBAmI9PapzbpsKqtX4DZ7YkA9BanBQJlEGWjfZMD0alR+QdKZx1y8QYbUbzLLN3geBlOmvBZ1/fiiAqrRPoGgOU5OH0niTGoZUG+JejvnWpxaMj+7ttg8hMBOjIVnTl/uA1Txg7s6fsnYEN2+Pw+pbVvucEnNZi3LS0= Received: by 10.78.201.15 with SMTP id y15mr322346huf.1180609073529; Thu, 31 May 2007 03:57:53 -0700 (PDT) Received: from darklight.abyss ( [83.239.5.254]) by mx.google.com with ESMTP id g1sm3098557muf.2007.05.31.03.57.49; Thu, 31 May 2007 03:57:52 -0700 (PDT) Received: from darklight.abyss (localhost [127.0.0.1]) by darklight.abyss (8.14.1/8.14.1) with ESMTP id l4VAvUmA032677; Thu, 31 May 2007 14:57:31 +0400 (MSD) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by darklight.abyss (8.14.1/8.14.1/Submit) id l4VAvNwj032676; Thu, 31 May 2007 14:57:23 +0400 (MSD) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: darklight.abyss: yuri set sender to yuri.pankov@gmail.com using -f Date: Thu, 31 May 2007 14:57:22 +0400 From: Yuri Pankov To: "M. Warner Losh" Message-ID: <20070531105722.GA15885@darklight.abyss> References: <20070531.013040.-135505334.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070531.013040.-135505334.imp@bsdimp.com> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: freebsd-ports@freebsd.org Subject: Re: libusb failed X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2007 10:57:55 -0000 On Thu, May 31, 2007 at 01:30:40AM -0600, M. Warner Losh wrote: > Maybe this is old news, but libusb failed for me: > > (cd .libs && rm -f libusb.la && ln -s ../libusb.la libusb.la) > if /bin/sh /usr/local/bin/libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -O2 -fno-strict-aliasing -pipe -MT usbpp.lo -MD -MP -MF ".deps/usbpp.Tpo" -c -o usbpp.lo usbpp.cpp; then mv -f ".deps/usbpp.Tpo" ".deps/usbpp.Plo"; else rm -f ".deps/usbpp.Tpo"; exit 1; fi > c++ -DHAVE_CONFIG_H -I. -O2 -fno-strict-aliasing -pipe -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp -fPIC -DPIC -o .libs/usbpp.o > c++ -DHAVE_CONFIG_H -I. -O2 -fno-strict-aliasing -pipe -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp -o usbpp.o >/dev/null 2>&1 > /bin/sh /usr/local/bin/libtool --mode=link c++ -O2 -fno-strict-aliasing -pipe -o libusbpp.la -rpath /usr/local/lib -version-info 8:4:4 -release 0.1 -export-dynamic -lusb usbpp.lo > c++ -shared -nostdlib /usr/lib/crti.o /usr/lib/crtbeginS.o .libs/usbpp.o -Wl,--rpath -Wl,/tmp/ports/devel/libusb/work/libusb-0.1.12/.libs -Wl,--rpath -Wl,/usr/local/lib /tmp/ports/devel/libusb/work/libusb-0.1.12/.libs/libusb.so -L/usr/lib -lstdc++ -lm -lgcc_pic /usr/lib/crtendS.o /usr/lib/crtn.o -Wl,-soname -Wl,libusbpp-0.1.so.8 -o .libs/libusbpp-0.1.so.8 > /usr/bin/ld: cannot find -lgcc_pic > *** Error code 1 > > Stop in /tmp/ports/devel/libusb/work/libusb-0.1.12. > *** Error code 1 > > Stop in /tmp/ports/devel/libusb/work/libusb-0.1.12. > *** Error code 1 > > Stop in /tmp/ports/devel/libusb/work/libusb-0.1.12. > *** Error code 1 > > Stop in /tmp/ports/devel/libusb. > ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.60394.37 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=libusb-0.1.12 UPGRADE_PORT_VER=0.1.12 make > ** Fix the problem and try again. > > Any ideas? > > Warner Try reinstalling libtool. HTH, Yuri