Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jul 2009 10:53:58 +0700
From:      tang huu trong <huutrong@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   error when complie kernel.
Message-ID:  <772022930907052053u32c4abctb4616c87750e90cf@mail.gmail.com>

Next in thread | Raw E-Mail | Index | Archive | Help
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.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?772022930907052053u32c4abctb4616c87750e90cf>