Problems with CVS / 2.1.0 prealpha on Redhat 6.1 - still no joy with CVS

Greg Cope greg at orgasmicwines.com
Wed Dec 15 15:28:49 GMT 1999


Dear All

Firstly my thanks to Luke Kenneth Casson Leighton <lkcl at samba.org> for
his answer - I have now 'use co -r SAMBA_TNG'ed and have a fresh CVS
snapshot.

The ./configure works again - yipee!

But the 'make all' fails with the warnings pated below.

I have tried the other CVS snapshots from http://sernet.pair.com/ and
they are in a similar broken state (although broken in different ways).

Forgive my lack of C knowledge but these errors appear to be C issues
(not mssing libaries etc...)- if it were perl I would be ok!

Any clues / pointers greatfully recieved.

Greg Cope

ps if anyone has a snapshot of CVS with working NT 4.0 client PDC code
that is know to complie on Redhat 6.1 / or can point me in the right
direction to enable NT client domain logon / profiles then I would be
most interested!


Compiling smbd/chgpasswd.c
smbd/chgpasswd.c: In function `findpty':
smbd/chgpasswd.c:72: warning: assignment makes pointer from integer
without a cast
snip ...
Compiling rpc_client/cli_use.c
rpc_client/cli_use.c: In function `cli_find':
rpc_client/cli_use.c:161: warning: passing arg 1 of `pwd_compare'
discards `const' from pointer target type
snip ...
Compiling rpc_parse/parse_creds.c
rpc_parse/parse_creds.c: In function `create_user_creds':
rpc_parse/parse_creds.c:557: warning: assignment discards `const' from
pointer target type
snip ...
Compiling lib/msrpc_use.c
lib/msrpc_use.c: In function `msrpc_find':
lib/msrpc_use.c:148: warning: passing arg 1 of `pwd_compare' discards
`const' from pointer target type
snip ...
Compiling lib/domain_namemap.c
lib/domain_namemap.c: In function `lookup_remote_ntname':
lib/domain_namemap.c:907: warning: assignment discards `const' from
pointer target type
snip ...
Compiling lib/system.c
lib/system.c: In function `sys_fopen':
lib/system.c:271: warning: return makes pointer from integer without a
cast
snip ...
Compiling lib/util.c
lib/util.c: In function `nametouid':
lib/util.c:2501: warning: passing arg 1 of `Get_Pwnam' discards `const'
from pointer target type
snip ...
nking bin/lsarpcd
lsarpcd/lsarpcd.o: In function `msrpc_service_init':
lsarpcd/lsarpcd.o(.text+0x6): undefined reference to `pwdb_initialise'
lsarpcd/lsarpcd.o(.text+0x21): undefined reference to
`initialise_sam_password_db'
lsarpcd/lsarpcd.o(.text+0x31): undefined reference to
`initialise_passgrp_db'
lsarpcd/lsarpcd.o(.text+0x41): undefined reference to
`initialise_group_db'
lsarpcd/lsarpcd.o(.text+0x51): undefined reference to
`initialise_alias_db'
lsarpcd/lsarpcd.o(.text+0x61): undefined reference to
`initialise_builtin_db'
collect2: ld returned 1 exit status
make: *** [bin/lsarpcd] Error 1


More information about the samba mailing list