Florian's annoying compile errors: CVS HEAD 1999-04-11 13:00
florian at void.s.bawue.de
Mon Apr 12 18:42:22 GMT 1999
On Mon, Apr 12, 1999 at 10:26:03AM +1000, Tim Potter wrote:
> Paul writes:
> > > Compiling client/smbmount.c
> > > client/smbmount.c: In function `close_our_files':
> > > client/smbmount.c:242: `NR_OPEN' undeclared (first use in this function)
> > > client/smbmount.c:242: (Each undeclared identifier is reported only once
> > > client/smbmount.c:242: for each function it appears in.)
> > > make: *** [client/smbmount.o] Error 1
> > This is a glibcism again. See, NR_OPEN is defined in linux/limits.h.
> > Glibc's limits.h includes linux/limits.h BUT undefines NR_OPEN if NR_OPEN
> > was not previously defined (their comments claim it pollutes the
> > namespace).
> It's actually a glibc 2.1'ism. I didn't manage to snaffle a copy of
> glibc 2.1 before it was withdrawn from the GNU archive.
Alternatively you could get it from
More information about the samba-technical