[Magic-dev] Re: Magic VLSI installing on Ubuntu error

R. Timothy Edwards tim at opencircuitdesign.com
Wed Nov 7 06:59:03 EST 2007


> 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
> ---------------------------------------------------------------------

This should be a simple matter of obtaining libXmu, or just removing
the reference to libXmu from "defs.mak".  It's an extension library
belonging to X11, but I can't really tell you off the top of my head
what subroutines it defines.  Either you can get by without it, or
you will have to install it.

> 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’

This shouldn't be a problem, although it still concerns me that the
"roundf" function is flagged as an implicit declaration, because it
means that "configure" is able to find the roundf() function in the
libm (math) library, but the "math.h" header file doesn't define it.
Probably "math.h" wants something defined like "-DC99", but I can't
tell without looking at the math.h file.  At any rate, the warning
message does not indicate a real error.

					Regards,
					Tim

+--------------------------------+-------------------------------------+
| Dr. R. Timothy Edwards (Tim)   | email: tim at opencircuitdesign.com    |
| Open Circuit Design, Inc.	 | web:   http://opencircuitdesign.com |
| 22815 Timber Creek Lane        | phone: (301) 528-9364               |
| Clarksburg, MD 20871-4001      | cell:  (240) 401-0616               |
+--------------------------------+-------------------------------------+



More information about the magic-dev mailing list