Re: problems about __cli()

2 messages, 2 authors, 2000-07-20 · open the first message on its own page

Re: problems about __cli()

From: Iain Sandoe <hidden>
Date: 2000-07-20 09:19:54

Hi Rolf,

 Thu, Jul 20, 2000, Rolf Liu wrote:
I am currently compiling the kernel 2.2.13.
A problem occours, it said the "__cli() is not defined".
I wonder where the __cli() is defined in the kernel tree, which file is it
in ?
thanks a  lot.
(at 2.2.17preZZ - any reason for using 2.2.13?)

Where "your-kernel-foo-bar" is the source tree you are working with:

__cli() is defined in:

/usr/src/your-kernel-foo-bar/include/asm-ppc/system.h

asm-ppc is symlinked to /usr/src/your-kernel-foo-bar/include/asm by the
build process.

the function is implemented in:

/usr/src/your-kernel-foo-bar/arch/ppc/kernel/misc.S

It is *vital* to make sure that there is a symlink named 'linux' in /usr/src
that points to your /usr/src/your-kernel-foo-bar/ because there are symlinks
in /usr/include that expect to use this to find the build-specific headers.

hope this helps,
Iain.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: problems about __cli()

From: Michael Schmitz <hidden>
Date: 2000-07-20 13:36:46

Iain Sandoe wrote:
the function is implemented in:

/usr/src/your-kernel-foo-bar/arch/ppc/kernel/misc.S

It is *vital* to make sure that there is a symlink named 'linux' in /usr/src
that points to your /usr/src/your-kernel-foo-bar/ because there are symlinks
in /usr/include that expect to use this to find the build-specific headers.
Wasn't that the same guy that tried to build Linux kernels on a Windoze
system? The whole /usr/src and symlink stuff might be a bit tough to
pull off on such a box.

	Michael


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help