incompatible pointer type

Okalany Daniel daniel at one2net.co.ug
Mon Mar 31 23:17:17 PDT 2008


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@ -I@/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@ -I@/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.


More information about the freebsd-current mailing list