Date: Wed, 3 Feb 2016 09:45:20 +0100 From: Marcin Mazurek <mma@semihalf.com> To: Hans Petter Selasky <hps@selasky.org> Cc: freebsd-arm@freebsd.org, freebsd-current@freebsd.org, Bryan Drewery <bdrewery@freebsd.org> Subject: Re: Cannot include header files from sys/contrib directory Message-ID: <CAF-BqKpYY2ZPyfKY-JfmphZZvSxGpHbnswL3pzB_MrxH1F%2BRzg@mail.gmail.com> In-Reply-To: <56B0D420.10609@selasky.org> References: <CAF-BqKpa56OB9rfvAkukMOE39j22xPb3Oj4U9UMkjhWrO0n5ag@mail.gmail.com> <56B09AAE.9000909@selasky.org> <CAF-BqKpvNKwZ9VamATP2L0j9PKoNR-ErTCkNks=QCKRpbJWBrQ@mail.gmail.com> <56B09F3A.1080409@selasky.org> <CAF-BqKpgjnLXKH1nLtYk5cG7HK7W45YWr1e192eh31FaUw5imA@mail.gmail.com> <56B0A2F3.6080100@selasky.org> <CAF-BqKqiqC54PWFfO5djRuCLRu4rhxsDT0pWfieZpBFakqjLww@mail.gmail.com> <56B0D420.10609@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <hps@selasky.org>: > 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 dGVhZAojaW5jbHVkZSA8YWxfaGFsX2NvbW1vbi5oPgogICAgICAgICBefn5+fn5+fn5+fn5+fn5+ fgogICAgICAgICAiYWxfaGFsX2NvbW1vbi5oIgoxIGVycm9yIGdlbmVyYXRlZC4KL3Jvb3QvbW1h L2FucGEtZmJzZC9zeXMvY29udHJpYi9hbHBpbmUtaGFsL2FsX2hhbF91ZG1hX2NvbmZpZy5jOjQ0 OjEwOiBlcnJvcjogJ2FsX2hhbF9jb21tb24uaCcgZmlsZSBub3QgZm91bmQgd2l0aCA8YW5nbGVk PiBpbmNsdWRlOyB1c2UgInF1b3RlcyIgaW5zdGVhZAojaW5jbHVkZSA8YWxfaGFsX2NvbW1vbi5o PgogICAgICAgICBefn5+fn5+fn5+fn5+fn5+fgogICAgICAgICAiYWxfaGFsX2NvbW1vbi5oIgov cm9vdC9tbWEvYW5wYS1mYnNkL3N5cy9jb250cmliL2FscGluZS1oYWwvYWxfaGFsX3VkbWFfY29u Z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bWEvYW5wYS1mYnNkL3N5cy9BTFBJTkUKKioqIFtidWlsZGtlcm5lbF0gRXJyb3IgY29k ZSAyCgptYWtlWzFdOiBzdG9wcGVkIGluIC9yb290L21tYS9hbnBhLWZic2QKMSBlcnJvcgoKbWFr ZVsxXTogc3RvcHBlZCBpbiAvcm9vdC9tbWEvYW5wYS1mYnNkCioqKiBbYnVpbGRrZXJuZWxdIEVy cm9yIGNvZGUgMgoKbWFrZTogc3RvcHBlZCBpbiAvcm9vdC9tbWEvYW5wYS1mYnNkCjEgZXJyb3IK Cm1ha2U6IHN0b3BwZWQgaW4gL3Jvb3QvbW1hL2FucGEtZmJzZAo= --089e013cbd68597959052ad9a3f5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF-BqKpYY2ZPyfKY-JfmphZZvSxGpHbnswL3pzB_MrxH1F%2BRzg>