error when complie kernel.

tang huu trong huutrong at gmail.com
Mon Jul 6 03:53:59 UTC 2009


Dear all.

i got a problem while complie my kernel to support PAE. below is my process.

1 - cp /usr/src/sys/i386/GENERIC /root/kernels/MYKERNEL
2 - cd /usr/src/sys/i386
3 - ln -s /root/kernels/MYKERNEL
4 - vi /usr/src/sys/i386/MYKERNEL
5 - add line "options      PAE"
6 - save configure file.
7 - cd /usr/src
8 - make buildkernel KERNCONF=MYKERNEL

and system start to complie the kernel, but i got the error like this while
complie:

/usr/src/sys/dev/advansys/advansys.c: In function `adv_action':
/usr/src/sys/dev/advansys/advansys.c:260: warning: cast from pointer to
integer of different size
*** Error code 1
Stop in /usr/obj/usr/src/sys/MYKERNEL.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.


please help me fix this. thanks you very much.


More information about the freebsd-questions mailing list