[Magic-dev] MPLA & magic-7.1

Supriya Sunki ssunki at csee.usf.edu
Wed Sep 29 12:59:54 EDT 2004


 

Hi,
   I'm trying to compile MPLA by downloading the platools
provided at Tim's website.But during the 'Make' I get the
following errors with (GCC-2.96,Fedora Core 2):

1) When I use the libmpack.a of the platools,following
errors were shown:

 
[supriya at lexus mpla]$ make
gcc -g -I../../lib -g   -c -o mpla.o mpla.c
gcc -g -I../../lib -g   -c -o unio.o unio.c
unio.c:7:9: warning: extra tokens at end of #endif directive
gcc -g -I../../lib -g   -c -o stack.o stack.c
stack.c:6:9: warning: extra tokens at end of #endif
directive
rm -f mpla
gcc -g -I../../lib mpla.o unio.o stack.o -L../../lib -lmpack
-lm -o mpla
../../lib/libmpack.a(libdatabase.o)(.text+0xbdf6): In
function `DBCellWrite':
/newhome/tim/magic_sources/magic-7.1.7/database/DBio.c:1414:
warning: the use of `mktemp' is dangerous, better use
`mkstemp'
../../lib/libmpack.a(libutils.o)(.text+0x1b16): In function
`GetRect':
/newhome/tim/magic_sources/magic-7.1.7/utils/getrect.c:104:
undefined reference to `__ctype_b'
../../lib/libmpack.a(libutils.o)(.text+0x1b7d):/newhome/tim/
magic_sources/magic-7.1.7/utils/getrect.c:107: undefined
reference to `__ctype_b'
.../../lib/libmpack.a(libutils.o)(.text+0x1ba6):/newhome/tim
/magic_sources/magic-7.1.7/utils/getrect.c:108: undefined
reference to `__ctype_b'
.../../lib/libmpack.a(libutils.o)(.text+0x1c06):/newhome/tim
/magic_sources/magic-7.1.7/utils/getrect.c:111: undefined
reference to `__ctype_b'
.../../lib/libmpack.a(libutils.o)(.text+0x1c6e):/newhome/tim
/magic_sources/magic-7.1.7/utils/getrect.c:114: undefined
reference to `__ctype_b'
.../../lib/libmpack.a(libutils.o)(.text+0x1c96):/newhome/tim
/magic_sources/magic-7.1.7/utils/getrect.c:115: more
undefined references to `__ctype_b' follow collect2: ld
returned 1 exit status make: *** [mpla] Error 1


2)when I use 'libmpack.a' of my locally compiled Magic-7.1
version, following errors were shown:  



[supriya at lexus mpla]$ make
rm -f mpla
gcc -g -I../../lib mpla.o unio.o stack.o -L../../lib -lmpack
-lm -o mpla
../../lib/libmpack.a(libdatabase.o)(.text+0xaa5c): In
function `DBCellWrite':
/home/supriya/cad_try/src/magic-7.1/database/DBio.c:1192:
warning: the use of `mktemp' is dangerous, better use
`mkstemp'
../../lib/libmpack.a(libtech.o)(.text+0x19f): In function
`TechLoad':
/home/supriya/cad_try/src/magic-7.1/tech/tech.c:252:
undefined reference to `SysLibPath'
../../lib/libmpack.a(libtech.o)(.text+0x1cd):/home/supriya/c
ad_try/src/magic-7.1/tech/tech.c:254: undefined reference to
`SysLibPath'
../../lib/libmpack.a(libdatabase.o)(.text+0x30bc): In
function `dbCopyAllPaint':
/home/supriya/cad_try/src/magic-7.1/database/DBcellcopy.c:50
8: undefined reference to `GrClipTriangle'
../../lib/libmpack.a(libdatabase.o)(.text+0x3f28): In
function `DBCellPrint':
/home/supriya/cad_try/src/magic-7.1/database/DBcellname.c:31
7: undefined reference to `SelectDef'
../../lib/libmpack.a(libdatabase.o)(.text+0x98c5): In
function `dbReadOpen':
/home/supriya/cad_try/src/magic-7.1/database/DBio.c:558:
undefined reference to `CellLibPath'
../../lib/libmpack.a(libdatabase.o)(.text+0x98cb):/home/supr
iya/cad_try/src/magic-7.1/database/DBio.c:558: undefined
reference to `Path'
.../../lib/libmpack.a(libdatabase.o)(.text+0x9939):/home/sup
riya/cad_try/src/magic-7.1/database/DBio.c:566: undefined
reference to `CellLibPath'
.../../lib/libmpack.a(libdatabase.o)(.text+0x993f):/home/sup
riya/cad_try/src/magic-7.1/database/DBio.c:566: undefined
reference to `Path'
../../lib/libmpack.a(libdatabase.o)(.text+0xb3bd): In
function `DBGetTech':
/home/supriya/cad_try/src/magic-7.1/database/DBio.c:1483:
undefined reference to `CellLibPath'
.../../lib/libmpack.a(libdatabase.o)(.text+0xb3c3):/home/sup
riya/cad_try/src/magic-7.1/database/DBio.c:1483: undefined
reference to `Path'
../../lib/libmpack.a(libcif.o)(.text+0xcfa2): In function
`cifWritePaintFunc':
/home/supriya/cad_try/src/magic-7.1/cif/CIFwrite.c:580:
undefined reference to `GrClipTriangle' collect2: ld
returned 1 exit status make: *** [mpla] Error 1



Thanks for the help,
Supriya.






   

http://www.csee.usf.edu


More information about the magic-dev mailing list