ENOTSUP trouble in smbd for Samba 3.0.3 under OpenBSD

Richard Sharpe rsharpe at richardsharpe.com
Tue May 4 19:10:56 GMT 2004

On Tue, 4 May 2004, Joe wrote:

> Folks:
> I am having problems compiling the new Samba 3.0.3 on OpenBSD 3.4. The
> problem I get is
> Compiling smbd/trans2.c
> smbd/trans2.c: In function `set_ea':
> smbd/trans2.c:398: `ENOTSUP' undeclared (first use in this function)
> smbd/trans2.c:398: (Each undeclared identifier is reported only once
> smbd/trans2.c:398: for each function it appears in.)
> *** Error code 1
> So is ENOTSUP needed? I see that it is used in a few parts of smbd, but
> this error is not defined for this OS.

A patch was applied after 3.0.3 was released, I think, for this issue on
NetBSD, I think (again).

Is that your OS?

In any event, the fix is in SVN, and consists of #ifdef'ing out that
comparison block for NetBSD.

Richard Sharpe, rsharpe[at]richardsharpe.com, rsharpe[at]samba.org,
sharpe[at]ethereal.com, http://www.richardsharpe.com

More information about the samba-technical mailing list