[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Compiling xcircuit



I am trying to compile the latest version of xcircuit as the version in
the unstable is also a bit dated. I have detailed below the steps I took
for the compilation:

1. ./configure --with-tcl=/usr/lib/tcl8.4 --with-tk=/usr/lib/tk8.4

      Got the Makefile without any errors. config.log too does not have
      any error messages or `missing' lines.

2. make
   
      Compilation is fine, but got into problems at the linking stage.
      The error I get is this:

mas@brahman:~/software/tmp/xcircuit-3.1.10$ make
gcc  -g -O2  -o xcircuit  elements.o events.o filelist.o files.o fontfile.o formats.o functions.o help.o keybindings.o libraries.o menucalls.o netlist.o parameter.o python.o rcfile.o render.o schema.o selection.o text.o tclxcircuit.o tkSimple.o tkPixmap.o xcircuit.o  -L/usr/X11R6/lib -lXt  -lSM -lICE -lm  -lXpm -ltcl8.4 -ltk8.4
/usr/lib/gcc-lib/i386-linux/3.2.3/../../../crt1.o(.text+0x18): In function `_start':
: undefined reference to `main'
events.o(.text+0x255a): In function `keyhandler':
/home/mas/software/tmp/xcircuit-3.1.10/events.c:1642: undefined reference to `xcinterp'
events.o(.text+0x29b2):/home/mas/software/tmp/xcircuit-3.1.10/events.c:1518: undefined reference to `xcinterp'
filelist.o(.text+0x586): In function `findcrashfiles':
/home/mas/software/tmp/xcircuit-3.1.10/filelist.c:267: undefined reference to `xcinterp'
filelist.o(.text+0x598):/home/mas/software/tmp/xcircuit-3.1.10/filelist.c:268: undefined reference to `xcinterp'
filelist.o(.text+0xc2d): In function `newfilelist':
/home/mas/software/tmp/xcircuit-3.1.10/filelist.c:451: undefined reference to `xcinterp'
filelist.o(.text+0xc4e):/home/mas/software/tmp/xcircuit-3.1.10/filelist.c:456: more undefined references to `xcinterp' follow
tclxcircuit.o(.text+0x126): In function `tcl_vprintf':
/home/mas/software/tmp/xcircuit-3.1.10/tclxcircuit.c:160: undefined reference to `consoleinterp'
tclxcircuit.o(.text+0x1ca):/home/mas/software/tmp/xcircuit-3.1.10/tclxcircuit.c:132: undefined reference to `consoleinterp'
tclxcircuit.o(.text+0x1d0):/home/mas/software/tmp/xcircuit-3.1.10/tclxcircuit.c:132: undefined reference to `xcinterp'
tclxcircuit.o(.text+0x1fd):/home/mas/software/tmp/xcircuit-3.1.10/tclxcircuit.c:112: undefined reference to `consoleinterp'
tclxcircuit.o(.text+0x21d):/home/mas/software/tmp/xcircuit-3.1.10/tclxcircuit.c:111: undefined reference to `consoleinterp'
tclxcircuit.o(.text+0x23f): In function `tcl_stdflush':
/home/mas/software/tmp/xcircuit-3.1.10/tclxcircuit.c:177: undefined reference to `xcinterp'
tclxcircuit.o(.text+0x26e):/home/mas/software/tmp/xcircuit-3.1.10/tclxcircuit.c:179: undefined reference to `xcinterp'
tclxcircuit.o(.text+0x27c):/home/mas/software/tmp/xcircuit-3.1.10/tclxcircuit.c:180: undefined reference to `xcinterp'
tclxcircuit.o(.text+0x8e1): In function `TclIndexToRGB':
/home/mas/software/tmp/xcircuit-3.1.10/tclxcircuit.c:431: undefined reference to `xcinterp'
tclxcircuit.o(.text+0x91a):/home/mas/software/tmp/xcircuit-3.1.10/tclxcircuit.c:422: undefined reference to `xcinterp'
tclxcircuit.o(.text+0x93c):/home/mas/software/tmp/xcircuit-3.1.10/tclxcircuit.c:424: more undefined references to `xcinterp' follow
collect2: ld returned 1 exit status
make[1]: *** [xcircuit] Error 1
make[1]: Leaving directory `/home/mas/software/tmp/xcircuit-3.1.10'
make: *** [all-recursive] Error 1


I could not find files xcinterp or consoleinterp. Checked the same at
packages.debian.org with null result. Which package contains those files
allowing me to compile xcircuit?

Regards,

-- 
Sridhar M.A.

It now costs more to amuse a child than it once did to educate his father.



Reply to: