ENOTSUP trouble in smbd for Samba 3.0.3 under OpenBSD

Esh, Andrew Andrew_Esh at adaptec.com
Tue May 4 19:03:06 GMT 2004


Perhaps set_ea is a function that is not supported in OpenBSD 3.4, and whoever
wrote the code deliberately referred to the undefined "ENOTSUP" in order
to make the compile fail on that platform. Try turning EA support off, or find
out if OpenBSD 3.4 supports it. If it does, then the code needs to be fixed
so it will compile there.

-----Original Message-----
From: samba-technical-bounces+andrew_esh=adaptec.com at lists.samba.org
[mailto:samba-technical-bounces+andrew_esh=adaptec.com at lists.samba.org]O
n Behalf Of Joe
Sent: Tuesday, May 04, 2004 1:42 PM
To: samba-technical at lists.samba.org
Subject: ENOTSUP trouble in smbd for Samba 3.0.3 under OpenBSD


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.

Thanks
Joe


More information about the samba-technical mailing list