probs building for fbsd smp
Richard Nyberg
rnyberg at it.su.se
Mon Jul 9 09:38:18 CEST 2001
To build arla-0.35.4 for FreeBSD 4.3 with SMP kernel it seems that you
have to define APIC_IO in addition SMP.
When APIC_IO is defined arla builds fine, when it's not the build breaks
like this:
--------------------------------
gcc -c -DHAVE_CONFIG_H -I. -I. -I../../include -I./../../include
-I./../include -I/pkg/krb4/1.0.8/include -DXFS_DEBUG -DINET6 -g -Wall
-Wmissing-prototypes -Wpointer-arith -Wbad-function-cast
-Wmissing-declarations -Wnested-externs -O -DSMP -D__SMP__ -DKERNEL
-D_KERNEL -DVFS_KLD -DKLD_MODULE -I/sys/arch -I/sys -I. -Wno-unused
xfs_message.c
In file included from /sys/sys/signalvar.h:42,
from xfs/xfs_locl.h:162,
from xfs_message.c:34:
/usr/include/machine/smp.h:19: #error APIC_IO required for SMP, add
"options APIC_IO" to your config file.
*** Error code 1
Stop in /yap/src/arla-0.35.4/xfs/bsd.
*** Error code 1
Stop in /yap/src/arla-0.35.4/xfs.
*** Error code 1
---------------------------------------
-Richard
More information about the Arla-drinkers
mailing list