From owner-freebsd-arm@freebsd.org Wed Feb 3 08:45:21 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 43F2FA9AF5D for ; Wed, 3 Feb 2016 08:45:21 +0000 (UTC) (envelope-from mma@semihalf.com) Received: from mail-ig0-x230.google.com (mail-ig0-x230.google.com [IPv6:2607:f8b0:4001:c05::230]) (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 145CC65C for ; Wed, 3 Feb 2016 08:45:20 +0000 (UTC) (envelope-from mma@semihalf.com) Received: by mail-ig0-x230.google.com with SMTP id 5so31286574igt.0 for ; Wed, 03 Feb 2016 00:45:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=X1NH/cKcjWz3WhW0wHx/dB2qAHRw3P6AnVQDf/cybcI=; b=FnLxyLot+k+aJl6ZL3PLJ0u9gV0CJaRlFhusIBBIbQEF3pZCRlCh64j0g31cd/vTTL t5NQ4KRdXZ8P67cLCag9hbMC7vPkkn07ZYM6Whz4WpYR9fOZG4YKf8D8YSXiqoLQZQDR WP4lacydklbcvhZVg/l4clOhChaZxSwCnWvTLLW5A1CLeyQtudBpUI8KMqLbGFAPof56 fx/iNnVli9ACXESD4aPIBDV72Z8IJ2sTi1L2iT9si7mJ8vt/yrIZexSUDsfdaJRX+I1d yZ9q6A7XQldgKeETePrgizhxRnJg9YkrkMFbkto/lf9CJg7rprRr3qa0kJmCZB3yiQab McYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=X1NH/cKcjWz3WhW0wHx/dB2qAHRw3P6AnVQDf/cybcI=; b=H7XSiD8y28vDvHLnn6uirNu30ZtKV8TjG31vfQxiFKGZR3+jZPtFP5ZYlDJQlZMS7A n0DZDrZ9Ap6i0K39jZF6iCo/VLkrDH7cjAKQ4vnZAwhRglJxf9r2mKtXrjPjPyodWwmG r+OIPE5aWeJzPmb3F8EyglSG7h0Fbdj22Szxa/7TMVHx712NgrMAvC9Fg57Ge7WiHsAn Aipl926ssXItP9WYGQac3e0Otsd6vVigDyuODfIxbXgVKjYeOBcz9+p5lcQiNew9fK6A UoQ402u9yf3CNkimBsx4X+FTJQ3A0MaL84NUA3QbSj9TNkoV8Ewr5nl2zoluESGTRvb/ 2uOQ== X-Gm-Message-State: AG10YOSU8HscTKtBR/l5ZncTtxN3vsa2lnJ2LyGQcL0NHh7QXuT28vOAOWKZ+1NBcqJ3nYtoLJGug8laKankjg== MIME-Version: 1.0 X-Received: by 10.50.141.193 with SMTP id rq1mr21304374igb.44.1454489120349; Wed, 03 Feb 2016 00:45:20 -0800 (PST) Received: by 10.107.4.8 with HTTP; Wed, 3 Feb 2016 00:45:20 -0800 (PST) In-Reply-To: <56B0D420.10609@selasky.org> References: <56B09AAE.9000909@selasky.org> <56B09F3A.1080409@selasky.org> <56B0A2F3.6080100@selasky.org> <56B0D420.10609@selasky.org> Date: Wed, 3 Feb 2016 09:45:20 +0100 Message-ID: Subject: Re: Cannot include header files from sys/contrib directory From: Marcin Mazurek To: Hans Petter Selasky Cc: freebsd-arm@freebsd.org, freebsd-current@freebsd.org, Bryan Drewery Content-Type: multipart/mixed; boundary=089e013cbd68597959052ad9a3f5 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Wed, 03 Feb 2016 08:45:21 -0000 --089e013cbd68597959052ad9a3f5 Content-Type: text/plain; charset=UTF-8 Hi, Actually, I have got the same 'compile-with' and 'no-depend' options for my all files. I run to build kernel with command: env MAKEOBJDIRPREFIX=/root/mma/anpa-build make buildkernel TARGET=arm TARGET_ARCH=armv6 KERNCONF=ALPINE -j6 -DNO_CLEAN I tried to do this without -DNO_CLEAN option too, but the output was the same. Files that I need to include are located in sys/contrib/alpine-hal and sys/contrib/alpine-hal/eth. I attach the entire error log. 2016-02-02 17:06 GMT+01:00 Hans Petter Selasky : > 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 > > --089e013cbd68597959052ad9a3f5 Content-Type: application/octet-stream; name=log Content-Disposition: attachment; filename=log Content-Transfer-Encoding: base64 X-Attachment-Id: f_ik6l75x20 SW4gZmlsZSBpbmNsdWRlZCBmcm9tIC9yb290L21tYS9hbnBhLWZic2Qvc3lzL2NvbnRyaWIvYWxw aW5lLWhhbC9hbF9oYWxfaW9maWMuYzo0NToKL3Jvb3QvbW1hL2FucGEtZmJzZC9zeXMvY29udHJp Yi9hbHBpbmUtaGFsL2FsX2hhbF9pb2ZpYy5oOjUyOjEwOiBlcnJvcjogJ2FsX2hhbF9jb21tb24u aCcgZmlsZSBub3QgZm91bmQgd2l0aCA8YW5nbGVkPiBpbmNsdWRlOyB1c2UgInF1b3RlcyIgaW5z dGVhZAojaW5jbHVkZSA8YWxfaGFsX2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