libsmbclient example compilation problems

Richard Sharpe rsharpe at
Mon Jan 13 18:31:01 GMT 2003

On Mon, 13 Jan 2003, Tuomas Niinimäki wrote:

> Hello,
> I'm experiencing problems with compiling the libsmbclient examples (as
> well as my own libsmbclient test programs). It seems like there are some
> problems with the include files, as I get following errors:
> gcc -I../../source/include   -c -o testsmbc.o testsmbc.c
> In file included from testsmbc.c:30:
> ../../source/include/libsmbclient.h:199: field `cli' has incomplete type
> ../../source/include/libsmbclient.h:201: parse error before `BOOL'
> (and about 500 lines more :)

Which version of Samba are you using?

Richard Sharpe, rsharpe[at], rsharpe[at], 

More information about the samba-technical mailing list