make proto issue
Volker Lendecke
Volker.Lendecke at SerNet.DE
Fri Nov 28 05:41:42 GMT 2008
On Thu, Nov 27, 2008 at 10:17:35PM -0700, Cameron Macdonell wrote:
> I added some code to samba 3 for a project I'm working on. This code
> is in its own directory under 'source' and consists of a header file
> and C file. When I run make, the "make proto" target grabs the
> function definitions and adds them to "include/proto.h". The problem
> is that the function headers contain typedef parameters that are in
> the header file and they are not included in the generated proto.h
> header and so cause the compile to fail.
>
> So, my question is what am I doing wrong in regards to the way "make
> proto" works? Why does "make proto" grab definitions from the C file,
> but ignore the header files? Am I structuring my code wrong or at
> least not in the Samba way?
>
> I can provide more details if necessary,
You should work with the Samba master branch, there we don't
autogenerate proto.h anymore :-)
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20081128/c35f8580/attachment.bin
More information about the samba-technical
mailing list