Menu

#3 Tclspice "make tcl" error

open
nobody
None
5
2004-04-13
2004-04-13
Anonymous
No

I ran "make tcl" and got the following error message.

It seems there are some problems with the tclspice.c

I am not sure if this is a bug or I done something
different.

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src/include -
I../src/spicelib/devices -g -O2 -Wall -
I/usr/local/include -c -fpic tclspice.c -
DTCLSPICE_version="\"0.2.15\""
tclspice.c: In function `_run':
tclspice.c:422: `sighandler_t' undeclared (first use in
this function)
tclspice.c:422: (Each undeclared identifier is reported
only once
tclspice.c:422: for each function it appears in.)
tclspice.c:422: parse error before `oldHandler'
tclspice.c:435: `oldHandler' undeclared (first use in this
function)
tclspice.c:425: warning: variable `fl_bg' might be
clobbered by `longjmp' or `vfork'
tclspice.c:419: warning: argument `argc' might be
clobbered by `longjmp' or `vfork'
tclspice.c:419: warning: argument `argv' might be
clobbered by `longjmp' or `vfork'
tclspice.c: In function `Spice_Init':
tclspice.c:1454: `sighandler_t' undeclared (first use in
this function)
tclspice.c:1454: parse error before `old_sigint'
tclspice.c:1483: `old_sigint' undeclared (first use in this
function)
make[2]: *** [tclspice.o] Error 1
make[2]: Leaving directory
`/stratus/eda_data/apps/Berkeley_Spice/tclspice/src'
make[1]: *** [tcl-recursive] Error 2
make[1]: Leaving directory
`/stratus/eda_data/apps/Berkeley_Spice/tclspice/src'
make: *** [tcl] Error 2

Discussion

  • Svenn Are Bjerkem

    Logged In: YES
    user_id=918049

    Hmm, I just compiled the tclspice 0.2.25 on my debian
    unstable/testing without any problems. Maybe you could add
    some more info on what distribution you use?

    I guess you run ./configure first? Some software packages out
    there happen to have a slight problem with finding the tcl
    headers. Maybe you could tell something more on the switches
    you give to ./configure?

     
  • Nobody/Anonymous

    Logged In: NO

    Thanks for your prompt response.

    I am using tclspice-0.2.15.tar.gz to compile on solaris 2.7 and
    the configure command is

    ./configure --with-tcl --enable-experimental --enable-xspice -
    -prefix=/stratus/eda_data/misc1/local

    Not sure if the tclspice version is the problem!! I got the
    latest version from

    http://sourceforge.net/projects/tclspice

    If you can point me to the tclspice 0.2.25, that may solve the
    problem.

    Thanks.

     
  • Nobody/Anonymous

    Logged In: NO

    Thanks for your prompt response.

    I am using tclspice-0.2.15.tar.gz to compile on solaris 2.7 and
    the configure command is

    ./configure --with-tcl --enable-experimental --enable-xspice -
    -prefix=/stratus/eda_data/misc1/local

    Not sure if the tclspice version is the problem!! I got the
    latest version from

    http://sourceforge.net/projects/tclspice

    If you can point me to the tclspice 0.2.25, that may solve the
    problem.

    Thanks.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.