From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,6ea6ff08dc783491 X-Google-Attributes: gidfee84,public X-Google-Thread: f678f,6ea6ff08dc783491 X-Google-Attributes: gidf678f,public From: "Rob Kreamer" Subject: Re: Samba 1.9.18p8 on DU4.0d won't compile Date: 1998/07/16 Message-ID: <01bdb0ce$464c77d0$07c774ce@pckreamer>#1/1 X-Deja-AN: 372046619 References: <6ogaid$ge5$1@nnrp1.dejanews.com> <35ACA64B.B9F@pstcc.cc.tn.us.net> Organization: Vaxxine Computer Systems Newsgroups: comp.unix.osf.misc,comp.unix.osf.osf1 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 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 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 specified in > > #include directive. > > > > I checked inside the includes.h file, and line 125 is commented out like so: > > #include > > 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 > FLAGSM = -DOSF1 -DOSF1_ENH_SEC -DFAST_SHARE_MODES > LIBSM = -lsecurity