From owner-freebsd-current@freebsd.org Tue Feb 2 13:11:04 2016 Return-Path: Delivered-To: freebsd-current@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 7436BA974C9 for ; Tue, 2 Feb 2016 13:11:04 +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 474011CDB for ; Tue, 2 Feb 2016 13:11:04 +0000 (UTC) (envelope-from mma@semihalf.com) Received: by mail-ig0-x230.google.com with SMTP id z14so59747750igp.1 for ; Tue, 02 Feb 2016 05:11:04 -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=ZMyuIcsjRPJF8CsrXmL05PQ1r31EnY92L94syWwAKsM=; b=V8q9HqEhEbOCb3eBNjq/0a9yFNFgx3d1srI/nmfhQ78i4cA+4JK1Ji8dHw4Ad5h+68 P0fkEmqOhKdLj3k1GtCwt53vG6aIDUFc9iF/WWXb4sRGEYbN94sRtyWCkbte/KHJhg/3 Br0VVxgVXjKZF6CO84qR1edeQ1aq+7NoJbpnNp+AGta387DF/q+Slycn3nelH1F61ihm sizliBsufgp8790yMIscj18stOsyCZrYVcm1IcXv130hHnl003+AoTFmCGOUkLkeTYYf pKmUA+zFpYyrmo3K5vFpSPqlvSXEMjnwU+JdY8rVMMB/60Ta6ACnVWMH4YPJbFaKgNq3 wRDQ== 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=ZMyuIcsjRPJF8CsrXmL05PQ1r31EnY92L94syWwAKsM=; b=g2BeYgFdVwZtuCFH4An3a+t0BSggJv7z0A3+3M8/kbqMJ/8SqCRNBok4vo+T5ncegf D1nHoJvuW9Q3A/DGoQyU9sQKjtTVR+4m/8huoLobrGCW4NIeUjRdiTMdJHpQKm1krKc5 uVQoLQZoGk6JbxK7O4JCRVMbZwLL3gh18E8IkIqFIyIlyUQM8UxiQghFsiPYZunONZG+ amW2hElA6oYDf5JojCOs0bQA7ojUhq1P5yQdBl1qf6j/FsChJ+FdWHxCfUj1FvT4JxOX v/j9dravFvDWmziWNP3+zqBwg2j0d8LMSgZyp+ldYPOUxY2uPtjP5Uq4X7FU5UDfKBTj 8j6A== X-Gm-Message-State: AG10YOTzvirxD+ovfYeBdA3VuWCB+Vu+vdw01vu7eF25YvU4t1nePWL0EZEEbG1ZS/Css/PhsrfD/BeqILPzhA== MIME-Version: 1.0 X-Received: by 10.50.43.130 with SMTP id w2mr18119664igl.9.1454418663552; Tue, 02 Feb 2016 05:11:03 -0800 (PST) Received: by 10.107.4.8 with HTTP; Tue, 2 Feb 2016 05:11:03 -0800 (PST) In-Reply-To: <56B0A2F3.6080100@selasky.org> References: <56B09AAE.9000909@selasky.org> <56B09F3A.1080409@selasky.org> <56B0A2F3.6080100@selasky.org> Date: Tue, 2 Feb 2016 14:11:03 +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: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 13:11:04 -0000 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: In file included from /root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_iofic.c:45: /root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_iofic.h:52:10: error: 'al_hal_common.h' file not found with include; use "quotes" instead #include ^ "al_hal_common.h" 1 error generated. /root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_udma_config.c:44:10: error: 'al_hal_common.h' file not found with include; use "quotes" instead #include ^ "al_hal_common.h" /root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_udma_config.c:45:10: error: 'al_hal_udma_regs.h' file not found with include; use "quotes" instead #include ^ "al_hal_udma_regs.h" /root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_udma_config.c:46:10: error: 'al_hal_udma_config.h' file not found with include; use "quotes" instead #include ^ "al_hal_udma_config.h" In file included from /root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_udma_iofic.c:45: In file included from /root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_udma_iofic.h:53: /root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_iofic.h:52:10: error: 'al_hal_common.h' file not found with include; use "quotes" instead #include ^ "al_hal_common.h" In file included from /root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_udma_iofic.c:45: /root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_udma_iofic.h:54:10: error: 'al_hal_udma_regs.h' file not found with include; use "quotes" instead #include ^ "al_hal_udma_regs.h" mkdep: compile failed *** [.depend] Error code 1 make[2]: stopped in /root/mma/anpa-build/arm.armv6/root/mma/anpa-fbsd/sys/ALPINE 1 error make[2]: stopped in /root/mma/anpa-build/arm.armv6/root/mma/anpa-fbsd/sys/ALPINE *** [buildkernel] Error code 2 make[1]: stopped in /root/mma/anpa-fbsd 1 error make[1]: stopped in /root/mma/anpa-fbsd *** [buildkernel] Error code 2 make: stopped in /root/mma/anpa-fbsd 1 error make: stopped in /root/mma/anpa-fbsd Could you tell me how can I update conf file to set a correct dependencies? 2016-02-02 13:37 GMT+01:00 Hans Petter Selasky : > On 02/02/16 13:29, Marcin Mazurek wrote: > >> I just tested this, but without any result. >> I got the same errors. >> >> > Can you show the errors you got? Try temporarily adding "no-depend" > keyword to the config line before build-with . > > You should also update conf/XXX to have a special depend for your files, > because there is no depend-with option. > > --HPS > >