From owner-freebsd-arm@freebsd.org Tue Feb 2 16:04:40 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 252E5A9803D; Tue, 2 Feb 2016 16:04:40 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DB04EF5E; Tue, 2 Feb 2016 16:04:39 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 6008A1FE022; Tue, 2 Feb 2016 17:04:36 +0100 (CET) Subject: Re: Cannot include header files from sys/contrib directory To: Marcin Mazurek References: <56B09AAE.9000909@selasky.org> <56B09F3A.1080409@selasky.org> <56B0A2F3.6080100@selasky.org> Cc: freebsd-arm@freebsd.org, freebsd-current@freebsd.org, Bryan Drewery From: Hans Petter Selasky Message-ID: <56B0D420.10609@selasky.org> Date: Tue, 2 Feb 2016 17:06:56 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 16:04:40 -0000 On 02/02/16 14:11, Marcin Mazurek wrote: > Now my config line looks like: > > dev/al_eth/al_eth.c optional al_eth \ > no-depend \ > compile-with "${CC} -c -o ${.TARGET} ${CFLAGS} > -I$S/contrib/alpine-hal -I$S/contrib/alpine-hal/eth ${PROF} ${.IMPSRC}" > > > Unfortunately I still get the same errors as before: > Hi, > mkdep: compile failed ^^^ The depend will fail, this is expected. Maybe you need to clean the build directory after applying the config above. Note, the compile-with and no-depend must be the same for all files you compile. Can you show the command you are running to build? Can you show the full path for the .c and .h files in question? --HPS