Closed bioinfornatics closed 12 years ago
Build fail here on linux
I have do a recursive works to patch until i block on this
[ 18%] Building CXX object CMakeFiles/LDCShared.dir/dmd2/root/async.h.o /usr/lib64/ccache/c++ -DDMDV2 -DDEFAULT_TARGET_TRIPLE=\"x86_64-redhat-linux-gnu\" -DDEFAULT_ALT_TARGET_TRIPLE=\"i686-redhat-linux-gnu\" -DIN_LLVM -DOPAQUE_VTBLS -DLDC_INSTALL_PREFIX=\"/usr\" -DPOSIX -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/home/builder/rpmbuild/BUILD/ldc-20120525git1805e53/. -I/home/builder/rpmbuild/BUILD/ldc-20120525git1805e53/dmd2 -I/home/builder/rpmbuild/BUILD/ldc-20120525git1805e53/dmd2/root -I/home/builder/rpmbuild/BUILD/ldc-20120525git1805e53 -I/usr/include -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -fno-tree-pre -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fomit-frame-pointer -fno-exceptions -fPIC -Woverloaded-virtual -Wcast-qual -Wno-deprecated -Wno-write-strings -fexceptions -o CMakeFiles/LDCShared.dir/dmd2/root/async.h.o -c /home/builder/rpmbuild/BUILD/ldc-20120525git1805e53/dmd2/root/async.h /home/builder/rpmbuild/BUILD/ldc-20120525git1805e53/dmd2/root/async.h:25:23: error: expected ';' at end of member declaration /home/builder/rpmbuild/BUILD/ldc-20120525git1805e53/dmd2/root/async.h:25:37: error: expected ')' before 'nfiles' /home/builder/rpmbuild/BUILD/ldc-20120525git1805e53/dmd2/root/async.h:26:18: error: 'File' has not been declared /home/builder/rpmbuild/BUILD/ldc-20120525git1805e53/dmd2/root/async.h:28:14: error: 'size_t' has not been declared make[3]: *** [CMakeFiles/LDCShared.dir/dmd2/root/async.h.o] Error 1 make[3]: Leaving directory `/home/builder/rpmbuild/BUILD/ldc-20120525git1805e53' make[2]: *** [CMakeFiles/LDCShared.dir/all] Error 2 make[2]: Leaving directory `/home/builder/rpmbuild/BUILD/ldc-20120525git1805e53' make[1]: *** [runtime/CMakeFiles/phobos2.dir/rule] Error 2 make[1]: Leaving directory `/home/builder/rpmbuild/BUILD/ldc-20120525git1805e53' make: *** [phobos2] Error 2
diff -up ldc-20120525git1805e53/dmd2/cond.h.fix ldc-20120525git1805e53/dmd2/cond.h --- ldc-20120525git1805e53/dmd2/cond.h.fix 2012-05-25 18:47:04.846888523 +0200 +++ ldc-20120525git1805e53/dmd2/cond.h 2012-05-25 18:47:04.666888539 +0200 @@ -15,6 +15,7 @@ struct Expression; struct Identifier; struct OutBuffer; struct Module; +struct Type; struct Scope; struct ScopeDsymbol; struct DebugCondition; diff -up ldc-20120525git1805e53/dmd2/hdrgen.h.fix ldc-20120525git1805e53/dmd2/hdrgen.h --- ldc-20120525git1805e53/dmd2/hdrgen.h.fix 2012-05-25 18:47:04.670888537 +0200 +++ ldc-20120525git1805e53/dmd2/hdrgen.h 2012-05-25 18:47:04.667888539 +0200 @@ -7,7 +7,7 @@ // License for redistribution is by either the Artistic License // in artistic.txt, or the GNU General Public License in gnu.txt. // See the included readme.txt for details. - +#include <string.h> struct HdrGenState { diff -up ldc-20120525git1805e53/dmd2/lib.h.fix ldc-20120525git1805e53/dmd2/lib.h --- ldc-20120525git1805e53/dmd2/lib.h.fix 2012-05-25 18:47:04.812888524 +0200 +++ ldc-20120525git1805e53/dmd2/lib.h 2012-05-25 18:50:56.804866910 +0200 @@ -24,6 +24,8 @@ struct ObjSymbol }; #include "arraytypes.h" +#include "root/stringtable.h" +#include "mars.h" typedef ArrayBase<ObjModule> ObjModules; typedef ArrayBase<ObjSymbol> ObjSymbols; diff -up ldc-20120525git1805e53/dmd2/root/aav.h.fix ldc-20120525git1805e53/dmd2/root/aav.h --- ldc-20120525git1805e53/dmd2/root/aav.h.fix 2012-05-25 18:47:04.733888531 +0200 +++ ldc-20120525git1805e53/dmd2/root/aav.h 2012-05-25 18:47:04.705888535 +0200 @@ -1,4 +1,5 @@ +#include <string.h> typedef void* Value; typedef void* Key; diff -up ldc-20120525git1805e53/dmd2/root/async.h.fix ldc-20120525git1805e53/dmd2/root/async.h diff -up ldc-20120525git1805e53/dmd2/root/dchar.h.fix ldc-20120525git1805e53/dmd2/root/dchar.h --- ldc-20120525git1805e53/dmd2/root/dchar.h.fix 2012-05-25 18:47:04.704888535 +0200 +++ ldc-20120525git1805e53/dmd2/root/dchar.h 2012-05-25 18:47:04.698888535 +0200 @@ -21,6 +21,7 @@ #endif //#include "root.h" +#include <string.h> typedef size_t hash_t; #undef TEXT
See #98.
Build fail here on linux
I have do a recursive works to patch until i block on this