2nd SUMMARY: Compiling Samba 2.0

From: Paul Crittenden <crittend_at_storm.simpson.edu>
Date: Tue, 16 Mar 1999 10:14:08 -0600

Thanks to:
Martin Mokrejs
Pirie Hart
Tom Webster
Ray Lauff
Roger Ruber
Walter North
Richard Sharpe

I received several replies to my first summary but Martin Mokrejs gave the
answer to the compiler warnings and Walter North gave me a work around.
Here is Martins reply:
> check if on both machines really exists this file:
>/usr/include/sys/cdefs.h. I guess it exists only on the problematic
>system. Inspect the headers of the file, I suspect it to come from
>BIND-4.9.x or 8.9.x distribution! If this is the case, you will have to
>remove this-one file, restore some other headre files which it also
>overwrote, and install bind sources into /uar/local/bind.
>
> I did this also. Since that I'm installing everything including sendmail
>and bind into /usr/local and in the case of need use
>'-L/usr/local/lib -L/usr/locla/bind/lib -I/usr/local/include -I
>/usr/local/bin/dinclude'.

Sure enough I had installed a different version of Berkley bind and those
files are causing the compiler warnings. My question is how do I put
things back in their original condition so I can install bind in
/usr/local/bind.

Walter North suggested going to a Samba site and getting the binaries for
DecUNIX and I thought why not go to the machine which will compile Samba
and create a tar file and ftp it to the machine with the problem. That is
what I did. Now I just have to test it which I haven't.

I would do have one more question:

I currently run Samba from daemons but I can't easily change versions. I
have to come in early when no one is using the system to test things.
Would I be better off and would it be easier to test if I ran Samba with
inetd?

>ORIGINAL SUMMARY:
>Well, it appears that these are just warnings and don't indicate a
problem. >However I compiled 2.0 on another system and I didn't get any
warnings so I >don't know why I'm getting them on this system. In fact
every thing works >great on that system. 19.8.p7 or something like that
works on this system >fine also but I can't get 2.0 to work. It gives an
invalid password error >when I try to map a drive or use swat. Oh well,
I'll figure it out eventually.

>ORIGINAL QUESTION:
>I submitted this to the samba list but didn't get any replies, hopefully
you >can help. I am running samba on a DecAlpha with Tru64Unix, formerly
DecUNIX,
>4.0d. I have tried to compile 2.0, 2.0.2 and now 2.0.3 and I get the
>following error. I went ahead and installed and tried to run samba but
things
>didn't work. I can't get swat to work either so I am flying blind on this
>one. Can anyone help me out?
>
>#define inline
>--------------^
>Compiling smbd/filename.c
>cc: Warning: /usr/include/sys/cdefs.h, line 102: The redefinition of the
macro >"inline" conflicts with a current definition because the replacement
lists >differ. The redefinition is now in effect.

Paul Crittenden
Computer System Manager
Simpson College
e-mail: crittend_at_simpson.edu

Y2K? Why not 3?
Received on Tue Mar 16 1999 - 16:16:39 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT