[Samba] recycle.so compiling problem
Marco De Vitis
starless at supereva.it
Fri Mar 14 18:09:12 GMT 2003
Hi,
as I saw someone today pointing to a solution for protected directories
in the recycle dir (thanks Ben!), I wanted to compile the modified
recycle.c.
I'm using Mandrake 9.0, I have kernel-source, kernel-header and all
basic development tools installed, including the libtool package; I
downloaded the Samba 2.2.7a sources, applied the patch, but I cannot
compile the library.
Following the instructions, I go to the parent dir and issue ./configure
and then make, but I get lots of errors and warnings and no output file.
Any clue? Thanks a lot.
The error lines are too many to quote them all here, so here is an
excerpt from both the beginning and the end of the output:
recycle/recycle.c:23:20: config.h: No such file or directory
In file included from recycle/recycle.c:37:
../../source/include/includes.h:25:20: config.h: No such file or
directory
In file included from recycle/recycle.c:37:
../../source/include/includes.h:402: conflicting types for `socklen_t'
/usr/include/bits/socket.h:36: previous declaration of `socklen_t'
../../source/include/includes.h:636: conflicting types for `sys_errlist'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/include/stdio.h:561:
previous declaration of `sys_errlist'
In file included from ../../source/include/includes.h:683,
from recycle/recycle.c:37:
../../source/include/smb.h:380: parse error before "int32"
../../source/include/smb.h:380: warning: no semicolon at end of struct
or union
../../source/include/smb.h:381: warning: type defaults to `int' in
declaration of `wr_errclass'
../../source/include/smb.h:381: warning: data definition has no type or
storage class
../../source/include/smb.h:382: parse error before "wr_error"
../../source/include/smb.h:382: warning: type defaults to `int' in
declaration of `wr_error'
../../source/include/smb.h:382: warning: data definition has no type or
storage class
../../source/include/smb.h:385: parse error before '}' token
More information about the samba
mailing list