Re: Cannot include header files from sys/contrib directory

From: Marcin Mazurek <mma_at_semihalf.com>
Date: Tue, 2 Feb 2016 14:11:03 +0100
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 <angled> include; use "quotes" instead
#include <al_hal_common.h>
         ^
         "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 <angled> include; use "quotes"
instead
#include <al_hal_common.h>
         ^
         "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 <angled> include; use
"quotes" instead
#include <al_hal_udma_regs.h>
         ^
         "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 <angled> include; use
"quotes" instead
#include <al_hal_udma_config.h>
         ^
         "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 <angled> include; use "quotes" instead
#include <al_hal_common.h>
         ^
         "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 <angled> include; use
"quotes" instead
#include <al_hal_udma_regs.h>
         ^
         "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 <hps_at_selasky.org>:

> 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
>
>
Received on Tue Feb 02 2016 - 12:11:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:02 UTC