Compiling HEAD from CVS

Andrew Bartlett abartlet at samba.org
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 pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net



More information about the samba-technical mailing list