error compiling TNG from today (fails in trans2.c)

Elrond elrond at samba.org
Sat May 13 15:44:32 GMT 2000


On Sat, May 13, 2000 at 05:30:43AM +1000, Jens Skripczynski wrote:
[...]
> ---------------
> Solution      :   Partially i think call_... is looking for a function
> ---------------   called unistr_to_dos which no longer exists :
>        >rgrep -x c unistr_to_dos *
>        smbd/trans2.c:      unistr_to_dos(pathname, &params[2]);
> 
>        >rgrep -x h unistr_to_dos *
>        include/proto.h:void unistr_to_dos(char* dst,char* src)        ;
> 
>                   So only proto.h knows about it.
[...]

proto.h knows about it, cause it has to be somewhere in the
tree:
source $ grep unistr_to_dos */*.c
msdfs/msdfs.c:void unistr_to_dos(char* dst,char* src)          
smbd/trans2.c:      unistr_to_dos(pathname, &params[2]);
source $ nm msdfs/msdfs.o | grep uni
00000014 T unistr_to_dos

Okay, please remove msdfs/msdfs.*, smbd/trans2.*,
Makefile.in and do a cvs update -d -P

(No, I have no idea, why this function is in msdfs.c)


    Elrond


More information about the samba-ntdom mailing list