Re: Experiment : trying to compile the panfrost driver on FreeBSD 15.0

Mario Marietto <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <CA+1FSiiaSPkwo=uCWSgSaY2Ts0+QkK1_pbL4rtqtEjisJZCKNQ@mail.gmail.com>
--------------------------------------------------------------
>>> stage 3.1: building everything
--------------------------------------------------------------
cd /usr/obj/mnt/da7p2/usr-no/src/src-150/arm64.aarch64/sys/GENERIC-DRM-150;
time env MACHINE_ARCH=aarch64  MACHINE=arm64  CPUTYPE= LOCAL_MODULES=
CC="cc -target aarch64-unknown-freebsd14.2
--sysroot=/usr/obj/mnt/da7p2/usr-no/src/src-150/arm64.aarch64/tmp
-B/usr/obj/mnt/da7p2/usr-no/src/src-150/arm64.aarch64/tmp/usr/bin" CXX="c++
 -target aarch64-unknown-freebsd14.2
--sysroot=/usr/obj/mnt/da7p2/usr-no/src/src-150/arm64.aarch64/tmp
-B/usr/obj/mnt/da7p2/usr-no/src/src-150/arm64.aarch64/tmp/usr/bin"
 CPP="cpp -target aarch64-unknown-freebsd14.2
--sysroot=/usr/obj/mnt/da7p2/usr-no/src/src-150/arm64.aarch64/tmp
-B/usr/obj/mnt/da7p2/usr-no/src/src-150/arm64.aarch64/tmp/usr/bin"  AS="as"
AR="ar" ELFCTL="elfctl" LD="ld"  LLVM_LINK="" NM=nm OBJCOPY="objcopy"
 RANLIB=ranlib STRINGS=  SIZE="size" STRIPBIN="strip"  INSTALL="install -U"
 PATH=/usr/obj/mnt/da7p2/usr-no/src/src-150/arm64.aarch64/tmp/bin:/usr/obj/mnt/da7p2/usr-no/src/src-150/arm64.aarch64/tmp/usr/sbin:/usr/obj/mnt/da7p2/usr-no/src/src-150/arm64.aarch64/tmp/usr/bin:/usr/obj/mnt/da7p2/usr-no/src/src-150/arm64.aarch64/tmp/legacy/usr/sbin:/usr/obj/mnt/da7p2/usr-no/src/src-150/arm64.aarch64/tmp/legacy/usr/bin:/usr/obj/mnt/da7p2/usr-no/src/src-150/arm64.aarch64/tmp/legacy/bin:/usr/obj/mnt/da7p2/usr-no/src/src-150/arm64.aarch64/tmp/legacy/usr/libexec:/sbin:/bin:/usr/sbin:/usr/bin
 SYSROOT=/usr/obj/mnt/da7p2/usr-no/src/src-150/arm64.aarch64/tmp make  -D
NO_CLEAN -m /mnt/da7p2/usr-no/src/src-150/share/mk  KERNEL=kernel all
-DNO_MODULES_OBJ
cc -target aarch64-unknown-freebsd14.2
--sysroot=/usr/obj/mnt/da7p2/usr-no/src/src-150/arm64.aarch64/tmp
-B/usr/obj/mnt/da7p2/usr-no/src/src-150/arm64.aarch64/tmp/usr/bin -c -O2
-pipe  -fno-strict-aliasing  -g -nostdinc  -I.
-I/mnt/da7p2/usr-no/src/src-150/sys
-I/mnt/da7p2/usr-no/src/src-150/sys/contrib/ck/include
-I/mnt/da7p2/usr-no/src/src-150/sys/contrib/libfdt
-I/mnt/da7p2/usr-no/src/src-150/sys/contrib/device-tree/include -D_KERNEL
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
 -DLINUX_DTS_VERSION=\""6.12"\" -mstack-protector-guard=sysreg
-mstack-protector-guard-reg=sp_el0 -mstack-protector-guard-offset=0
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD
 -MF.depend.netlink_domain.o -MTnetlink_domain.o
-fdebug-prefix-map=./machine=/mnt/da7p2/usr-no/src/src-150/sys/arm64/include
-mgeneral-regs-only -ffixed-x18 -mno-outline-atomics -ffreestanding -fwrapv
-fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length     -std=gnu99
-Werror /mnt/da7p2/usr-no/src/src-150/sys/netlink/netlink_domain.c
/mnt/da7p2/usr-no/src/src-150/sys/netlink/netlink_domain.c:129:32: error:
member reference type 'typeof (vnet_entry_nl_ctl)' (aka 'struct
nl_control') is not a pointer; did you mean to use '.'?
  129 |         CK_LIST_FOREACH(nlp, &V_nl_ctl->ctl_port_head,
nl_port_next) {
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                       .
/mnt/da7p2/usr-no/src/src-150/sys/contrib/ck/include/ck_queue.h:383:30:
note: expanded from macro 'CK_LIST_FOREACH'
  383 |         for ((var) = CK_LIST_FIRST((head));
            \
      |                      ~~~~~~~~~~~~~~~^~~~~~
/mnt/da7p2/usr-no/src/src-150/sys/contrib/ck/include/ck_queue.h:378:47:
note: expanded from macro 'CK_LIST_FIRST'
  378 | #define CK_LIST_FIRST(head)
ck_pr_load_ptr(&(head)->clh_first)
      |
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/mnt/da7p2/usr-no/src/src-150/sys/contrib/ck/include/ck_pr.h:203:50: note:
expanded from macro 'ck_pr_load_ptr'
  203 | #define ck_pr_load_ptr(SRC) CK_PR_LOAD_PTR_SAFE((SRC))
      |                             ~~~~~~~~~~~~~~~~~~~~~^~~~~
/mnt/da7p2/usr-no/src/src-150/sys/contrib/ck/include/ck_pr.h:202:50: note:
expanded from macro 'CK_PR_LOAD_PTR_SAFE'
  202 | #define CK_PR_LOAD_PTR_SAFE(SRC) (CK_CC_TYPEOF(*(SRC), (void
*)))ck_pr_md_load_ptr((SRC))
      |                                   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/mnt/da7p2/usr-no/src/src-150/sys/contrib/ck/include/gcc/ck_cc.h:112:45:
note: expanded from macro 'CK_CC_TYPEOF'
  112 | #define CK_CC_TYPEOF(X, DEFAULT) __typeof__(X)
      |                                             ^
/mnt/da7p2/usr-no/src/src-150/sys/netlink/netlink_domain.c:129:23: error:
cannot take the address of an rvalue of type 'struct nl_pid_head'
  129 |         CK_LIST_FOREACH(nlp, &V_nl_ctl->ctl_port_head,
nl_port_next) {
      |         ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/mnt/da7p2/usr-no/src/src-150/sys/contrib/ck/include/ck_queue.h:383:30:
note: expanded from macro 'CK_LIST_FOREACH'
  383 |         for ((var) = CK_LIST_FIRST((head));
            \
      |                      ~~~~~~~~~~~~~~~^~~~~~
/mnt/da7p2/usr-no/src/src-150/sys/contrib/ck/include/ck_queue.h:378:47:
note: expanded from macro 'CK_LIST_FIRST'
  378 | #define CK_LIST_FIRST(head)
ck_pr_load_ptr(&(head)->clh_first)
      |
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/mnt/da7p2/usr-no/src/src-150/sys/contrib/ck/include/ck_pr.h:203:50: note:
expanded from macro 'ck_pr_load_ptr'
  203 | #define ck_pr_load_ptr(SRC) CK_PR_LOAD_PTR_SAFE((SRC))
      |                             ~~~~~~~~~~~~~~~~~~~~~^~~~~
/mnt/da7p2/usr-no/src/src-150/sys/contrib/ck/include/ck_pr.h:202:50: note:
expanded from macro 'CK_PR_LOAD_PTR_SAFE'
  202 | #define CK_PR_LOAD_PTR_SAFE(SRC) (CK_CC_TYPEOF(*(SRC), (void
*)))ck_pr_md_load_ptr((SRC))
      |                                   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/mnt/da7p2/usr-no/src/src-150/sys/contrib/ck/include/gcc/ck_cc.h:112:45:
note: expanded from macro 'CK_CC_TYPEOF'
  112 | #define CK_CC_TYPEOF(X, DEFAULT) __typeof__(X)
      |                                             ^
/mnt/da7p2/usr-no/src/src-150/sys/netlink/netlink_domain.c:129:32: error:
member reference type 'typeof (vnet_entry_nl_ctl)' (aka 'struct
nl_control') is not a pointer; did you mean to use '.'?
  129 |         CK_LIST_FOREACH(nlp, &V_nl_ctl->ctl_port_head,
nl_port_next) {
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                       .
/mnt/da7p2/usr-no/src/src-150/sys/contrib/ck/include/ck_queue.h:383:30:
note: expanded from macro 'CK_LIST_FOREACH'
  383 |         for ((var) = CK_LIST_FIRST((head));
            \
      |                      ~~~~~~~~~~~~~~~^~~~~~
/mnt/da7p2/usr-no/src/src-150/sys/contrib/ck/include/ck_queue.h:378:47:
note: expanded from macro 'CK_LIST_FIRST'
  378 | #define CK_LIST_FIRST(head)
ck_pr_load_ptr(&(head)->clh_first)
      |
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/mnt/da7p2/usr-no/src/src-150/sys/contrib/ck/include/ck_pr.h:203:50: note:
expanded from macro 'ck_pr_load_ptr'
  203 | #define ck_pr_load_ptr(SRC) CK_PR_LOAD_PTR_SAFE((SRC))
      |                             ~~~~~~~~~~~~~~~~~~~~~^~~~~
/mnt/da7p2/usr-no/src/src-150/sys/contrib/ck/include/ck_pr.h:202:85: note:
expanded from macro 'CK_PR_LOAD_PTR_SAFE'
  202 | #define CK_PR_LOAD_PTR_SAFE(SRC) (CK_CC_TYPEOF(*(SRC), (void
*)))ck_pr_md_load_ptr((SRC))
      |
                ^~~
/mnt/da7p2/usr-no/src/src-150/sys/netlink/netlink_domain.c:129:23: error:
cannot take the address of an rvalue of type 'struct nl_pid_head'
  129 |         CK_LIST_FOREACH(nlp, &V_nl_ctl->ctl_port_head,
nl_port_next) {
      |         ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/mnt/da7p2/usr-no/src/src-150/sys/contrib/ck/include/ck_queue.h:383:30:
note: expanded from macro 'CK_LIST_FOREACH'
  383 |         for ((var) = CK_LIST_FIRST((head));
            \
      |                      ~~~~~~~~~~~~~~~^~~~~~
/mnt/da7p2/usr-no/src/src-150/sys/contrib/ck/include/ck_queue.h:378:47:
note: expanded from macro 'CK_LIST_FIRST'
  378 | #define CK_LIST_FIRST(head)
ck_pr_load_ptr(&(head)->clh_first)
      |
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/mnt/da7p2/usr-no/src/src-150/sys/contrib/ck/include/ck_pr.h:203:50: note:
expanded from macro 'ck_pr_load_ptr'
  203 | #define ck_pr_load_ptr(SRC) CK_PR_LOAD_PTR_SAFE((SRC))
      |                             ~~~~~~~~~~~~~~~~~~~~~^~~~~
/mnt/da7p2/usr-no/src/src-150/sys/contrib/ck/include/ck_pr.h:202:85: note:
expanded from macro 'CK_PR_LOAD_PTR_SAFE'
  202 | #define CK_PR_LOAD_PTR_SAFE(SRC) (CK_CC_TYPEOF(*(SRC), (void
*)))ck_pr_md_load_ptr((SRC))
      |
                ^~~
/mnt/da7p2/usr-no/src/src-150/sys/netlink/netlink_domain.c:146:16: error:
subscripted value is not an array, pointer, or vector
  146 |         nlp->nl_groups[group_id / 64] |= (uint64_t)1 << (group_id %
64);
      |         ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/mnt/da7p2/usr-no/src/src-150/sys/netlink/netlink_domain.c:155:16: error:
subscripted value is not an array, pointer, or vector
  155 |         nlp->nl_groups[group_id / 64] &= ~((uint64_t)1 << (group_id
% 64));
      |         ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/mnt/da7p2/usr-no/src/src-150/sys/netlink/netlink_domain.c:164:24: error:
subscripted value is not an array, pointer, or vector
  164 |         return (nlp->nl_groups[group_id / 64] & ((uint64_t)1 <<
(group_id % 64)));
      |                 ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/mnt/da7p2/usr-no/src/src-150/sys/netlink/netlink_domain.c:185:3: error:
call to undeclared function 'nl_add_msg_info'; ISO C99 and later do not
support implicit function declarations
[-Werror,-Wimplicit-function-declaration]
  185 |                 nl_add_msg_info(m);
      |                 ^
/mnt/da7p2/usr-no/src/src-150/sys/netlink/netlink_domain.c:186:2: error:
call to undeclared function 'nl_send_one'; ISO C99 and later do not support
implicit function declarations [-Werror,-Wimplicit-function-declaration]
  186 |         nl_send_one(m, nlp, num_messages, io_flags);
      |         ^
/mnt/da7p2/usr-no/src/src-150/sys/netlink/netlink_domain.c:193:1: error:
conflicting types for 'nl_send_group'
  193 | nl_send_group(struct mbuf *m, int num_messages, int proto, int
group_id)
      | ^
/mnt/da7p2/usr-no/src/src-150/sys/netlink/netlink_var.h:123:6: note:
previous declaration is here
  123 | bool nl_send_group(struct nl_writer *);
      |      ^
/mnt/da7p2/usr-no/src/src-150/sys/netlink/netlink_domain.c:205:21: error:
initializing 'struct nl_control *' with an expression of incompatible type
'const volatile typeof (*&(*(typeof (vnet_entry_nl_ctl)
*)((((get_curthread()->td_vnet))->vnet_data_base) +
(uintptr_t)&vnet_entry_nl_ctl)))' (aka 'const volatile struct nl_control')
  205 |         struct nl_control *ctl = atomic_load_ptr(&V_nl_ctl);
      |                            ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~
/mnt/da7p2/usr-no/src/src-150/sys/netlink/netlink_domain.c:217:17: error:
use of undeclared identifier 'NL_IOF_UNTRANSLATED'
  217 |         int io_flags = NL_IOF_UNTRANSLATED;
      |                        ^
/mnt/da7p2/usr-no/src/src-150/sys/netlink/netlink_domain.c:248:19: error:
invalid operands to binary expression ('typeof (vnet_entry_nl_ctl)' (aka
'struct nl_control') and 'void *')
  248 |         return (V_nl_ctl != NULL);
      |                 ~~~~~~~~ ^  ~~~~
/mnt/da7p2/usr-no/src/src-150/sys/netlink/netlink_domain.c:246:1: error: no
previous prototype for function 'nl_has_listeners'
[-Werror,-Wmissing-prototypes]
  246 | nl_has_listeners(int netlink_family, uint32_t groups_mask)
      | ^
/mnt/da7p2/usr-no/src/src-150/sys/netlink/netlink_domain.c:245:1: note:
declare 'static' if the function is not intended to be used outside of this
translation unit
  245 | bool
      | ^
      | static
/mnt/da7p2/usr-no/src/src-150/sys/netlink/netlink_domain.c:289:32: error:
member reference type 'typeof (vnet_entry_nl_ctl)' (aka 'struct
nl_control') is not a pointer; did you mean to use '.'?
  289 |                 CK_LIST_INSERT_HEAD(&V_nl_ctl->ctl_port_head, nlp,
nl_port_next);
      |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                              .
/mnt/da7p2/usr-no/src/src-150/sys/contrib/ck/include/ck_queue.h:420:27:
note: expanded from macro 'CK_LIST_INSERT_HEAD'
  420 |         (elm)->field.cle_next = (head)->clh_first;
             \
      |                                  ^~~~
/mnt/da7p2/usr-no/src/src-150/sys/netlink/netlink_domain.c:289:23: error:
cannot take the address of an rvalue of type 'struct nl_pid_head'
  289 |                 CK_LIST_INSERT_HEAD(&V_nl_ctl->ctl_port_head, nlp,
nl_port_next);
      |
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/mnt/da7p2/usr-no/src/src-150/sys/contrib/ck/include/ck_queue.h:420:27:
note: expanded from macro 'CK_LIST_INSERT_HEAD'
  420 |         (elm)->field.cle_next = (head)->clh_first;
             \
      |                                  ^~~~
/mnt/da7p2/usr-no/src/src-150/sys/netlink/netlink_domain.c:289:32: error:
member reference type 'typeof (vnet_entry_nl_ctl)' (aka 'struct
nl_control') is not a pointer; did you mean to use '.'?
  289 |                 CK_LIST_INSERT_HEAD(&V_nl_ctl->ctl_port_head, nlp,
nl_port_next);
      |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                              .
/mnt/da7p2/usr-no/src/src-150/sys/contrib/ck/include/ck_queue.h:423:4:
note: expanded from macro 'CK_LIST_INSERT_HEAD'
  423 |                 (head)->clh_first->field.cle_prev =
 &(elm)->field.cle_next;    \
      |                  ^~~~
/mnt/da7p2/usr-no/src/src-150/sys/netlink/netlink_domain.c:289:23: error:
cannot take the address of an rvalue of type 'struct nl_pid_head'
  289 |                 CK_LIST_INSERT_HEAD(&V_nl_ctl->ctl_port_head, nlp,
nl_port_next);
      |
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/mnt/da7p2/usr-no/src/src-150/sys/contrib/ck/include/ck_queue.h:423:4:
note: expanded from macro 'CK_LIST_INSERT_HEAD'
  423 |                 (head)->clh_first->field.cle_prev =
 &(elm)->field.cle_next;    \
      |                  ^~~~
/mnt/da7p2/usr-no/src/src-150/sys/netlink/netlink_domain.c:289:32: error:
member reference type 'typeof (vnet_entry_nl_ctl)' (aka 'struct
nl_control') is not a pointer; did you mean to use '.'?
  289 |                 CK_LIST_INSERT_HEAD(&V_nl_ctl->ctl_port_head, nlp,
nl_port_next);
      |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                              .
/mnt/da7p2/usr-no/src/src-150/sys/contrib/ck/include/ck_queue.h:424:20:
note: expanded from macro 'CK_LIST_INSERT_HEAD'
  424 |         ck_pr_store_ptr(&(head)->clh_first, elm);
            \
      |         ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/mnt/da7p2/usr-no/src/src-150/sys/contrib/ck/include/ck_pr.h:185:53: note:
expanded from macro 'ck_pr_store_ptr'
  185 | #define ck_pr_store_ptr(DST, VAL) CK_PR_STORE_SAFE((DST), (VAL),
ptr)
      |
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/mnt/da7p2/usr-no/src/src-150/sys/contrib/ck/include/ck_pr.h:182:25: note:
expanded from macro 'CK_PR_STORE_SAFE'
  182 |         ((void)sizeof(*(DST) = (VAL)), (DST)),                  \
      |                         ^~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
*** Error code 1

Stop.
make[2]: stopped in
/usr/obj/mnt/da7p2/usr-no/src/src-150/arm64.aarch64/sys/GENERIC-DRM-150
        0.46 real         0.36 user         0.06 sys
*** Error code 1

Stop.
make[1]: stopped in /mnt/da7p2/usr-no/src/src-150
*** Error code 1

Stop.
make: stopped in /mnt/da7p2/usr-no/src/src-150

Game over ?

On Tue, Sep 16, 2025 at 1:10 AM Warner Losh <[email protected]> wrote:

>
>
> On Mon, Sep 15, 2025, 4:51 PM Mario Marietto <[email protected]>
> wrote:
>
>> Hello to everyone.
>>
>> I'm trying to compile the panfrost driver on FreeBSD 15.0 for my radxa
>> zero 3W board,because I'm curious to see where I can go.
>>
>> After the whole day passed exchanging and removing not supported files,it
>> has been able to compile a large part of the code. My sensation is that the
>> error reported is connected to the fact that the 15.0 is not finished
>> work,but I'm not sure :
>>
>> # make TARGET_ARCH=aarch64 TARGET=arm64 KERNCONF=GENERIC-DRM-150
>> -DNO_CLEAN buildkernel
>>
>> .....
>>
>> cc -target aarch64-unknown-freebsd14.2 --sysroot=/usr/obj/mnt/da7p2/usr-no/src/
>> src-150/arm64.aarch64/tmp -B/usr/obj/mnt/da7p2/usr-no/src/src-150/
>> arm64.aarch64/tmp/usr/bin -c -O2 -pipe  -fno-strict-aliasing  -g -nostdinc  -I. -I/mnt/
>> da7p2/usr-no/src/src-150/sys -I/mnt/da7p2/usr-no/src/src-150/sys/contrib/ck/include
>> -I /mnt/da7p2/usr-no/src/src-150/sys/contrib/libfdt -I/mnt/da7p2/usr-no/src/src-150/
>> sys/contrib/device-tree/include -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -
>> include opt_global.h -fno-common    -DLINUX_DTS_VERSION=\""6.12"\" -mstack-
>> protector-guard=sysreg -mstack-protector-guard-reg=sp_el0 -mstack-protector-
>> guard-offset=0 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD  -
>> MF.depend.kern_exec.o -MTkern_exec.o -fdebug-prefix-map=./machine=/mnt/
>> da7p2/usr-no/src/src-150/sys/arm64/include -mgeneral-regs-only -ffixed-x18 -mno-
>> outline-atomics -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -
>> Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -
>> D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option
>> -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-
>> body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-
>> error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-
>> member -Wno-format-zero-length     -std=gnu99 -Werror /mnt/da7p2/usr-no/src/
>> src-150/sys/kern/kern_exec.c/mnt/da7p2/usr-no/src/src-150/sys/kern/
>> kern_exec.c:32:10: fatal error: 'opt_hwt_hooks.h' file not found
>>    32 | #include "opt_hwt_hooks.h"
>>       |          ^~~~~~~~~~~~~~~~~
>>
>>
>> I looked for the missing file everywhere,but I didn't find it.
>>
>
> Add an option to sys/conf/options that defines that file.
>
> Warner
>
>
>> Thanks.
>>
>> --
>> Mario.
>>
>

-- 
Mario.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.