incompatible pointer type

From: Okalany Daniel <daniel_at_one2net.co.ug>
Date: Tue, 1 Apr 2008 09:17:17 +0300
Good morning everyone,
After making buildworld successfully,
make buildkernel exits and the last lines are below. What could be the
problem?


totypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions -c
/usr/src/sys/modules/linux/../../i386/linux/linux_machdep.c
cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -std=c99
-nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include
/usr/obj/usr/src/sys/IPFWKERNEL/opt_global.h -I. -I_at_ -I_at_/contrib/altq
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sys/IPFWKERNEL
-mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow
-mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c
/usr/src/sys/modules/linux/../../compat/linux/linux_mib.c
cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -std=c99
-nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include
/usr/obj/usr/src/sys/IPFWKERNEL/opt_global.h -I. -I_at_ -I_at_/contrib/altq
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sys/IPFWKERNEL
-mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow
-mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c
/usr/src/sys/modules/linux/../../compat/linux/linux_misc.c
cc1: warnings being treated as errors
/usr/src/sys/modules/linux/../../compat/linux/linux_misc.c: In function
'linux_sched_getaffinity':
/usr/src/sys/modules/linux/../../compat/linux/linux_misc.c:1753: warning:
assignment from incompatible pointer type
/usr/src/sys/modules/linux/../../compat/linux/linux_misc.c: In function
'linux_sched_setaffinity':
/usr/src/sys/modules/linux/../../compat/linux/linux_misc.c:1779: warning:
assignment from incompatible pointer type
*** Error code 1

Stop in /usr/src/sys/modules/linux.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

Stop in /usr/obj/usr/src/sys/IPFWKERNEL.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


-- 
OKALANY DANIEL
P.O BOX 26150
KAMPALA.
--
There are 10 types of people in this world - those who know binary and those
who don't.
Received on Tue Apr 01 2008 - 04:17:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:29 UTC