* Samba 1.9.18p8 on DU4.0d won't compile
@ 1998-07-14 4:00 matsaki
1998-07-15 4:00 ` Ed Wensell III aka THE StormRaiser
0 siblings, 1 reply; 3+ messages in thread
From: matsaki @ 1998-07-14 4:00 UTC (permalink / raw)
Has anyone successfully compiled this version of Samba on v4.0d?
I'm getting an error on the make.
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>
I've never compiled any piece of software like this on a unix box b4, and am
new to it, so if there is something basic that I am missing, can someone
please help me?
Thanks in advance.
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Samba 1.9.18p8 on DU4.0d won't compile
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
0 siblings, 1 reply; 3+ messages in thread
From: Ed Wensell III aka THE StormRaiser @ 1998-07-15 4:00 UTC (permalink / raw)
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
You should only uncomment one platform section. The package does not
automatically determine the platform/variant that is being used. Next, I
would double check your compiler installation. "stdio.h" is a standard
part of most C compilers (Standard Input Output Routines). Have you had
any problems compiling anything else? Is stdio.h living in the
/usr/include directory? Does it have the proper ownership/protections?
(mine is bin:bin with -r--r--r--)
Dunno if this helps any, but it might be a start...
Later...
Ed
E-mail hunked due to spammers...
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Samba 1.9.18p8 on DU4.0d won't compile
1998-07-15 4:00 ` Ed Wensell III aka THE StormRaiser
@ 1998-07-16 4:00 ` Rob Kreamer
0 siblings, 0 replies; 3+ messages in thread
From: Rob Kreamer @ 1998-07-16 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-07-16 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox