Menu

#171 Error compiling

unexpected behavior
closed-works-for-me
3
2008-07-28
2008-07-28
No

Whe I try to compile brlcad return

/home/paco/D-BRLCAD/brlcad-7.12.4/src/other/incrTcl/.libs/libitcl.so: undefined reference to `Tcl_RestoreInterpState'
/home/paco/D-BRLCAD/brlcad-7.12.4/src/other/incrTcl/.libs/libitcl.so: undefined reference to `Tcl_DiscardInterpState'
/home/paco/D-BRLCAD/brlcad-7.12.4/src/other/incrTcl/.libs/libitcl.so: undefined reference to `TclVarHashCreateVar'
/home/paco/D-BRLCAD/brlcad-7.12.4/src/other/incrTcl/.libs/libitcl.so: undefined reference to `Tcl_SaveInterpState'
collect2: ld returned 1 exit status
make[2]: *** [btclsh] Error 1
make[2]: Leaving directory `/home/paco/D-BRLCAD/brlcad-7.12.4/src/bwish'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/paco/D-BRLCAD/brlcad-7.12.4/src'
make: *** [all-recursive] Error 1

Discussion

  • Sean Morrison

    Sean Morrison - 2008-07-28
    • milestone: --> unexpected behavior
    • priority: 5 --> 3
    • assigned_to: nobody --> brlcad
    • status: open --> closed-works-for-me
     
  • Sean Morrison

    Sean Morrison - 2008-07-28

    Logged In: YES
    user_id=785737
    Originator: NO

    Paco,

    It looks like you have a default compilation that is trying to compile incrTcl against an incompatible version of Tcl. Try adding the --enable-all flag to configure, run make clean, and then retry your build.

    Cheers!
    Sean

     

Log in to post a comment.