10th run and samba-tng does not compile for me...

Jens Skripczynski Skripi at hrzpub.tu-darmstadt.de
Sat May 13 17:31:35 GMT 2000


Hi,

I do have a slight problem on compiling samba-tng on my linuxbox.
It is in sync (done twice a complete new TNG checkout). But
trying to compile TNG still fails.

Suddenly the compilation stops at unpredicable places. After
rerunning make the compilation continues. It does not seem to be
a memory problem.

G E N E R A L
* * * * * * * *
OS          : linux (redhat 6.2b)
Compiler    : gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
CVS-Branch  : SAMBA_TNG
Version/Date: today 
Error Type  : not reproducealbe
Short Desc. : 
1)
CFLAGS="-O2 -m486" \
./configure \
--prefix=$INSTALLDIR \
--sysconfdir=/usr/local/etc/samba \
--localstatedir=/var/log/samba \
--libdir=/usr/local/etc/samba/lib \
--with-privatedir=/usr/local/etc/samba/private \
--with-sambaconfdir=/usr/local/etc/samba \
--with-lockdir=/var/lock/samba \
--with-sam-pwdb=passwd \
--with-gnu-ld \
--with-pam \
&& make 

Compiling lib/set_uid.c
In file included from include/includes.h:653,
                 from lib/set_uid.c:22:
include/nameserv.h:302: parse error at null character
make: *** [lib/set_uid.o] Error 1

2)make
Compiling smbd/message.c
In file included from /usr/include/sys/unistd.h:1,
                 from include/includes.h:96,
                 from smbd/message.c:27:
/usr/include/unistd.h:491: parse error at null character
make: *** [smbd/message.o] Error 1
 
3) make
Linking bin/samrd
rpc_server/srv_pipe_ntlmssp.o: In function `api_ntlmssp_verify':
rpc_server/srv_pipe_ntlmssp.o(.text+0x9f7): undefined reference to
`map_nt_and_unix_username'
bin/.libs/libsamrpass.so: undefined reference to `del_group_entry'
bin/.libs/libsamrpass.so: undefined reference to `lookup_wk_alias_rid'
....
bin/.libs/libsamrpass.so: undefined reference to `add_alias_member'
collect2: ld returned 1 exit status
make: *** [bin/samrd] Error 1

make fails from here with a constant error ....

--------------
Has someone had/have a similar behavior ? As I'm not yet to bright
in C coding and compiling,  I relly can't understand why and where it
fails. I only have the error messages...

a1) Memory is not the problem there are always at least 5 MB physical (?)
    memory free
a2) Disk space is not the problem there are 79 MB left on the device



Ciao

Jens Skripczynski
-- 
E-Mail: skripi at hrzpub.tu-darmstadt.de

Computers are like airconditioners: They stop working 
properly if you open windows.


More information about the samba-ntdom mailing list