Magic Mailing List |
|
From: shannon morton (shannon AT icerasemi DOT com) Date: Tue Sep 02 2003 - 10:35:13 EDT
Hi, I am trying to compile Magic 7.1.5 under Redhat, following the installation procedure given at http://vlsi.cornell.edu/magic/ and am having some problems. Everything is fine up until "gmake install" The first is easy: gcc complains that "-m486" is a deprecated option, so I replaced it in the defs.mak with "-mcpu=pentium" (after first running "gmake config") The second has me stumped: The compilation process complains about "]: *** No rule to make target" and "extra tokens at end of #endif directive" repeatedly (as shown in the output below). And alas, at the end of all this, there is no magic executable in the ~/cad-try/bin directory :-( Any help is appreciated. /S [shannon AT xxx magic-7 DOT 1.5]$ gmake install --- installing to /home/shannon/cad-try gmake[2]: *** No rule to make target `../extflat/libextflat.o', needed by `ext2sim'. Stop. gmake[2]: *** No rule to make target `../extflat/libextflat.o', needed by `ext2spice'. Stop. gmake[2]: *** No rule to make target `../cif/libcif.o', needed by `magic'. Stop. gmake[2]: *** No rule to make target `../utils/libutils.a', needed by `magicusage'. Stop. gmake[2]: *** No rule to make target `../utils/libutils.a', needed by `net2ir'. Stop. gmake[2]: *** No rule to make target `../extflat/libextflat.o', needed by `extcheck'. Stop. mpackMain.c:18:9: warning: extra tokens at end of #endif directive In file included from mpackMain.c:21: ../misc/magic.h:102:9: warning: extra tokens at end of #endif directive In file included from mpackMain.c:24: ../tiles/tile.h:31:9: warning: extra tokens at end of #endif directive ../tiles/tile.h:34:9: warning: extra tokens at end of #endif directive In file included from mpackMain.c:25: ../database/database.h:29:9: warning: extra tokens at end of #endif directive ../database/database.h:32:9: warning: extra tokens at end of #endif directive ../database/database.h:35:9: warning: extra tokens at end of #endif directive ../database/database.h:415:8: warning: extra tokens at end of #endif directive In file included from mpackMain.c:30: ../cif/cif.h:27:9: warning: extra tokens at end of #endif directive ../cif/cif.h:30:9: warning: extra tokens at end of #endif directive In file included from mpackMain.c:32: ../utils/malloc.h:201:9: warning: extra tokens at end of #endif directive magicMain.c:22:9: warning: extra tokens at end of #endif directive In file included from magicMain.c:27: ../misc/magic.h:102:9: warning: extra tokens at end of #endif directive In file included from magicMain.c:33: ../graphics/graphics.h:105:9: warning: extra tokens at end of #else directive ../graphics/graphics.h:108:9: warning: extra tokens at end of #endif directive In file included from magicMain.c:34: ../tiles/tile.h:31:9: warning: extra tokens at end of #endif directive ../tiles/tile.h:34:9: warning: extra tokens at end of #endif directive In file included from magicMain.c:36: ../database/database.h:29:9: warning: extra tokens at end of #endif directive ../database/database.h:32:9: warning: extra tokens at end of #endif directive ../database/database.h:35:9: warning: extra tokens at end of #endif directive ../database/database.h:415:8: warning: extra tokens at end of #endif directive In file included from magicMain.c:37: ../drc/drc.h:27:9: warning: extra tokens at end of #endif directive ../drc/drc.h:30:9: warning: extra tokens at end of #endif directive ../drc/drc.h:181:9: warning: extra tokens at end of #endif directive In file included from magicMain.c:40: ../commands/commands.h:27:9: warning: extra tokens at end of #endif directive ../commands/commands.h:31:9: warning: extra tokens at end of #endif directive In file included from magicMain.c:44: ../cif/cif.h:27:9: warning: extra tokens at end of #endif directive ../cif/cif.h:30:9: warning: extra tokens at end of #endif directive magicStubs.c:14:9: warning: extra tokens at end of #endif directive In file included from magicStubs.c:17: ../misc/magic.h:102:9: warning: extra tokens at end of #endif directive In file included from magicStubs.c:20: ../tiles/tile.h:31:9: warning: extra tokens at end of #endif directive ../tiles/tile.h:34:9: warning: extra tokens at end of #endif directive In file included from magicStubs.c:21: ../database/database.h:29:9: warning: extra tokens at end of #endif directive ../database/database.h:32:9: warning: extra tokens at end of #endif directive ../database/database.h:35:9: warning: extra tokens at end of #endif directive ../database/database.h:415:8: warning: extra tokens at end of #endif directive In file included from magicStubs.c:23: ../undo/undo.h:28:9: warning: extra tokens at end of #endif directive gmake[2]: *** No rule to make target `../utils/libutils.o', needed by `libmpack.a'. Stop. [shannon AT xxx magic-7 DOT 1.5]$ Shannon Morton, Icera Semiconductor, Bristol, U.K. Ph: +44 1249 700 616 Fax: +44 1249 700 620
|
|