The script prints the following to the console:
+ mkdir am.dir
+ cd am.dir
+ cat
+ echo 'int bar () { return 0; }'
+ mkdir sub
+ echo 'choke me'
+ st=0
+ gcc -I. -I./sub -c -o foo.o foo.c
In file included from foo.c:1:
./sub/bar.h:1: error: expected `=', `,', `;', `asm' or `__attribute__'
before `me'
+ echo FAIL 1
FAIL 1
+ st=1
+ rm -f foo.o
++ pwd
+ gcc -I/build-tmp/am.dir -I./sub -c -o foo.o foo.c
In file included from foo.c:1:
./sub/bar.h:1: error: expected `=', `,', `;', `asm' or `__attribute__'
before `me'
+ echo FAIL 2
FAIL 2
+ st=1
+ exit 1I tar'ed and attached the entire contents of am.dir. On Tue, Feb 7, 2012 at 6:36 AM, Stefano Lattarini < [email protected]> wrote: > Hi Matthew, sorry for the delay. > > On 02/01/2012 06:53 PM, Matthew Wezowicz wrote: > > All bits may have been accidentally set when I scp'ed stdinc.dir to my > > Windows machine for inspection. > > I sent the .tar from it. > > > > I believe the SELinux is installed by default on CentOS 6.2 and I didn't > > change it. > > > Let's hope it's not a SELinux-related bug -- I know basically nothing > about SELinux. > > > Following the Libtool bug I retrieved the newer 1.11.2 version of > Automake > > and rebuilt it in a local directory as well but I still get the same > failed > > stdinc test. > > > And I still have no idea about what's really going on :-( > > Could you try running the attached script, and post its output and results? > > Thanks, > Stefano > -- Matthew "Wezzy" Wezowicz University of Delaware GCL Undergraduate Researcher
am.dir.tar
Description: Unix tar archive
