I have tried both g++2 and g++. With g++ it starts producing errors at about the same place, but continues (with errors) for longer. The output using g++ is below. The 'missing' aisc.h file is in GENH directory (which is in the NAMES_COM directory - where it is making at the time). The aisc.h file is produced by a script, but seems to be in the right places. I guess this might be difficult to pin down - there are a lot of files doing different things. Thanks anyway for your comments. - Mike D-S its-dialin4asy23:~/arb_build mikeds$ sudo make arb make arbbasic2 -------------------------------------------------------------------------------- Make everything in AISC_MKPTPS gcc -DDARWIN -DNO_REGEXPR -no-cpp-precomp -DHAVE_BOOL -O4 -DNDEBUG -DFAKE_VTAB_PTR=char -D_ARB_AISC_MKPTPS -c mkptypes.c gcc -DDARWIN -DNO_REGEXPR -no-cpp-precomp -DHAVE_BOOL -O4 -DNDEBUG -DFAKE_VTAB_PTR=char -D_ARB_AISC_MKPTPS -o aisc_mkpt mkptypes.o -------------------------------------------------------------------------------- Make everything in AISC g++ -DDARWIN -DNO_REGEXPR -no-cpp-precomp -DHAVE_BOOL -O4 -DNDEBUG -DFAKE_VTAB_PTR=char -D_ARB_AISC -c aisc.c -I. -I/Users/mikeds/arb_build/INCLUDE -I/usr/X11R6/include g++ -DDARWIN -DNO_REGEXPR -no-cpp-precomp -DHAVE_BOOL -O4 -DNDEBUG -DFAKE_VTAB_PTR=char -D_ARB_AISC -c aisc_commands.c -I. -I/Users/mikeds/arb_build/INCLUDE -I/usr/X11R6/include g++ -DDARWIN -DNO_REGEXPR -no-cpp-precomp -DHAVE_BOOL -O4 -DNDEBUG -DFAKE_VTAB_PTR=char -D_ARB_AISC -c aisc_var_ref.c -I. -I/Users/mikeds/arb_build/INCLUDE -I/usr/X11R6/include g++ -DDARWIN -DNO_REGEXPR -no-cpp-precomp -DHAVE_BOOL -O4 -DNDEBUG -DFAKE_VTAB_PTR=char -D_ARB_AISC -c aisc_mix.c -I. -I/Users/mikeds/arb_build/INCLUDE -I/usr/X11R6/include g++ -DDARWIN -DNO_REGEXPR -no-cpp-precomp -DHAVE_BOOL -O4 -DNDEBUG -DFAKE_VTAB_PTR=char -D_ARB_AISC -o aisc aisc.o aisc_commands.o aisc_var_ref.o aisc_mix.o -------------------------------------------------------------------------------- Make everything in NAMES_COM make -r -f AISC/Makefile \ "MAIN_SOURCE=names.aisc" \ "PRIVATE_SERVER_OBJECTS = names_extern.o" \ "AISC_SAVE = YES" "COMPILER = g++ -DDARWIN -DNO_REGEXPR -no-cpp-precomp -DHAVE_BOOL -O4 -DNDEBUG -DFAKE_VTAB_PTR=char -D_ARB_NAMES_COM" \ "CLIENTCOMPILER = g++ -DDARWIN -DNO_REGEXPR -no-cpp-precomp -DHAVE_BOOL -O4 -DNDEBUG -DFAKE_VTAB_PTR=char -D_ARB_NAMES_COM" "AR = ld -r -o" makedepend C/*.c GENC/*.c -I GENH -I C -f- -w1 | grep -v ' /usr' | sed -e 's/^C/O/g' > .depends_new makedepend: warning: C/aisc_extern.c, line 3: cannot find include file "aisc.h" not in GENH/aisc.h not in C/aisc.h not in /usr/local/lib/gcc-include/aisc.h not in /usr/include/aisc.h makedepend: warning: C/client.c (reading /usr/include/stdarg.h, line 4): cannot find include file "stdarg.h" makedepend: warning: C/debug.c, line 6: cannot find include file "aisc_com.h" [snip] ---------------------------------------- 2 - LD_LIBRARY_PATH= ../MAKEBIN/aisc AISC/aisc_server.pa ors.aisc GENC/aisc_server.c GENH/aisc_server_extern.aisc GENH/import_proto.h g++ -DDARWIN -DNO_REGEXPR -no-cpp-precomp -DHAVE_BOOL -O4 -DNDEBUG -DFAKE_VTAB_PTR=char -D_ARB_ORS_COM -Wno-unused -c -o GENC/aisc_debug_globals.o GENC/aisc_debug_globals.c -IGENH -I. -IC rm -f GENH/aisc_server_proto.h ../MAKEBIN/aisc_mkpt -C GENC/aisc_server.c >GENH/aisc_server_proto.h echo GENH/import_proto.h GENH/import_proto.h g++ -DDARWIN -DNO_REGEXPR -no-cpp-precomp -DHAVE_BOOL -O4 -DNDEBUG -DFAKE_VTAB_PTR=char -D_ARB_ORS_COM -Wno-unused -c -o GENC/aisc_global.o GENC/aisc_global.c -IGENH -I. -IC -DAISC_SAVE_NO g++ -DDARWIN -DNO_REGEXPR -no-cpp-precomp -DHAVE_BOOL -O4 -DNDEBUG -DFAKE_VTAB_PTR=char -D_ARB_ORS_COM -Wno-unused -c -o GENC/aisc_server.o GENC/aisc_server.c -IGENH -I. -IC -DAISC_SAVE_NO g++ -DDARWIN -DNO_REGEXPR -no-cpp-precomp -DHAVE_BOOL -O4 -DNDEBUG -DFAKE_VTAB_PTR=char -D_ARB_ORS_COM -Wno-unused -c -o ors_extern.o ors_extern.c -IGENH -I. -IC -DAISC_SAVE_NO ld -r -o client.a O/client.o O/debug.o GENC/aisc_debug_globals.o ld -r -o server.a O/server.o O/struct_man.o O/aisc_extern.o GENC/aisc_global.o GENC/aisc_server.o ors_extern.o (cd lib;make nameserver) (cd nas;make all) rm -f *% -------------------------------------------------------------------------------- Make everything in SL g++ -DDARWIN -DNO_REGEXPR -no-cpp-precomp -DHAVE_BOOL -O4 -DNDEBUG -DFAKE_VTAB_PTR=char -D_ARB_SL -D_ARB_HELIX -c BI_helix.cxx -I. -I/Users/mikeds/arb_build/INCLUDE -I/usr/X11R6/include g++ -DDARWIN -DNO_REGEXPR -no-cpp-precomp -DHAVE_BOOL -O4 -DNDEBUG -DFAKE_VTAB_PTR=char -D_ARB_SL -D_ARB_AW_HELIX -c AW_helix.cxx -I. -I/Users/mikeds/arb_build/INCLUDE -I/usr/X11R6/include g++ -DDARWIN -DNO_REGEXPR -no-cpp-precomp -DHAVE_BOOL -O4 -DNDEBUG -DFAKE_VTAB_PTR=char -D_ARB_SL -D_ARB_AW_NAME -c AW_rename.cxx -I. -I/Users/mikeds/arb_build/INCLUDE -I/usr/X11R6/include In file included from BI_helix.cxx:6: /Users/mikeds/arb_build/INCLUDE/arbdb.h:5:2: error: #error "arbdb.h needs stdio.h included" In file included from AW_rename.cxx:5: /Users/mikeds/arb_build/INCLUDE/arbdb.h:5:2: error: #error "arbdb.h needs stdio.h included" In file included from /Users/mikeds/arb_build/INCLUDE/BI_helix.hxx:21, from AW_helix.hxx:18, from AW_helix.cxx:15: /Users/mikeds/arb_build/INCLUDE/arbdb.h:5:2: error: #error "arbdb.h needs stdio.h included" AW_helix.cxx:25: warning: non-local variable '<anonymous struct> helix_awars []' uses anonymous type make[4]: *** [AW_helix.o] Error 1 make[3]: *** [AW_HELIX/AW_HELIX.dummy] Error 2 make[3]: *** Waiting for unfinished jobs.... g++ -DDARWIN -DNO_REGEXPR -no-cpp-precomp -DHAVE_BOOL -O4 -DNDEBUG -DFAKE_VTAB_PTR=char -D_ARB_SL -D_ARB_AW_NAME -c AW_names_admin.cxx -I. -I/Users/mikeds/arb_build/INCLUDE -I/usr/X11R6/include In file included from AW_names_admin.cxx:3: /Users/mikeds/arb_build/INCLUDE/arbdb.h:5:2: error: #error "arbdb.h needs stdio.h included" make[4]: *** [AW_names_admin.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [AW_rename.o] Error 1 make[3]: *** [AW_NAME/AW_NAME.dummy] Error 2 make[4]: *** [BI_helix.o] Error 1 make[3]: *** [HELIX/HELIX.dummy] Error 2 make[2]: *** [SL/SL.dummy] Error 2 make[1]: *** [arbbasic] Error 2 make: *** [rebuild] Error 2 ____________________________ Mike Dyall-Smith Dept. Microbiology and Immunology University of Melbourne Ph: +61 3 8344 5693 Fx: +61 3 9347 1540 ____________________________ |
- Re: [Fink-users] compiling ARB on 10.4.1 Mike Dyall-Smith
- Re: [Fink-users] compiling ARB on 10.4.1 Mike Dyall-Smith