[Magic-dev] Magic VLSI installing on Ubuntu error
Thinker
ezhaoguang at gmail.com
Wed Nov 7 16:03:13 EST 2007
Hi, I have install magic-7.4.43 to ubuntu linux, but I got a problem.
I run './configure ' and also install Tcl/tk 8.3 ,BLT ,OpenGL libs.
I run 'make ', and there is no error.
After I run 'make install ', I got this message below:
--------------------------------------------------------------------
--- installing executable to /usr/local/bin
--- installing runtime files to /usr/local/lib
/usr/bin/ld: cannot find -lXmu
collect2: ld returned 1 exit status
make[2]: *** [tclmagic.so] Error 1
---------------------------------------------------------------------
And I noticed that when I run 'make' there had been a warning message
like below:
---------------------------------------------------------------------
--- compiling lef/lefRead.o
lefRead.c: In function ‘LefReadRect’:
lefRead.c:603: warning: incompatible implicit declaration of built-in
function ‘roundf’
lefRead.c: In function ‘LefReadMacro’:
lefRead.c:1050: warning: incompatible implicit declaration of built-in
function ‘roundf’
lefRead.c: In function ‘LefReadLayerSection’:
lefRead.c:1268: warning: incompatible implicit declaration of built-in
function ‘roundf’
--- compiling lef/defRead.o
defRead.c: In function ‘DefAddRoutes’:
defRead.c:123: warning: incompatible implicit declaration of built-in
function ‘roundf’
defRead.c:268: warning: incompatible implicit declaration of built-in
function ‘roundf’
defRead.c:288: warning: incompatible implicit declaration of built-in
function ‘roundf’
defRead.c: In function ‘DefReadLocation’:
defRead.c:626: warning: incompatible implicit declaration of built-in
function ‘roundf’
--- linking liblef.o
---------------------------------------------------------------------
My Linux version:
(Linux 2.6.20-16-generic #2 SMP Sun Sep 23 19:50:39 UTC 2007 i686
GNU/Linux)
-------------- next part --------------
# defs.mak.in --
# source file for autoconf-generated "defs.mak" for magic
# defs.mak. Generated from defs.mak.in by configure.
# Feel free to change the values in here to suit your needs.
# Be aware that running scripts/configure again will overwrite
# any changes!
SHELL = /bin/bash
prefix = /usr/local
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
libdir = ${exec_prefix}/lib
mandir = ${prefix}/man
SCRIPTS = ${MAGICDIR}/scripts
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL}
# Override standard "make" target when compiling under TCL
ALL_TARGET = tcl
INSTALL_TARGET = install-tcl
# Change libdir to install in a different place
BINDIR = ${bindir}
MANDIR = ${mandir}
LIBDIR = ${libdir}
SYSDIR = ${libdir}/magic/sys
SCMDIR = ${libdir}/magic/scm
TCLDIR = ${libdir}/magic/tcl
MAIN_EXTRA_LIBS = ${MAGICDIR}/calma/libcalma.o ${MAGICDIR}/cif/libcif.o ${MAGICDIR}/plot/libplot.o ${MAGICDIR}/lef/liblef.o ${MAGICDIR}/extflat/libextflat.o ${MAGICDIR}/garouter/libgarouter.o ${MAGICDIR}/mzrouter/libmzrouter.o ${MAGICDIR}/router/librouter.o ${MAGICDIR}/irouter/libirouter.o ${MAGICDIR}/grouter/libgrouter.o ${MAGICDIR}/gcr/libgcr.o ${MAGICDIR}/tcltk/libtcltk.o
LD_EXTRA_LIBS =
LD_SHARED =
TOP_EXTRA_LIBS =
SUB_EXTRA_LIBS =
MODULES += calma cif plot lef garouter grouter irouter mzrouter router gcr tcltk
UNUSED_MODULES += readline lisp
PROGRAMS += net2ir tcltk
INSTALL_CAD_DIRS += graphics tcltk
PROGRAM_SUFFIX =
RM = rm -f
CP = cp
AR = ar
ARFLAGS = crv
LINK = ld -r
LD = /usr/bin/ld
M4 = /usr/bin/m4
RANLIB = ranlib
SHDLIB_EXT = .so
LDDL_FLAGS = -shared -Wl,-soname,$@ -Wl,--version-script=${MAGICDIR}/magic/symbol.map
LD_RUN_PATH =
LIB_SPECS = -ltk8.3 -ltcl8.3
WISH_EXE = /usr/bin/wish
TCL_LIB_DIR = /usr/lib
CC = gcc
CPP = gcc -E -x c
CXX = g++
CPP_TRADITIONAL = cpp
CPPFLAGS = -I. -I${MAGICDIR}
DFLAGS = -DCAD_DIR=\"${LIBDIR}\" -DBIN_DIR=\"${BINDIR}\" -DTCL_DIR=\"${TCLDIR}\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DMAGIC_VERSION=\"7.4\" -DMAGIC_REVISION=\"43\" -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 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_ROUND=1 -DHAVE_ROUNDF=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DNONMANHATTAN=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DHAVE_LIBGL=1 -DMAGIC_WRAPPER=1 -DTHREE_D=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DNDEBUG -DGCORE=\"/usr/bin/gcore\"
DFLAGS += -DSHDLIB_EXT=\".so\"
CFLAGS = -g -fPIC -I/usr/include/tcl8.3/tk-private/generic -I/usr/include/tcl8.3
READLINE_DEFS =
READLINE_LIBS =
DEPEND_FILE = Depend
DEPEND_FLAG = -MM
EXEEXT =
GR_CFLAGS =
GR_DFLAGS = -DX11 -DXLIB -DOGL -DNDEBUG
GR_LIBS = -lX11 -lGLU -lGL -lXi -lXmu -lXext -lm -lstdc++ -lbsd-compat
GR_SRCS = ${TK_SRCS} ${TOGL_SRCS} ${TKCOMMON_SRCS}
GR_HELPER_SRCS =
GR_HELPER_PROG =
OA =
OA_LIBS =
DEPSRCS = ${SRCS}
OBJS = ${SRCS:.c=.o} ${CXXSRCS:.cpp=.o}
LIB_OBJS = ${LIB_SRCS:.c=.o}
CLEANS = ${OBJS} ${LIB_OBJS} lib${MODULE}.a lib${MODULE}.o ${MODULE}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: install.log
Type: text/x-log
Size: 13343 bytes
Desc: not available
Url : http://vlsi.csl.cornell.edu/pipermail/magic-dev/attachments/20071107/9dad6630/install.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.log
Type: text/x-log
Size: 411964 bytes
Desc: not available
Url : http://vlsi.csl.cornell.edu/pipermail/magic-dev/attachments/20071107/9dad6630/make.bin
More information about the magic-dev
mailing list