Compiling HEAD from CVS

Andrew Bartlett abartlet at
Sun Aug 25 17:34:00 GMT 2002

Willi Mann wrote:
> Hi guys!
> I'm not able to compile the latest CVS snapshot from HEAD.
> Compiling utils/net_rpc.c
> ../source/utils/net_rpc.c: In function `rpc_getsid_internals':
> ../source/utils/net_rpc.c:420: warning: passing arg 2 of
> `secrets_store_domain_sid' discards qualifiers from pointer target type
> ../source/utils/net_rpc.c: In function `net_rpc':
> ../source/utils/net_rpc.c:2248: `rpc_samdump' undeclared (first use in
> this function)
> ../source/utils/net_rpc.c:2248: (Each undeclared identifier is reported
> only once
> ../source/utils/net_rpc.c:2248: for each function it appears in.)
> make: *** [utils/net_rpc.o] Fehler 1
> This error occurs on Red Hat 7.3 with gcc 2.96 and Mandrake 8.2 with gcc
> 3.11.

Run ./config.status  (as indicated by the warning at the top of your
compile).  A new file was added, and you need to pick it up in with a
new Makefile.  You will also need to 'make proto' (as has already been
indicated) to get the function prototypes.

Andrew Bartlett

Andrew Bartlett                                 abartlet at
Manager, Authentication Subsystems, Samba Team  abartlet at
Student Network Administrator, Hawker College   abartlet at

More information about the samba-technical mailing list