TclOptimizationBuilder.h Debian Lenny

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
pm1236
Posts: 3
Joined: Sat Feb 13, 2010 4:04 pm
Location: Boise State University
Contact:

TclOptimizationBuilder.h Debian Lenny

Post by pm1236 »

Compiling 2.2.1 for first time, problem occurred during step:
LIBRARIES BUILT . . . NOW LINKING OpenSees Program

Looks like TclOptimizationBuilder.h not on Debian tcl 8.5 dev package. Where can I get this? It is included in commands.cpp, line 476 by Quan

Here is where it bombed
==========================
make[1]: Entering directory `/usr/local/src/OpenSees/SRC/tcl'
make[1]: Nothing to be done for `tcl'.
make[1]: Leaving directory `/usr/local/src/OpenSees/SRC/tcl'
make[1]: Entering directory `/usr/local/src/OpenSees/SRC/modelbuilder/tcl'
Makefile:21: warning: overriding commands for target `tcl'
Makefile:13: warning: ignoring old commands for target `tcl'
make[2]: Entering directory `/usr/local/src/OpenSees/SRC/tcl'
make[2]: Nothing to be done for `tcl'.
make[2]: Leaving directory `/usr/local/src/OpenSees/SRC/tcl'
/usr/local/src/OpenSees/SRC/tcl/commands.o: In function `optimization(void*,
Tcl_Interp*, int, char const**)':
commands.cpp:(.text+0x12e79): undefined reference to
`TclOptimizationBuilder::TclOptimizationBuilder(Domain&, Tcl_Interp*)'
collect2: ld returned 1 exit status
make[1]: *** [tcl] Error 1
make[1]: Leaving directory `/usr/local/src/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2
=============================
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

the file is located in SRC/optimization

you need to add the .o to a Makefile .. i have updated in cvs the Makefile in SRC/reliability to do this for now.
Post Reply