[Samba] trouble configuring and compiling

Andrew Bartlett abartlet at samba.org
Thu Mar 27 07:15:15 GMT 2003

On Wed, Mar 26, 2003 at 11:39:08PM -0700, Daniel Watrous wrote:
> I found the fix...
> Basically the problem is that the compile is looking for headers that are
> usually distributed with the kernel sources
> by grabbing the latest kernel, untaring it in /usr/src, and creating the
> following links:
> /usr/include/linux -> /usr/src/linux/include/linux
> /usr/include/asm -> /usr/src/linux/include/asm-i386
> everything worked.

You should not do this - you should get the kernel that your glibc
was compiled against, and use that.  Redhat has a glibc-kernel-headers
for exactly this task.

Andrew Bartlett

More information about the samba mailing list