MAGIC Magic Mailing List
 
 

From: John Griessen (john_g AT cibolo DOT com)
Date: Sat Mar 29 2003 - 22:07:03 EST

  • Next message: cfk: "Re: snag compiling latest magic-7.2.32"

    Hello,
    
    Does anyone have ideas about this snag in compiling magic on a debian
    linux machine?
    
    I got "almost compiles" outcome when I did make clean first after
    unzipping and then doing make config, then make tcl
    
    I have only a missing piece at make tcl-install step
    
    
    make[1]: Entering directory `/opt/src/magic-7.2.32'
    --- making modules
    for dir in cmwind commands database dbwind debug drc extflat extract
    graphics macros main misc netlist netmenu parser plow resis select
    signals sim textio tech tiles undo utils windows wiring calma cif plot
    garouter grouter irouter mzrouter gcr magic ext2sim ext2spice router; do
    \
    	(cd $dir && make module); done
    make[2]: Entering directory `/opt/src/magic-7.2.32/cmwind'
    --- compiling cmwind/CMWmain.o
    rm -f CMWmain.o
    gcc -g  -I/usr/include/tcl8.4 -I/usr/include/tcl8.4 -m486 -I. -I..
    -DMAGIC_WRAPPER -DTCL_DIR=\"/opt/geda/lib/magic/tcl\" -DHAVE_LIMITS_H
    -Dlinux -DSYSV -DF_OK=0 -DW_OK=2 -D__NO_STRING_INLINES -DISC
    -DCALMA_MODULE -DCIF_MODULE -DPLOT_MODULE -DNONMANHATTAN -DROUTE_AUTO
    -DUSE_NEW_MACROS -DCAD_DIR=\"/opt/geda\"  -c CMWmain.c
    --- compiling cmwind/CMWcmmnds.o
    rm -f CMWcmmnds.o
    
    .
    .
    .
    .
    .
    .
    ER -DTCL_DIR=\"/opt/geda/lib/magic/tcl\" -DHAVE_LIMITS_H -Dlinux -DSYSV
    -DF_OK=0 -DW_OK=2 -D__NO_STRING_INLINES -DISC -DCALMA_MODULE
    -DCIF_MODULE -DPLOT_MODULE -DNONMANHATTAN -DROUTE_AUTO -DUSE_NEW_MACROS
    -DCAD_DIR=\"/opt/geda\" ext2spice.c -c -o spicewrap.o
    In file included from /usr/include/tcl8.4/tcl.h:176,
                     from ../magic/tclmagic.h:11,
                     from ext2spice.c:28:
    /usr/lib/gcc-lib/i386-linux/2.95.4/include/stdarg.h:96: warning:
    `va_start' redefined
    /usr/lib/gcc-lib/i386-linux/2.95.4/include/varargs.h:111: warning: this
    is the location of the previous definition
    ext2spice.c: In function `CmdExtToSpice':
    ext2spice.c:460: warning: assignment discards qualifiers from pointer
    target type
    --- making exttospice Tcl library (exttospice.so)
    rm -f exttospice.so
    gcc -g  -I/usr/include/tcl8.4 -I/usr/include/tcl8.4 -m486 -I. -I.. -o
    exttospice.so -shared -Wl,--version-script=../magic/symbol.map
    spicewrap.o \
    	../extflat/libextflat.o  -lc -lm 
    make[2]: Leaving directory `/opt/src/magic-7.2.32/ext2spice'
    make[2]: Entering directory `/opt/src/magic-7.2.32/router'
    gcc -g  -I/usr/include/tcl8.4 -I/usr/include/tcl8.4 -m486 -I. -I..
    -DMAGIC_WRAPPER -DTCL_DIR=\"/opt/geda/lib/magic/tcl\" -DHAVE_LIMITS_H
    -Dlinux -DSYSV -DF_OK=0 -DW_OK=2 -D__NO_STRING_INLINES -DISC
    -DCALMA_MODULE -DCIF_MODULE -DPLOT_MODULE -DNONMANHATTAN -DROUTE_AUTO
    -DUSE_NEW_MACROS -DCAD_DIR=\"/opt/geda\" tclroute.c -c -o tclroute.o
    --- making Tcl auto-load module (tclroute.so)
    rm -f tclroute.so
    gcc -g  -I/usr/include/tcl8.4 -I/usr/include/tcl8.4 -m486 -I. -I.. -o
    tclroute.so -shared -Wl,--version-script=../magic/symbol.map tclroute.o
    rtrCmd.o rtrMain.o rtrDcmpose.o ftrFdback.o rtrHazards.o rtrChannel.o
    rtrPaint.o rtrPin.o rtrSide.o rtrStem.o rtrTech.o rtrVia.o rtrTravers.o 
    \
    	 ../garouter/libgarouter.o ../mzrouter/libmzrouter.o
    ../irouter/libirouter.o ../grouter/libgrouter.o ../gcr/libgcr.o -lc     
    make[2]: Leaving directory `/opt/src/magic-7.2.32/router'
    make[1]: Leaving directory `/opt/src/magic-7.2.32'
    
    
    =====================================
     make install-tcl
    --- installing to /opt/geda
    make[3]: *** No rule to make target
    `/opt/geda/lib/magic/tutorial/tut11a.rsm', needed by `install'.  Stop.
    make[2]: *** [install-tcl] Error 2
    
    
    the only files now in dir 
    /opt/geda/lib/magic/tutorial/
    
    are:
    /opt/geda/lib/magic/tutorial/tut11a.al
    /opt/geda/lib/magic/tutorial/tut11a.cmd
    /opt/geda/lib/magic/tutorial/tut11a.ext
    /opt/geda/lib/magic/tutorial/tut11a.mag
    /opt/geda/lib/magic/tutorial/tut11a.nodes
    /opt/geda/lib/magic/tutorial/tut11b.mag
    /opt/geda/lib/magic/tutorial/tut11c.mag
    /opt/geda/lib/magic/tutorial/tut11d.mag
    
    
    Any ideas?
    
    John Griessen
    


  •  
     
    Questions? Contact Rajit Manohar
    cornell logo