Opnsense Kernel Building error

Started by Jhonraushan, July 04, 2025, 10:45:17 PM

Previous topic - Next topic
Hello OPNSENSE family,


i am just building a opnsense iso. face this issue onn when i make kernel.
.

ERROR: ctfconvert: bwiphy.o doesn't have type data to con

ERROR: ctfconvert: ichss.o doesn't have type data to conv ERROR: ctfconvert: pnphy.o doesn't have type data to conv

ERROR: ctfconvert: efidev.o doesn't have type data to com

ERROR: ctfconvert: dcphy.o doesn't have type data to conv

ERROR: ctfconvert: efirtc.o doesn't have type data to com

ERROR: ctfconvert: bwirf.o doesn't have type data to conv ERROR: ctfconvert

: efirt.o doesn't have type data to conv ERROR: ctfconvert: if_bwi.o doesn't have type data to con

^C*** Error code 2

Please provide more information on the setup you use to build the ISO. Did you follow Setting up a build system?
Deciso DEC740

Yes i follow this steps https://github.com/opnsense/tools/blob/master/README.md#setting-up-a-build-system
 this is my cmd history.

pkg install git
git clone https://github.com/opnsense/tools
cd tools/
make update
ls
cd /usr/local/opnsense/build/25.1/amd64/sets/
ls
cd /usr/ports/ports-mgmt/pkg
pkg -v
make reinstall
make deinstall
pkg -v
make reinstall
pkg -v
 pkg versio is 1.9..
cd /usr/tools/
make dvd -j20 . and then this error show

Mmmmh, I gave it a go according to the README right after you posted the thread and it worked well for me. Minus the pkg reinstall, I did that later when the compiling complained and suggested what to do.

Quotegit clone https://github.com/opnsense/tools
I assume changed to /usr before doing that?

And what is the system you are compiling it on? FreeBSD 14.2, 14.3, 13?
Deciso DEC740


Quote from: Jhonraushan on July 04, 2025, 10:45:17 PMERROR: ctfconvert: dcphy.o doesn't have type data to conv
While building the kernel for itself (make kernel) I also get these messages but the build does complete. What happens for you when you let it run/compile?
Deciso DEC740

Did you do a "make buildworld" before that "make kernel"?
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Quote from: Patrick M. Hausen on July 08, 2025, 06:32:01 PMDid you do a "make buildworld" before that "make kernel"?
Nope, I didn't. Followed the tools/README.md, just ran 'make base'. Running 'make buildworld' after 'make base'?
Deciso DEC740

OK - that's OPNsense specific. No idea. Check what "make base" does.

In FreeBSD you must run "make buildworld" before "make buildkernel". "make kernel" is just short for "make buildkernel; make installkernel".
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)