[Magic-dev] Compiling error for magic7.3.102

Spaceborne Calin spaceborne_calin at yahoo.com
Wed Sep 21 23:59:39 EDT 2005


Hello

I try to compile magic on my slackware box
I configure magic with the following command:
./configure --prefix=/usr/local/magic --enable-calma --enable-cif
--enable-plot --with-tcl

The error is:
--- compiling database/DBcellsrch.o
DBcellsrch.c: In function `dbTileScaleFunc':
DBcellsrch.c:1512: error: `CIFPaintTable' undeclared (first use in this
function)
DBcellsrch.c:1512: error: (Each undeclared identifier is reported only
once
DBcellsrch.c:1512: error: for each function it appears in.)

If i add -DCIF_MODULE to CFLAGS magic compiles ok.
However, when i run it, i receive the following error:
loading history file ... 1 events added
error in slave eval:
couldn't load file "/usr/local/magic/lib/magic/tcl/tclmagic.so":
/usr/local/magic/lib/magic/tcl/tclmagic.so: undefined symbol:
CIFSolidBits
Main console display active (Tcl8.4.6 / Tk8.4.6)
(tcl) 2 % 


If i configure with:
 ./configure --prefix=/usr/local/magic --enable-calma  --enable-plot
--with-tcl

when i try to run it (with magic -w) it says:
loading history file ... 1 events added
error in slave eval:
couldn't load file "/usr/local/magic/lib/magic/tcl/tclmagic.so":
/usr/local/magic/lib/magic/tcl/tclmagic.so: undefined symbol:
CalmaContactArrays
Main console display active (Tcl8.4.6 / Tk8.4.6)
(tcl) 2 % 

If i configure with:
 ./configure --prefix=/usr/local/magic --enable-plot --with-tcl 
it compiles and runs (almost - but other hot stuff will be sent later)
correctly.

Bye
Calin

P.S. gcc is 3.3.4 


Yahoo! Mail - Votre e-mail personnel et gratuit qui vous suit partout !
 Créez votre Yahoo! Mail sur http://mail.yahoo.fr



More information about the magic-dev mailing list