Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Nov 2001 10:46:10 -0800
From:      John Merryweather Cooper <john_m_cooper@yahoo.com>
To:        Luigi Rizzo <rizzo@aciri.org>
Cc:        John Merryweather Cooper <john_m_cooper@yahoo.com>, stable@freebsd.org
Subject:   Re: problem building smbfs module, any hint ?
Message-ID:  <20011101104610.O63936@johncoop.MSHOME>
In-Reply-To: <20011101103719.N23297@iguana.aciri.org>; from rizzo@aciri.org on Thu, Nov 01, 2001 at 10:37:19 -0800
References:  <20011101101325.L23297@iguana.aciri.org> <20011101102250.E63936@johncoop.MSHOME> <20011101102553.M23297@iguana.aciri.org> <20011101103344.M63936@johncoop.MSHOME> <20011101103719.N23297@iguana.aciri.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 2001.11.01 10:37 Luigi Rizzo wrote:
> > I believe you are wrong, at least as to -STABLE.  Anyway, that's
> where
> > that header comes from, you don't have it and SMBFS won't build
> without
> > it.
> 
> ok, thanks for the hint.
> I still think there is a bug in the dependency then, because at
> least from what i have seen when KLDfying other modules,
> you make sure that your kernel contains all is needed
> for later loading the module.
> 
> I.e. code depending on option FOO is changed from
> 
>     #ifdef FOO
>     #include <sys/foo/bar.h>
>     #endif
>     ....
>     #ifdef FOO
> 	    <section of code>
>     #endif
> 
> to
>     #include <sys/foo/bar.h>
>     ....
> 	if (foo_is_loaded) {
> 	    <section of code>
> 	}
>     ...
> 
> Do you know which files depend on the option you mentioned ?
> 
> 	cheers
> 	luigi
> 

No, I'd have to study it (I'm not the maintainer) some more.  I do know 
that there were plans to make LIBICONV a kernel module; but so far, 
that hasn't happened.

I'd describe it as a "feature" of of the -STABLE implementation of 
SMBFS.  You can build modules for some of the pieces; BUT NOT ALL OF 
THEM.  Hence, kernel module SMBFS really doesn't exist on -STABLE.

-- 
jmc                                 MacroHard --
                                        the perfection of form over
                                        substance, marketing over
Web:  http://www.borgsdemons.com       performance, and greed over
                                        design . . .

Public Key:  http://www.borgsdemons.com/Personal/pgpkey.asc

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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