Home arrow Debugging Tips arrow /usr/src/sys/amd64/conf/ unknown option "COMPAT_IA32"
/usr/src/sys/amd64/conf/ unknown option "COMPAT_IA32" PDF
Sunday, 04 March 2012
If you are trying to compile FreeBSD 9.x or 10.x kernel after you've added the following option to your kernel config file:

  option "COMPAT_IA32"

and you get the following error:

===> GENERIC
mkdir -p /usr/obj/usr/src/sys
--------------------------------------------------------------
>>> stage 1: configuring the kernel
--------------------------------------------------------------
cd /usr/src/sys/amd64/conf;  PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin  config  -d /usr/obj/usr/src/sys/GENERIC  /usr/src/sys/amd64/conf/GENERIC
/usr/src/sys/amd64/conf/GENERIC: unknown option "COMPAT_IA32"


The problem is that COMPAT_IA32 option has been renamed to COMPAT_FREEBSD32.

So to solve the error just use instead: option COMPAT_FREEBSD32 when compiling FreeBSD kernel.

 
< Prev   Next >

Other BSD Systems

OpenBSD

Misc

Solaris

Polls

Best BSD firewall?