Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: "Rob Kreamer" <develop@vaxxine.com>
Subject: Re: Samba 1.9.18p8 on DU4.0d won't compile
Date: 1998/07/16	[thread overview]
Message-ID: <01bdb0ce$464c77d0$07c774ce@pckreamer> (raw)
In-Reply-To: 35ACA64B.B9F@pstcc.cc.tn.us.net


I've compiled SAMBA on 4.0d with no problem.
Checking the configuration file is a good
idea.  Note that particular section is
for enhanced security configurations.

It is very odd that it can't find the
stdio.h file.

The # symbol, when it's typically the
first character in a line is a
"preprocessor directive."  It tells
the compiler to do something special.

The "#include" tells it to drop the
contents of another file at that
point when compiling.

The <> symbols found around the file name
of "stdio.h" specify that the file should
exist in one of the standard locations that
the compiler searches for header files.

Cut and paste this small piece of code into
a file, say "teststd.c" and see how it works:

#include <stdio.h>

int main( void )
{
  printf( "Test!\n" );

  return( 0 );
}

Compile it using "cc -std1 teststd.c" and
then via "cc teststd.c".  If it fails under
either compilation you may have a compiler
problem.


Ed Wensell III aka THE StormRaiser <ewensell@pstcc.cc.tn.us.net> wrote in
article <35ACA64B.B9F@pstcc.cc.tn.us.net>...
> matsaki@statcan.ca wrote:
> > 
> > Has anyone successfully compiled this version of Samba on v4.0d?
> 
> Not on 4.0d, but on 4.0a... AlphaServer 2000 4/233. I simply followed
> the instructions EXACTLY (UNIX_INSTALL.txt in the docs directory).
> 
> > cc: Severe: includes.h, line 125: Cannot find file <stdio.h> specified
in
> > #include directive.
> > 
> > I checked inside the includes.h file, and line 125 is commented out
like so:
> > #include <stdio.h>
> 
> In C, that is NOT a comment. The "#" symbol typically precedes all
> include directives (some C gurus can correct me or provide more info. I
> think different characters mean different things). First, I would check
> to make sure you uncommented/commented/corrected the needed/wanted
> section(s) of the makefile. The platform section I uncommented was:
> 
> 	# This is for OSF1 (Alpha) V2.0/V4.0 Enhanced Security 
> 	# contributed by Udo Linauer <ul@eacpc4.tuwien.ac.at>
> 	FLAGSM = -DOSF1 -DOSF1_ENH_SEC -DFAST_SHARE_MODES
> 	LIBSM = -lsecurity




  reply	other threads:[~1998-07-16  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-14  4:00 Samba 1.9.18p8 on DU4.0d won't compile matsaki
1998-07-15  4:00 ` Ed Wensell III aka THE StormRaiser
1998-07-16  4:00   ` Rob Kreamer [this message]
1998-07-15  4:00 ` Jeff Sullivan
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox