<#270 compile error> Issue created by <sujatad15> ...
# openlane-development
g
#270 compile error Issue created by sujatad15 when I write make command in mac terminal getting error like 44 warnings and 1 error generated. make[2]: * [DRCmain.o] Error 1 make[1]: * [modules] Error 1 make: * [standard] Error 2 sujata@Sujatas-MacBook-Air magic % error is: DRCmain.c92213: error: use of undeclared identifier 'DRC_NOT_RUNNING' DRCStatus = DRC_NOT_RUNNING; please someone help me to fix this issue. for reference I'm sharing complete error window Last login: Thu Oct 12 135625 on ttys000 sujata@Sujatas-MacBook-Air ~ % cd magic sujata@Sujatas-MacBook-Air magic % make --- errors and warnings logged in file make.log --- making dependencies for dir in bplane cmwind commands database dbwind debug drc extflat extract graphics netmenu plow resis select sim textio tiles utils windows wiring ext2sim ext2spice calma cif plot lef readline garouter grouter irouter mzrouter router gcr lisp tcltk magic net2ir graphics; do (cd $dir && /Applications/Xcode.app/Contents/Developer/usr/bin/make depend) || exit 1; done make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. make[2]: Nothing to be done for
depend'. --- making modules for dir in bplane cmwind commands database dbwind debug drc extflat extract graphics netmenu plow resis select sim textio tiles utils windows wiring ext2sim ext2spice calma cif plot lef readline garouter grouter irouter mzrouter router gcr magic net2ir graphics; do (cd $dir && /Applications/Xcode.app/Contents/Developer/usr/bin/make module) || exit 1; done make[2]: Nothing to be done for
module'. make[2]: Nothing to be done for
module'. make[2]: Nothing to be done for
module'. make[2]: Nothing to be done for
module'. make[2]: Nothing to be done for
module'. make[2]: Nothing to be done for
module'. --- compiling drc/DRCmain.o rm -f DRCmain.o gcc -g -I. -I.. -I../readline -DCAD_DIR="/usr/local/lib" -DBIN_DIR="/usr/local/bin" -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -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=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_ZLIB=1 -DX_DISPLAY_MISSING=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DUSE_READLINE=1 -DHAVE_LIBREADLINE=1 -DHAVE_LIBREADLINE=1 -DHAVE_LIBREADLINE=1 -DROUTE_MODULE=1 -DRSIM_MODULE=1 -DUSE_NEW_MACROS=1 -DVECTOR_FONTS=1 -D_FORTIFY_SOURCE=0 -DMAGIC_VERSION="`cat ../VERSION | cut -d. -f1-2`" -DMAGIC_REVISION="`cat ../VERSION | cut -d. -f3`" -DMAGIC_COMMIT="`git rev-parse HEAD`" -DGCORE="/usr/bin/gcore" -DSHDLIB_EXT="" -DNDEBUG -c DRCmain.c In file included from DRCmain.c36 In file included from ../database/database.h41 In file included from ../bplane/bplane.h203 ../bplane/bpEnum.h50911: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(e=bpEnumNextBINS(bpe, 0)) return e; ~^~~~~~~~~~~~~~~~~~~~~~~ ../bplane/bpEnum.h50911: note: place parentheses around the assignment to silence this warning if(e=bpEnumNextBINS(bpe, 0)) return e; ^ ( ) ../bplane/bpEnum.h50911: note: use '==' to turn this assignment into an equality comparison if(e=bpEnumNextBINS(bpe, 0)) return e; ^ == ../bplane/bpEnum.h51311: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(e=bpEnumNextBINS(bpe, 1)) return e; ~^~~~~~~~~~~~~~~~~~~~~~~ ../bplane/bpEnum.h51311: note: place parentheses around the assignment to silence this warning if(e=bpEnumNextBINS(bpe, 1)) return e; ^ ( ) ../bplane/bpEnum.h51311: note: use '==' to turn this assignment into an equality comparison if(e=bpEnumNextBINS(bpe, 1)) return e; ^ == ../bplane/bpEnum.h51711: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(e=bpEnumNextINBOX(bpe, 0)) return e; ~^~~~~~~~~~~~~~~~~~~~~~~~ ../bplane/bpEnum.h51711: note: place parentheses around the assignment to silence this warning if(e=bpEnumNextINBOX(bpe, 0)) return e; ^ ( ) ../bplane/bpEnum.h51711: note: use '==' to turn this assignment into an equality comparison if(e=bpEnumNextINBOX(bpe, 0)) return e; ^ == ../bplane/bpEnum.h52111: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(e=bpEnumNextINBOX(bpe, 1)) return e; ~^~~~~~~~~~~~~~~~~~~~~~~~ ../bplane/bpEnum.h52111: note: place parentheses around the assignment to silence this warning if(e=bpEnumNextINBOX(bpe, 1)) return e; ^ ( ) ../bplane/bpEnum.h52111: note: use '==' to turn this assignment into an equality comparison if(e=bpEnumNextINBOX(bpe, 1)) return e; ^ == ../bplane/bpEnum.h52511: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(e=bpEnumNextHASH(bpe)) return e; ~^~~~~~~~~~~~~~~~~~~~ ../bplane/bpEnum.h52511: note: place parentheses around the assignment to silence this warning if(e=bpEnumNextHASH(bpe)) return e; ^ ( ) ../bplane/bpEnum.h52511: note: use '==' to turn this assignment into an equality comparison if(e=bpEnumNextHASH(bpe)) return e; ^ == DRCmain.c1605: warning: passing arguments to 'DBPaintPlane0' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DBPaintPlane(plane, rect, DBStdPaintTbl(DRCErrorType, ^ ../database/database.h77648: note: expanded from macro 'DBPaintPlane' #define DBPaintPlane(a, b, c, d) DBPaintPlane0(a, b, c, d, PAINT_NORMAL) ^ DRCmain.c1501: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drcPaintError(celldef, rect, cptr, plane) ^ In file included from DRCmain.c39 ../drc/drc.h24613: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void drcPaintError(); ^ DRCmain.c20922: warning: passing … RTimothyEdwards/magic