Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Apr 2008 09:17:17 +0300
From:      "Okalany Daniel" <daniel@one2net.co.ug>
To:        freebsd-current@freebsd.org
Subject:   incompatible pointer type
Message-ID:  <28f643d90803312317s4a0e690bga556b762fc78d825@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?28f643d90803312317s4a0e690bga556b762fc78d825>