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

next in thread | previous in thread | raw e-mail | index | archive | help
> 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

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?20011101103719.N23297>