MAGIC Magic Mailing List
 
 

From: Michael Doster (mtdos AT erols DOT com)
Date: Thu Feb 12 2004 - 21:59:42 EST

  • Next message: Yue Yang: "unsubscribe"

    Regarding Tim's problem, there may be a typo in sim/SimRsim.c in rev62. From
    a "diff -y" against the same file in rev55 (see attached JPEG) you see that
    the following lines in the rev62, which depend on SYSV being defined, are
    left out in the open for all to see:
    
         FD_ZERO(&readfds);                /* ? */
         FD_ZERO(&exceptfds);      /* ? */
    
    
    -- Michael Doster
    
    > Hi Everyone,
    > 
    > I'm trying to build Magic 7.2.62 on Mac OS X (Powerbook G4 10.3.2,
    > Apple X11 and GCC 3.3) and am having a little problem.  I run
    > ./configure and make without any problem, but when I try to make
    > install I get the errors shown below.  Any advice?
    > 
    > Thanks,
    > -Tim Robertson
    > t-i-m-o-t-h-y-r at t-i-m-o-t-h-y-r dot com
    > 
    > birge-175-004:/Users/timothyr/Downloads/magic-7.2.62 root# make install
    > --- installing to /usr/local
    > make[2]: *** No rule to make target `../sim/libsim.o', needed by
    > `magic'.  Stop.
    > birge-175-004:/Users/timothyr/Downloads/magic-7.2.62 root# cd sim
    > birge-175-004:/Users/timothyr/Downloads/magic-7.2.62/sim root# ls
    > Depend       Makefile     SimDBstuff.c SimDBstuff.o SimExtract.c
    > SimRsim.c    SimSelect.c  SimSelect.o  sim.h
    > birge-175-004:/Users/timothyr/Downloads/magic-7.2.62/sim root# make
    > --- compiling sim/SimRsim.o
    > rm -f SimRsim.o
    > gcc -g -O2 -I. -I..  -I../readline -DCAD_DIR=\"/usr/local\"
    > -DPACKAGE_NAME=\"magic\" -DPACKAGE_TARNAME=\"magic\"
    > -DPACKAGE_VERSION=\"7.2\" -DPACKAGE_STRING=\"magic\ 7.2\"
    > -DPACKAGE_BUGREPORT=\"magic-hackers AT csl DOT cornell.edu\" -DSTDC_HEADERS=1
    > -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
    > -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
    > -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
    > -DSIZEOF_VOID_P=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=4
    > -DWORDS_BIGENDIAN=1 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1
    > -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1
    > -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1
    > -DUSE_READLINE=1 -DHAVE_PTHREADS=1 -DNONMANHATTAN=1 -DROUTE_MODULE=1
    > -DRSIM_MODULE=1 -DUSE_NEW_MACROS=1 -Dmacosx=1  -DSHDLIB_EXT=\"\"  -c
    > SimRsim.c
    > SimRsim.c: In function `SimFillBuffer':
    > SimRsim.c:623: error: `readfds' undeclared (first use in this function)
    > SimRsim.c:623: error: (Each undeclared identifier is reported only once
    > SimRsim.c:623: error: for each function it appears in.)
    > SimRsim.c:624: error: `exceptfds' undeclared (first use in this
    > function)
    > make: *** [SimRsim.o] Error 1
    > birge-175-004:/Users/timothyr/Downloads/magic-7.2.62/sim root#
    > 
    
    
    
    
    


    diff-y.jpg


  •  
     
    Questions? Contact Rajit Manohar
    cornell logo