samba 3.4.8 - build via uClibc
akuster at mvista.com
Tue Jun 29 12:44:19 MDT 2010
I am building Samab 3.4.8 with uClibc 0.9.29 and I get the following error.
cc1: warning: include location "/usr/local/include" is unsafe for
../source3/client/mount.cifs.c:42:19: error: fstab.h: No such file or
../source3/client/mount.cifs.c: In function 'check_fstab':
../source3/client/mount.cifs.c:266: error: '_PATH_FSTAB' undeclared
(first use in this function)
../source3/client/mount.cifs.c:266: error: (Each undeclared identifier
is reported only once
../source3/client/mount.cifs.c:266: error: for each function it appears in.)
commit 396eb03109400fe603c57a0a0d4bdc37c7131cf5 added the use of fstab.h
uClibc uses _PATH_MNTTAB from "paths.h" to define "/etc/fstab" which is
the same as _PATH_FSTAB.
I worked around the issue in our sources with the attached patch and use
"-DUCLIBC" when I build.
Should I log a bug for this?
I suspect this will affect all versions above 3.4.8.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 509 bytes
Desc: not available
More information about the samba-technical