Bug 2485

Summary: Frysk build fails in frysk-sys (Itimer.cxx)
Product: frysk Reporter: Adam Jocksch <ajocksch>
Component: generalAssignee: Andrew Cagney <cagney>
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2235, 1664    

Description Adam Jocksch 2006-03-24 23:32:36 UTC
Frysk build fails with make -j3 with the following messge:
if g++ -DPACKAGE_NAME=\"frysk\" -DPACKAGE_TARNAME=\"frysk\"
-DVERSION=\"\"  -I. -I/home/ajocksch/src/frysk/frysk-sys   
-I/home/ajocksch/src/frysk/frysk-sys -I. -Werror -Wall -fPIC 
-I/home/ajocksch/src/frysk/frysk-sys/../frysk-imports/include -g -O -MT
frysk/sys/cni/Itimer.o -MD -MP -MF "$
/home/ajocksch/src/frysk/frysk-sys/frysk/sys/cni/Itimer.cxx:46:30: error:
frysk/sys/Itimer.h: No such file or directory
/home/ajocksch/src/frysk/frysk-sys/frysk/sys/cni/Itimer.cxx:72: error:
‘frysk::sys::Itimer’ has not been declared
Comment 1 Andrew Cagney 2006-04-13 21:44:37 UTC
An earlier command should have failed, this fixes things so that the build
aborts at the real problem.

Index: frysk-sys/common/ChangeLog
2006-04-13  Andrew Cagney  <cagney@redhat.com>

        * Makefile.rules (.java.h): Check $(GCJCOMPILE) exit status.
Comment 2 Andrew Cagney 2006-04-13 22:09:40 UTC
Index: frysk-sys/common/ChangeLog
2006-04-13  Andrew Cagney  <cagney@redhat.com>

        * Makefile.gen.sh (.cxx=.h): For generated header files included
        by .cxx files, output explicit list of dependencies.  Do not
        include generated header files in BUILT_SOURCES.