From owner-freebsd-ports@FreeBSD.ORG Thu Apr 23 08:57:06 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 310163C8 for ; Thu, 23 Apr 2015 08:57:06 +0000 (UTC) Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com [74.125.82.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C73741F18 for ; Thu, 23 Apr 2015 08:57:05 +0000 (UTC) Received: by wgso17 with SMTP id o17so11124666wgs.1 for ; Thu, 23 Apr 2015 01:56:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-type:content-transfer-encoding; bh=aQV2mDcdUsJky+i1s48l41Ri6WxOVipff/ickCr7JYA=; b=Ez0Mzn4rh+X6LwKBs9plDitY3nm5SM8K9b2G3/FkaPLqZ4rvBkhzQgMNXVsfPZEF8d bbcl0PAir/MyZ4tJs1ADZJCPJmHRzRywo9R+4dA0ulQ/RRyzILgX2z+p/ErLIxPSelGU 3EPxy/XQvMn53eKtxqWZuSKiwML/spg85baSKgukYd3l9iiPijcnaxP9XUpExThH60is DfkwQe9Ic6gN6QyTuR49Qyehf7ssp2UYBnvVRoFLjtaioJmyO0OuUNveNh7VH3D2D2qe mB2Q1BlPS4JEBanGVODeiFabYSCwDTjN4ZYowMuLtVFaI4d7LYYl7Viih1ytanh4/Njg xHag== X-Gm-Message-State: ALoCoQkjdf3oUfzJ6np/WC9IZeeOTT8RpFwIjqsjgLqqRHDDSlY1vdMN9vkpakaJaPiYmPj+WRT1 X-Received: by 10.180.103.231 with SMTP id fz7mr3891055wib.35.1429779417982; Thu, 23 Apr 2015 01:56:57 -0700 (PDT) Received: from rsbsd.rsb ([78.162.27.40]) by mx.google.com with ESMTPSA id v20sm2789576wjr.49.2015.04.23.01.56.56 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Apr 2015 01:56:57 -0700 (PDT) Date: Thu, 23 Apr 2015 11:56:54 +0300 From: Beeblebrox To: freebsd-ports@freebsd.org Subject: ftp/curl compiler error Message-ID: <20150423115654.61153412@rsbsd.rsb> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Apr 2015 08:57:06 -0000 I'm seeing this odd error when trying to compile ftp/curl configure: using CFLAGS: -I/usr/include -O2 -pipe -fstack-protector -fno-s= trict-aliasing configure: CFLAGS note: CFLAGS should only be used to specify C compiler fl= ags, not include directories. Use CPPFLAGS for: -I/usr/include configure: WARNING: Continuing even with errors mentioned immediately above= this line. checking for a BSD-compatible install... /usr/bin/install -c -o root -g whe= el checking for gcc... cc checking whether the C compiler works... no configure: error: in `/asp/obj/asp/git/ports/ftp/curl/work/curl-7.42.0': configure: error: C compiler cannot create executables * As a test, I placed "CPPFLAGS+=3D -I /usr/include" in /etc/make.conf, but= no change with the error. * If I cd to /usr/obj/ports/ftp/curl/work/curl-7.42.0 and run make from wit= hin that folder, compile runs normally, but uses gcc checking for a BSD-compatible install... /usr/bin/install -c checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables...=20 checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking how to run the C preprocessor... gcc -E checking whether build environment is sane... yes * "make USE_GCC=3Dany -C ftp/curl" has no effect, I get same error. * Enabled options: CA_BUNDLE, COOKIES, IDN, PROXY, TLS_SRP, GSSAPI_BASE, T= HREADED_RESOLVER, OPENSSL. All other options off. Disabling a number of the= se options made no difference. --=20 FreeBSD_amd64_11-Current_RadeonKMS Please CC my email when responding, mail from list is not delivered.