Example1 of Tag 5757

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

Moderators: silvia, selimgunay, Moderators

Post Reply
yangdawei
Posts: 7
Joined: Mon Apr 14, 2014 10:18 pm
Location: harbin institute of technology

Example1 of Tag 5757

Post by yangdawei »

Dear fmk and OpenSees Developers:

Would you please teach me how to compile Example1 in EXAMPLES of Tag 5757. Thank you very much!

My working platform is Debian system and I build succeeded OpenSees when I execute 'make all' in the root path of OpenSees while got errors when compiling Example1. The erros are as followed:

/home/dell/lib/libOpenSees.a(TclBeamColumnJointCommand.o): In function `TclModelBuilder_addBeamColumnJoint(void*, Tcl_Interp*, int, char const**, Domain*, int)':
TclBeamColumnJointCommand.cpp:(.text+0xeef): undefined reference to `Tcl_GetDouble'
TclBeamColumnJointCommand.cpp:(.text+0xf73): undefined reference to `Tcl_GetDouble'
/home/dell/lib/libOpenSees.a(TclElement2dYS.o): In function `TclModelBuilder_addElement2dYS01(void*, Tcl_Interp*, int, char const**, Domain*, TclModelBuilder*)':
TclElement2dYS.cpp:(.text+0x3d): undefined reference to `Tcl_GetInt'
TclElement2dYS.cpp:(.text+0x56): undefined reference to `Tcl_GetInt'
TclElement2dYS.cpp:(.text+0x6f): undefined reference to `Tcl_GetInt'
TclElement2dYS.cpp:(.text+0x8b): undefined reference to `Tcl_GetDouble'
TclElement2dYS.cpp:(.text+0xa4): undefined reference to `Tcl_GetDouble'
TclElement2dYS.cpp:(.text+0xc0): undefined reference to `Tcl_GetDouble'
TclElement2dYS.cpp:(.text+0xd9): undefined reference to `Tcl_GetInt'
TclElement2dYS.cpp:(.text+0xf2): undefined reference to `Tcl_GetInt'
TclElement2dYS.cpp:(.text+0x10b): undefined reference to `Tcl_GetInt'
/home/dell/lib/libOpenSees.a(TclElement2dYS.o): In function `TclModelBuilder_addElement2dYS02(void*, Tcl_Interp*, int, char const**, Domain*, TclModelBuilder*)':
TclElement2dYS.cpp:(.text+0x4f2): undefined reference to `Tcl_GetInt'
TclElement2dYS.cpp:(.text+0x50b): undefined reference to `Tcl_GetInt'
/home/dell/lib/libOpenSees.a(TclElement2dYS.o):TclElement2dYS.cpp:(.text+0x524): more undefined references to `Tcl_GetInt' follow
/home/dell/lib/libOpenSees.a(TclElement2dYS.o): In function `TclModelBuilder_addElement2dYS02(void*, Tcl_Interp*, int, char const**, Domain*, TclModelBuilder*)':
TclElement2dYS.cpp:(.text+0x540): undefined reference to `Tcl_GetDouble'
TclElement2dYS.cpp:(.text+0x55c): undefined reference to `Tcl_GetDouble'
TclElement2dYS.cpp:(.text+0x578): undefined reference to `Tcl_GetDouble'
TclElement2dYS.cpp:(.text+0x591): undefined reference to `Tcl_GetInt'
TclElement2dYS.cpp:(.text+0x5aa): undefined reference to `Tcl_GetInt'
TclElement2dYS.cpp:(.text+0x5c3): undefined reference to `Tcl_GetInt'
TclElement2dYS.cpp:(.text+0x5df): undefined reference to `Tcl_GetDouble'
TclElement2dYS.cpp:(.text+0x5fb): undefined reference to `Tcl_GetDouble'
TclElement2dYS.cpp:(.text+0x617): undefined reference to `Tcl_GetDouble'
/home/dell/lib/libOpenSees.a(TclElement2dYS.o): In function `TclModelBuilder_addElement2dYS03(void*, Tcl_Interp*, int, char const**, Domain*, TclModelBuilder*)':
TclElement2dYS.cpp:(.text+0xaed): undefined reference to `Tcl_GetInt'
TclElement2dYS.cpp:(.text+0xb06): undefined reference to `Tcl_GetInt'
TclElement2dYS.cpp:(.text+0xb1f): undefined reference to `Tcl_GetInt'
TclElement2dYS.cpp:(.text+0xb3b): undefined reference to `Tcl_GetDouble'
TclElement2dYS.cpp:(.text+0xb57): undefined reference to `Tcl_GetDouble'
TclElement2dYS.cpp:(.text+0xb70): undefined reference to `Tcl_GetDouble'
TclElement2dYS.cpp:(.text+0xb8c): undefined reference to `Tcl_GetDouble'
TclElement2dYS.cpp:(.text+0xba8): undefined reference to `Tcl_GetDouble'
TclElement2dYS.cpp:(.text+0xbc1): undefined reference to `Tcl_GetInt'
TclElement2dYS.cpp:(.text+0xbda): undefined reference to `Tcl_GetInt'
TclElement2dYS.cpp:(.text+0xbf3): undefined reference to `Tcl_GetInt'
/home/dell/lib/libOpenSees.a(TclElement2dGNL.o): In function `TclModelBuilder_addElastic2dGNL(void*, Tcl_Interp*, int, char const**, Domain*, TclModelBuilder*)':
TclElement2dGNL.cpp:(.text+0x56): undefined reference to `Tcl_GetInt'
TclElement2dGNL.cpp:(.text+0xa4): undefined reference to `Tcl_GetInt'
/home/dell/lib/libOpenSees.a(TclElement2dGNL.o):TclElement2dGNL.cpp:(.text+0xbd): more undefined references to `Tcl_GetInt' follow
/home/dell/lib/libOpenSees.a(TclElement2dGNL.o): In function `TclModelBuilder_addElastic2dGNL(void*, Tcl_Interp*, int, char const**, Domain*, TclModelBuilder*)':
TclElement2dGNL.cpp:(.text+0xd6): undefined reference to `Tcl_GetDouble'
TclElement2dGNL.cpp:(.text+0xef): undefined reference to `Tcl_GetDouble'
TclElement2dGNL.cpp:(.text+0x108): undefined reference to `Tcl_GetDouble'
TclElement2dGNL.cpp:(.text+0x377): undefined reference to `Tcl_GetInt'
/home/dell/lib/libOpenSees.a(TclForceBeamColumnCommand.o): In function `TclModelBuilder_addForceBeamColumn(void*, Tcl_Interp*, int, char const**, Domain*, TclModelBuilder*)':
TclForceBeamColumnCommand.cpp:(.text+0x107): undefined reference to `Tcl_Merge'
TclForceBeamColumnCommand.cpp:(.text+0x159): undefined reference to `Tcl_SplitList'
TclForceBeamColumnCommand.cpp:(.text+0x169): undefined reference to `Tcl_Free'
TclForceBeamColumnCommand.cpp:(.text+0x190): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x1b4): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x1d8): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x37e): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x3fb): undefined reference to `Tcl_GetInt'
/home/dell/lib/libOpenSees.a(TclForceBeamColumnCommand.o):TclForceBeamColumnCommand.cpp:(.text+0x4e0): more undefined references to `Tcl_GetInt' follow
/home/dell/lib/libOpenSees.a(TclForceBeamColumnCommand.o): In function `TclModelBuilder_addForceBeamColumn(void*, Tcl_Interp*, int, char const**, Domain*, TclModelBuilder*)':
TclForceBeamColumnCommand.cpp:(.text+0xae3): undefined reference to `Tcl_GetDouble'
TclForceBeamColumnCommand.cpp:(.text+0xb4a): undefined reference to `Tcl_GetDouble'
TclForceBeamColumnCommand.cpp:(.text+0xfeb): undefined reference to `Tcl_Free'
TclForceBeamColumnCommand.cpp:(.text+0x12d7): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x12fb): undefined reference to `Tcl_GetDouble'
TclForceBeamColumnCommand.cpp:(.text+0x131f): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x1343): undefined reference to `Tcl_GetDouble'
TclForceBeamColumnCommand.cpp:(.text+0x1367): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x149b): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x1538): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x1562): undefined reference to `Tcl_GetDouble'
TclForceBeamColumnCommand.cpp:(.text+0x15e3): undefined reference to `Tcl_GetDouble'
TclForceBeamColumnCommand.cpp:(.text+0x1f73): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x2095): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x20b9): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x20dd): undefined reference to `Tcl_GetDouble'
TclForceBeamColumnCommand.cpp:(.text+0x2101): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x2125): undefined reference to `Tcl_GetDouble'
TclForceBeamColumnCommand.cpp:(.text+0x2149): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x21fe): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x233e): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x241f): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x2450): undefined reference to `Tcl_GetDouble'
TclForceBeamColumnCommand.cpp:(.text+0x2482): undefined reference to `Tcl_GetDouble'
TclForceBeamColumnCommand.cpp:(.text+0x269d): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x26c1): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x270a): undefined reference to `Tcl_GetDouble'
TclForceBeamColumnCommand.cpp:(.text+0x2753): undefined reference to `Tcl_GetDouble'
TclForceBeamColumnCommand.cpp:(.text+0x2777): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x27c0): undefined reference to `Tcl_GetDouble'
TclForceBeamColumnCommand.cpp:(.text+0x2809): undefined reference to `Tcl_GetDouble'
TclForceBeamColumnCommand.cpp:(.text+0x2852): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x2c8c): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x2d10): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x2d41): undefined reference to `Tcl_GetDouble'
TclForceBeamColumnCommand.cpp:(.text+0x2eb7): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x2f63): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x2fa6): undefined reference to `Tcl_GetDouble'
TclForceBeamColumnCommand.cpp:(.text+0x30aa): undefined reference to `Tcl_GetDouble'
TclForceBeamColumnCommand.cpp:(.text+0x3104): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x3188): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x31b9): undefined reference to `Tcl_GetDouble'
TclForceBeamColumnCommand.cpp:(.text+0x3734): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x37d5): undefined reference to `Tcl_GetDouble'
TclForceBeamColumnCommand.cpp:(.text+0x3807): undefined reference to `Tcl_GetDouble'
TclForceBeamColumnCommand.cpp:(.text+0x38ab): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x3baa): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x3be9): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x3da7): undefined reference to `Tcl_GetInt'
TclForceBeamColumnCommand.cpp:(.text+0x3dd8): undefined reference to `Tcl_GetDouble'
TclForceBeamColumnCommand.cpp:(.text+0x3e0a): undefined reference to `Tcl_GetDouble'
/home/dell/lib/libOpenSees.a(TclZeroLength.o): In function `TclModelBuilder_addZeroLength(void*, Tcl_Interp*, int, char const**, Domain*, TclModelBuilder*)':
TclZeroLength.cpp:(.text+0x54): undefined reference to `Tcl_GetInt'
TclZeroLength.cpp:(.text+0x6d): undefined reference to `Tcl_GetInt'
TclZeroLength.cpp:(.text+0x86): undefined reference to `Tcl_GetInt'
TclZeroLength.cpp:(.text+0x137): undefined reference to `Tcl_GetInt'
TclZeroLength.cpp:(.text+0x4a1): undefined reference to `Tcl_GetInt'
TclZeroLength.cpp:(.text+0x619): undefined reference to `Tcl_GetDouble'
TclZeroLength.cpp:(.text+0x666): undefined reference to `Tcl_GetDouble'
TclZeroLength.cpp:(.text+0x6b4): undefined reference to `Tcl_GetDouble'
TclZeroLength.cpp:(.text+0x706): undefined reference to `Tcl_GetDouble'
TclZeroLength.cpp:(.text+0x757): undefined reference to `Tcl_GetDouble'
/home/dell/lib/libOpenSees.a(TclZeroLength.o):TclZeroLength.cpp:(.text+0x7a3): more undefined references to `Tcl_GetDouble' follow
/home/dell/lib/libOpenSees.a(TclZeroLength.o): In function `TclModelBuilder_addZeroLength(void*, Tcl_Interp*, int, char const**, Domain*, TclModelBuilder*)':
TclZeroLength.cpp:(.text+0x928): undefined reference to `Tcl_GetInt'
/home/dell/lib/libOpenSees.a(TclZeroLength.o): In function `TclModelBuilder_addZeroLengthSection(void*, Tcl_Interp*, int, char const**, Domain*, TclModelBuilder*)':
TclZeroLength.cpp:(.text+0xaf9): undefined reference to `Tcl_GetInt'
TclZeroLength.cpp:(.text+0xb12): undefined reference to `Tcl_GetInt'
TclZeroLength.cpp:(.text+0xb2b): undefined reference to `Tcl_GetInt'
TclZeroLength.cpp:(.text+0xb44): undefined reference to `Tcl_GetInt'
TclZeroLength.cpp:(.text+0xc1c): undefined reference to `Tcl_GetDouble'
TclZeroLength.cpp:(.text+0xc67): undefined reference to `Tcl_GetDouble'
TclZeroLength.cpp:(.text+0xcb3): undefined reference to `Tcl_GetDouble'
TclZeroLength.cpp:(.text+0xcff): undefined reference to `Tcl_GetDouble'
TclZeroLength.cpp:(.text+0xd4a): undefined reference to `Tcl_GetDouble'
/home/dell/lib/libOpenSees.a(TclZeroLength.o):TclZeroLength.cpp:(.text+0xd96): more undefined references to `Tcl_GetDouble' follow
/home/dell/lib/libOpenSees.a(TclZeroLength.o): In function `TclModelBuilder_addZeroLengthSection(void*, Tcl_Interp*, int, char const**, Domain*, TclModelBuilder*)':
TclZeroLength.cpp:(.text+0x1048): undefined reference to `Tcl_GetInt'
/home/dell/lib/libOpenSees.a(TclZeroLength.o): In function `TclModelBuilder_addZeroLengthContact2D(void*, Tcl_Interp*, int, char const**, Domain*, TclModelBuilder*)':
TclZeroLength.cpp:(.text+0x11c6): undefined reference to `Tcl_GetInt'
TclZeroLength.cpp:(.text+0x11df): undefined reference to `Tcl_GetInt'
TclZeroLength.cpp:(.text+0x11f8): undefined reference to `Tcl_GetInt'
TclZeroLength.cpp:(.text+0x1211): undefined reference to `Tcl_GetDouble'
TclZeroLength.cpp:(.text+0x122a): undefined reference to `Tcl_GetDouble'
TclZeroLength.cpp:(.text+0x1243): undefined reference to `Tcl_GetDouble'
TclZeroLength.cpp:(.text+0x1284): undefined reference to `Tcl_GetDouble'
TclZeroLength.cpp:(.text+0x12c1): undefined reference to `Tcl_GetDouble'
/home/dell/lib/libOpenSees.a(TclZeroLength.o): In function `TclModelBuilder_addZeroLengthContact3D(void*, Tcl_Interp*, int, char const**, Domain*, TclModelBuilder*)':
TclZeroLength.cpp:(.text+0x15c4): undefined reference to `Tcl_GetInt'
TclZeroLength.cpp:(.text+0x15dd): undefined reference to `Tcl_GetInt'
TclZeroLength.cpp:(.text+0x15f6): undefined reference to `Tcl_GetInt'
TclZeroLength.cpp:(.text+0x160f): undefined reference to `Tcl_GetDouble'
TclZeroLength.cpp:(.text+0x1628): undefined reference to `Tcl_GetDouble'
TclZeroLength.cpp:(.text+0x1641): undefined reference to `Tcl_GetDouble'
TclZeroLength.cpp:(.text+0x165a): undefined reference to `Tcl_GetDouble'
TclZeroLength.cpp:(.text+0x1673): undefined reference to `Tcl_GetInt'
TclZeroLength.cpp:(.text+0x1933): undefined reference to `Tcl_GetDouble'
TclZeroLength.cpp:(.text+0x194b): undefined reference to `Tcl_GetDouble'
/home/dell/lib/libOpenSees.a(TclZeroLength.o): In function `TclModelBuilder_addZeroLengthND(void*, Tcl_Interp*, int, char const**, Domain*, TclModelBuilder*)':
TclZeroLength.cpp:(.text+0x1a06): undefined reference to `Tcl_GetInt'
TclZeroLength.cpp:(.text+0x1a1f): undefined reference to `Tcl_GetInt'
TclZeroLength.cpp:(.text+0x1a38): undefined reference to `Tcl_GetInt'
TclZeroLength.cpp:(.text+0x1a51): undefined reference to `Tcl_GetInt'
TclZeroLength.cpp:(.text+0x1b5e): undefined reference to `Tcl_GetDouble'
TclZeroLength.cpp:(.text+0x1bae): undefined reference to `Tcl_GetDouble'
TclZeroLength.cpp:(.text+0x1bff): undefined reference to `Tcl_GetDouble'
TclZeroLength.cpp:(.text+0x1c50): undefined reference to `Tcl_GetDouble'
TclZeroLength.cpp:(.text+0x1ca0): undefined reference to `Tcl_GetDouble'
/home/dell/lib/libOpenSees.a(TclZeroLength.o):TclZeroLength.cpp:(.text+0x1cf1): more undefined references to `Tcl_GetDouble' follow
/home/dell/lib/libOpenSees.a(TclZeroLength.o): In function `TclModelBuilder_addZeroLengthND(void*, Tcl_Interp*, int, char const**, Domain*, TclModelBuilder*)':
TclZeroLength.cpp:(.text+0x1fb7): undefined reference to `Tcl_GetInt'
/home/dell/lib/libOpenSees.a(TclZeroLength.o): In function `TclModelBuilder_addZeroLengthRocking(void*, Tcl_Interp*, int, char const**, Domain*, TclModelBuilder*)':
TclZeroLength.cpp:(.text+0x21d3): undefined reference to `Tcl_GetInt'
TclZeroLength.cpp:(.text+0x21ec): undefined reference to `Tcl_GetInt'
TclZeroLength.cpp:(.text+0x2205): undefined reference to `Tcl_GetInt'
TclZeroLength.cpp:(.text+0x224b): undefined reference to `Tcl_GetDouble'
TclZeroLength.cpp:(.text+0x2264): undefined reference to `Tcl_GetDouble'
TclZeroLength.cpp:(.text+0x227d): undefined reference to `Tcl_GetDouble'
TclZeroLength.cpp:(.text+0x2299): undefined reference to `Tcl_GetDouble'
TclZeroLength.cpp:(.text+0x2387): undefined reference to `Tcl_GetDouble'
/home/dell/lib/libOpenSees.a(TclZeroLength.o):TclZeroLength.cpp:(.text+0x23d0): more undefined references to `Tcl_GetDouble' follow
/home/dell/lib/libOpenSees.a(TclFourNodeQuadUPCommand.o): In function `TclModelBuilder_addFourNodeQuadUP(void*, Tcl_Interp*, int, char const**, Domain*, TclModelBuilder*)':
TclFourNodeQuadUPCommand.cpp:(.text+0xd8): undefined reference to `Tcl_GetInt'
TclFourNodeQuadUPCommand.cpp:(.text+0xf1): undefined reference to `Tcl_GetInt'
TclFourNodeQuadUPCommand.cpp:(.text+0x10a): undefined reference to `Tcl_GetInt'
TclFourNodeQuadUPCommand.cpp:(.text+0x123): undefined reference to `Tcl_GetInt'
TclFourNodeQuadUPCommand.cpp:(.text+0x13c): undefined reference to `Tcl_GetInt'
TclFourNodeQuadUPCommand.cpp:(.text+0x155): undefined reference to `Tcl_GetDouble'
TclFourNodeQuadUPCommand.cpp:(.text+0x16e): undefined reference to `Tcl_GetInt'
TclFourNodeQuadUPCommand.cpp:(.text+0x18a): undefined reference to `Tcl_GetDouble'
TclFourNodeQuadUPCommand.cpp:(.text+0x1a6): undefined reference to `Tcl_GetDouble'
TclFourNodeQuadUPCommand.cpp:(.text+0x1c2): undefined reference to `Tcl_GetDouble'
TclFourNodeQuadUPCommand.cpp:(.text+0x1de): undefined reference to `Tcl_GetDouble'
TclFourNodeQuadUPCommand.cpp:(.text+0x525): undefined reference to `Tcl_GetDouble'
/home/dell/lib/libOpenSees.a(TclFourNodeQuadUPCommand.o):TclFourNodeQuadUPCommand.cpp:(.text+0x54b): more undefined references to `Tcl_GetDouble' follow
/home/dell/lib/libOpenSees.a(TclFourNodeQuadUPCommand.o): In function `TclModelBuilder_addBrickUP(void*, Tcl_Interp*, int, char const**, Domain*, TclModelBuilder*)':
TclFourNodeQuadUPCommand.cpp:(.text+0x72f): undefined reference to `Tcl_GetInt'
TclFourNodeQuadUPCommand.cpp:(.text+0x74b): undefined reference to `Tcl_GetInt'
TclFourNodeQuadUPCommand.cpp:(.text+0x767): undefined reference to `Tcl_GetInt'
TclFourNodeQuadUPCommand.cpp:(.text+0x783): undefined reference to `Tcl_GetInt'
TclFourNodeQuadUPCommand.cpp:(.text+0x79f): undefined reference to `Tcl_GetInt'
/home/dell/lib/libOpenSees.a(TclFourNodeQuadUPCommand.o):TclFourNodeQuadUPCommand.cpp:(.text+0x7bb): more undefined references to `Tcl_GetInt' follow
/home/dell/lib/libOpenSees.a(TclFourNodeQuadUPCommand.o): In function `TclModelBuilder_addBrickUP(void*, Tcl_Interp*, int, char const**, Domain*, TclModelBuilder*)':
TclFourNodeQuadUPCommand.cpp:(.text+0x841): undefined reference to `Tcl_GetDouble'
TclFourNodeQuadUPCommand.cpp:(.text+0x85a): undefined reference to `Tcl_GetDouble'
TclFourNodeQuadUPCommand.cpp:(.text+0x873): undefined reference to `Tcl_GetDouble'
TclFourNodeQuadUPCommand.cpp:(.text+0x88c): undefined reference to `Tcl_GetDouble'
TclFourNodeQuadUPCommand.cpp:(.text+0x8a8): undefined reference to `Tcl_GetDouble'
/home/dell/lib/libOpenSees.a(TclFourNodeQuadUPCommand.o):TclFourNodeQuadUPCommand.cpp:(.text+0xbd8): more undefined references to `Tcl_GetDouble' follow
/home/dell/lib/libOpenSees.a(TclFourNodeQuadUPCommand.o): In function `TclModelBuilder_addNineFourNodeQuadUP(void*, Tcl_Interp*, int, char const**, Domain*, TclModelBuilder*)':
TclFourNodeQuadUPCommand.cpp:(.text+0xd75): undefined reference to `Tcl_GetInt'
TclFourNodeQuadUPCommand.cpp:(.text+0xd91): undefined reference to `Tcl_GetInt'
TclFourNodeQuadUPCommand.cpp:(.text+0xdad): undefined reference to `Tcl_GetInt'
TclFourNodeQuadUPCommand.cpp:(.text+0xdc9): undefined reference to `Tcl_GetInt'
TclFourNodeQuadUPCommand.cpp:(.text+0xde5): undefined reference to `Tcl_GetInt'
/home/dell/lib/libOpenSees.a(TclFourNodeQuadUPCommand.o):TclFourNodeQuadUPCommand.cpp:(.text+0xe01): more undefined references to `Tcl_GetInt' follow
/home/dell/lib/libOpenSees.a(TclFourNodeQuadUPCommand.o): In function `TclModelBuilder_addNineFourNodeQuadUP(void*, Tcl_Interp*, int, char const**, Domain*, TclModelBuilder*)':
TclFourNodeQuadUPCommand.cpp:(.text+0xe8a): undefined reference to `Tcl_GetDouble'
TclFourNodeQuadUPCommand.cpp:(.text+0xea3): undefined reference to `Tcl_GetInt'
TclFourNodeQuadUPCommand.cpp:(.text+0xebc): undefined reference to `Tcl_GetDouble'
TclFourNodeQuadUPCommand.cpp:(.text+0xed5): undefined reference to `Tcl_GetDouble'
TclFourNodeQuadUPCommand.cpp:(.text+0xef1): undefined reference to `Tcl_GetDouble'
TclFourNodeQuadUPCommand.cpp:(.text+0xf0d): undefined reference to `Tcl_GetDouble'
TclFourNodeQuadUPCommand.cpp:(.text+0x12fb): undefined reference to `Tcl_GetDouble'
/home/dell/lib/libOpenSees.a(TclFourNodeQuadUPCommand.o):TclFourNodeQuadUPCommand.cpp:(.text+0x1324): more undefined references to `Tcl_GetDouble' follow
/home/dell/lib/libOpenSees.a(TclFourNodeQuadUPCommand.o): In function `TclModelBuilder_addTwentyEightNodeBrickUP(void*, Tcl_Interp*, int, char const**, Domain*, TclModelBuilder*)':
TclFourNodeQuadUPCommand.cpp:(.text+0x14ce): undefined reference to `Tcl_GetInt'
TclFourNodeQuadUPCommand.cpp:(.text+0x14f4): undefined reference to `Tcl_GetInt'
TclFourNodeQuadUPCommand.cpp:(.text+0x151d): undefined reference to `Tcl_GetInt'
TclFourNodeQuadUPCommand.cpp:(.text+0x153c): undefined reference to `Tcl_GetDouble'
TclFourNodeQuadUPCommand.cpp:(.text+0x155b): undefined reference to `Tcl_GetDouble'
TclFourNodeQuadUPCommand.cpp:(.text+0x157a): undefined reference to `Tcl_GetDouble'
TclFourNodeQuadUPCommand.cpp:(.text+0x1599): undefined reference to `Tcl_GetDouble'
TclFourNodeQuadUPCommand.cpp:(.text+0x15b8): undefined reference to `Tcl_GetDouble'
/home/dell/lib/libOpenSees.a(TclFourNodeQuadUPCommand.o):TclFourNodeQuadUPCommand.cpp:(.text+0x19ef): more undefined references to `Tcl_GetDouble' follow
/home/dell/lib/libOpenSees.a(TclFourNodeQuadUPCommand.o): In function `TclModelBuilder_addBBarFourNodeQuadUP(void*, Tcl_Interp*, int, char const**, Domain*, TclModelBuilder*)':
TclFourNodeQuadUPCommand.cpp:(.text+0x1bf8): undefined reference to `Tcl_GetInt'
TclFourNodeQuadUPCommand.cpp:(.text+0x1c11): undefined reference to `Tcl_GetInt'
TclFourNodeQuadUPCommand.cpp:(.text+0x1c2a): undefined reference to `Tcl_GetInt'
TclFourNodeQuadUPCommand.cpp:(.text+0x1c43): undefined reference to `Tcl_GetInt'
TclFourNodeQuadUPCommand.cpp:(.text+0x1c5c): undefined reference to `Tcl_GetInt'
TclFourNodeQuadUPCommand.cpp:(.text+0x1c75): undefined reference to `Tcl_GetDouble'
TclFourNodeQuadUPCommand.cpp:(.text+0x1c8e): undefined reference to `Tcl_GetInt'
TclFourNodeQuadUPCommand.cpp:(.text+0x1caa): undefined reference to `Tcl_GetDouble'
TclFourNodeQuadUPCommand.cpp:(.text+0x1cc6): undefined reference to `Tcl_GetDouble'
TclFourNodeQuadUPCommand.cpp:(.text+0x1ce2): undefined reference to `Tcl_GetDouble'
TclFourNodeQuadUPCommand.cpp:(.text+0x1cfe): undefined reference to `Tcl_GetDouble'
TclFourNodeQuadUPCommand.cpp:(.text+0x2045): undefined reference to `Tcl_GetDouble'
/home/dell/lib/libOpenSees.a(TclFourNodeQuadUPCommand.o):TclFourNodeQuadUPCommand.cpp:(.text+0x206b): more undefined references to `Tcl_GetDouble' follow
/home/dell/lib/libOpenSees.a(TclFourNodeQuadUPCommand.o): In function `TclModelBuilder_addBBarBrickUP(void*, Tcl_Interp*, int, char const**, Domain*, TclModelBuilder*)':
TclFourNodeQuadUPCommand.cpp:(.text+0x223f): undefined reference to `Tcl_GetInt'
TclFourNodeQuadUPCommand.cpp:(.text+0x225b): undefined reference to `Tcl_GetInt'
TclFourNodeQuadUPCommand.cpp:(.text+0x2277): undefined reference to `Tcl_GetInt'
TclFourNodeQuadUPCommand.cpp:(.text+0x2293): undefined reference to `Tcl_GetInt'
TclFourNodeQuadUPCommand.cpp:(.text+0x22af): undefined reference to `Tcl_GetInt'
/home/dell/lib/libOpenSees.a(TclFourNodeQuadUPCommand.o):TclFourNodeQuadUPCommand.cpp:(.text+0x22cb): more undefined references to `Tcl_GetInt' follow
/home/dell/lib/libOpenSees.a(TclFourNodeQuadUPCommand.o): In function `TclModelBuilder_addBBarBrickUP(void*, Tcl_Interp*, int, char const**, Domain*, TclModelBuilder*)':
TclFourNodeQuadUPCommand.cpp:(.text+0x2351): undefined reference to `Tcl_GetDouble'
TclFourNodeQuadUPCommand.cpp:(.text+0x236a): undefined reference to `Tcl_GetDouble'
TclFourNodeQuadUPCommand.cpp:(.text+0x2383): undefined reference to `Tcl_GetDouble'
TclFourNodeQuadUPCommand.cpp:(.text+0x239c): undefined reference to `Tcl_GetDouble'
TclFourNodeQuadUPCommand.cpp:(.text+0x23b8): undefined reference to `Tcl_GetDouble'
/home/dell/lib/libOpenSees.a(TclFourNodeQuadUPCommand.o):TclFourNodeQuadUPCommand.cpp:(.text+0x26e8): more undefined references to `Tcl_GetDouble' follow
/home/dell/lib/libOpenSees.a(TclDrainMaterialCommand.o): In function `TclModelBuilder_addDrainMaterial(void*, Tcl_Interp*, int, char const**)':
TclDrainMaterialCommand.cpp:(.text+0x30): undefined reference to `Tcl_GetInt'
TclDrainMaterialCommand.cpp:(.text+0x6c): undefined reference to `Tcl_GetDouble'
TclDrainMaterialCommand.cpp:(.text+0x85): undefined reference to `Tcl_GetDouble'
TclDrainMaterialCommand.cpp:(.text+0x9e): undefined reference to `Tcl_GetDouble'
TclDrainMaterialCommand.cpp:(.text+0xb7): undefined reference to `Tcl_GetDouble'
TclDrainMaterialCommand.cpp:(.text+0x1a9): undefined reference to `Tcl_GetDouble'
/home/dell/lib/libOpenSees.a(TclDrainMaterialCommand.o):TclDrainMaterialCommand.cpp:(.text+0x1e4): more undefined references to `Tcl_GetDouble' follow
/home/dell/lib/libOpenSees.a(TclSnapMaterialCommand.o): In function `TclModelBuilder_addSnapMaterial(void*, Tcl_Interp*, int, char const**)':
TclSnapMaterialCommand.cpp:(.text+0xb0): undefined reference to `Tcl_GetInt'
TclSnapMaterialCommand.cpp:(.text+0xfe): undefined reference to `Tcl_GetDouble'
TclSnapMaterialCommand.cpp:(.text+0x13b): undefined reference to `Tcl_GetDouble'
TclSnapMaterialCommand.cpp:(.text+0x179): undefined reference to `Tcl_GetDouble'
TclSnapMaterialCommand.cpp:(.text+0x1b7): undefined reference to `Tcl_GetDouble'
TclSnapMaterialCommand.cpp:(.text+0x1f5): undefined reference to `Tcl_GetDouble'
/home/dell/lib/libOpenSees.a(TclSnapMaterialCommand.o):TclSnapMaterialCommand.cpp:(.text+0x233): more undefined references to `Tcl_GetDouble' follow
/home/dell/lib/libOpenSees.a(TclReinforcingSteel.o): In function `TclCommand_ReinforcingSteel(void*, Tcl_Interp*, int, char const**)':
TclReinforcingSteel.cpp:(.text+0x103): undefined reference to `Tcl_GetInt'
TclReinforcingSteel.cpp:(.text+0x11c): undefined reference to `Tcl_GetDouble'
TclReinforcingSteel.cpp:(.text+0x138): undefined reference to `Tcl_GetDouble'
TclReinforcingSteel.cpp:(.text+0x154): undefined reference to `Tcl_GetDouble'
TclReinforcingSteel.cpp:(.text+0x170): undefined reference to `Tcl_GetDouble'
TclReinforcingSteel.cpp:(.text+0x18c): undefined reference to `Tcl_GetDouble'
/home/dell/lib/libOpenSees.a(TclReinforcingSteel.o):TclReinforcingSteel.cpp:(.text+0x1a8): more undefined references to `Tcl_GetDouble' follow
/home/dell/lib/libOpenSees.a(KikuchiAikenHDR.o): In function `TclCommand_KikuchiAikenHDR(void*, Tcl_Interp*, int, char const**)':
KikuchiAikenHDR.cpp:(.text+0x5736): undefined reference to `Tcl_GetInt'
KikuchiAikenHDR.cpp:(.text+0x5778): undefined reference to `Tcl_GetDouble'
KikuchiAikenHDR.cpp:(.text+0x57a9): undefined reference to `Tcl_GetDouble'
KikuchiAikenHDR.cpp:(.text+0x5823): undefined reference to `Tcl_GetDouble'
KikuchiAikenHDR.cpp:(.text+0x58b9): undefined reference to `Tcl_GetDouble'
KikuchiAikenHDR.cpp:(.text+0x59de): undefined reference to `Tcl_GetDouble'
/home/dell/lib/libOpenSees.a(KikuchiAikenHDR.o):KikuchiAikenHDR.cpp:(.text+0x5a1a): more undefined references to `Tcl_GetDouble' follow
/home/dell/lib/libOpenSees.a(KikuchiAikenLRB.o): In function `TclCommand_KikuchiAikenLRB(void*, Tcl_Interp*, int, char const**)':
KikuchiAikenLRB.cpp:(.text+0x5fa6): undefined reference to `Tcl_GetInt'
KikuchiAikenLRB.cpp:(.text+0x5fbf): undefined reference to `Tcl_GetInt'
KikuchiAikenLRB.cpp:(.text+0x5fd8): undefined reference to `Tcl_GetDouble'
KikuchiAikenLRB.cpp:(.text+0x601a): undefined reference to `Tcl_GetDouble'
KikuchiAikenLRB.cpp:(.text+0x6055): undefined reference to `Tcl_GetDouble'
KikuchiAikenLRB.cpp:(.text+0x6093): undefined reference to `Tcl_GetDouble'
KikuchiAikenLRB.cpp:(.text+0x60d4): undefined reference to `Tcl_GetDouble'
/home/dell/lib/libOpenSees.a(KikuchiAikenLRB.o):KikuchiAikenLRB.cpp:(.text+0x6115): more undefined references to `Tcl_GetDouble' follow
/home/dell/lib/libOpenSees.a(AxialSpHD.o): In function `TclCommand_AxialSpHD(void*, Tcl_Interp*, int, char const**)':
AxialSpHD.cpp:(.text+0x37d2): undefined reference to `Tcl_GetInt'
AxialSpHD.cpp:(.text+0x37eb): undefined reference to `Tcl_GetDouble'
AxialSpHD.cpp:(.text+0x3804): undefined reference to `Tcl_GetDouble'
AxialSpHD.cpp:(.text+0x381d): undefined reference to `Tcl_GetDouble'
AxialSpHD.cpp:(.text+0x3a55): undefined reference to `Tcl_GetDouble'
AxialSpHD.cpp:(.text+0x3a78): undefined reference to `Tcl_GetDouble'
/home/dell/lib/libOpenSees.a(AxialSpHD.o):AxialSpHD.cpp:(.text+0x3a9b): more undefined references to `Tcl_GetDouble' follow
/home/dell/lib/libOpenSees.a(AxialSp.o): In function `TclCommand_AxialSp(void*, Tcl_Interp*, int, char const**)':
AxialSp.cpp:(.text+0x22a7): undefined reference to `Tcl_GetInt'
AxialSp.cpp:(.text+0x22c0): undefined reference to `Tcl_GetDouble'
AxialSp.cpp:(.text+0x22d9): undefined reference to `Tcl_GetDouble'
AxialSp.cpp:(.text+0x22f2): undefined reference to `Tcl_GetDouble'
AxialSp.cpp:(.text+0x24e5): undefined reference to `Tcl_GetDouble'
AxialSp.cpp:(.text+0x2508): undefined reference to `Tcl_GetDouble'
/home/dell/lib/libOpenSees.a(AxialSp.o):AxialSp.cpp:(.text+0x252b): more undefined references to `Tcl_GetDouble' follow
/home/dell/lib/libOpenSees.a(TclHyperbolicGapMaterial.o): In function `TclCommand_HyperbolicGapMaterial(void*, Tcl_Interp*, int, char const**)':
TclHyperbolicGapMaterial.cpp:(.text+0x23): undefined reference to `Tcl_GetInt'
TclHyperbolicGapMaterial.cpp:(.text+0x3c): undefined reference to `Tcl_GetDouble'
TclHyperbolicGapMaterial.cpp:(.text+0x55): undefined reference to `Tcl_GetDouble'
TclHyperbolicGapMaterial.cpp:(.text+0x6e): undefined reference to `Tcl_GetDouble'
TclHyperbolicGapMaterial.cpp:(.text+0x87): undefined reference to `Tcl_GetDouble'
TclHyperbolicGapMaterial.cpp:(.text+0xa0): undefined reference to `Tcl_GetDouble'
/home/dell/lib/libOpenSees.a(TclFeapMaterialCommand.o): In function `TclModelBuilder_addFeapMaterial(void*, Tcl_Interp*, int, char const**, TclModelBuilder*)':
TclFeapMaterialCommand.cpp:(.text+0x28): undefined reference to `Tcl_GetInt'
TclFeapMaterialCommand.cpp:(.text+0x64): undefined reference to `Tcl_GetDouble'
TclFeapMaterialCommand.cpp:(.text+0x7d): undefined reference to `Tcl_GetDouble'
TclFeapMaterialCommand.cpp:(.text+0x129): undefined reference to `Tcl_GetDouble'
TclFeapMaterialCommand.cpp:(.text+0x142): undefined reference to `Tcl_GetDouble'
TclFeapMaterialCommand.cpp:(.text+0x15b): undefined reference to `Tcl_GetDouble'
/home/dell/lib/libOpenSees.a(TclFeapMaterialCommand.o):TclFeapMaterialCommand.cpp:(.text+0x174): more undefined references to `Tcl_GetDouble' follow
collect2: error: ld returned 1 exit status
make: *** [example1] Error 1
yangdawei
Posts: 7
Joined: Mon Apr 14, 2014 10:18 pm
Location: harbin institute of technology

Re: Example1 of Tag 5757

Post by yangdawei »

Dear Francis Mckenna:

The reason of forward listed error is lack of tcl library path information in Makefile. I modified makeifle in /EXAMPLES/Example1 as followed:

$(FE_LIBRARY) $(MACHINE_LINKLIBS) $(TCL_LIBRARY) \

instead of primitive format:

$(FE_LIBRARY) $(MACHINE_LINKLIBS) \

After this modification, the errors disappeared. But there are new errors arise, they are listed below:

/home/lib/libOpenSees.a(elementAPI_TCL.o): In function `ops_getfedatastore_()':
elementAPI_TCL.cpp:(.text+0x16a3): undefined reference to `theDatabase'
/home/lib/libOpenSees.a(elementAPI_TCL.o): In function `ops_getinterppwd_':
elementAPI_TCL.cpp:(.text+0x16b8): undefined reference to `getInterpPWD(Tcl_Interp*)'
/home/lib/libOpenSees.a(TclPatternCommand.o): In function `TclPatternCommand(void*, Tcl_Interp*, int, char const**, Domain*)':
TclPatternCommand.cpp:(.text+0x13e8): undefined reference to `getInterpPWD(Tcl_Interp*)'
TclPatternCommand.cpp:(.text+0x13f5): undefined reference to `simulationInfo'
/home/lib/libOpenSees.a(TclSeriesCommand.o): In function `TclTimeSeriesCommand(void*, Tcl_Interp*, int, char const**, Domain*)':
TclSeriesCommand.cpp:(.text+0x94a): undefined reference to `getInterpPWD(Tcl_Interp*)'
TclSeriesCommand.cpp:(.text+0x957): undefined reference to `simulationInfo'
TclSeriesCommand.cpp:(.text+0x974): undefined reference to `simulationInfo'
TclSeriesCommand.cpp:(.text+0x9c5): undefined reference to `getInterpPWD(Tcl_Interp*)'
TclSeriesCommand.cpp:(.text+0x9cf): undefined reference to `simulationInfo'
TclSeriesCommand.cpp:(.text+0xbc1): undefined reference to `getInterpPWD(Tcl_Interp*)'
TclSeriesCommand.cpp:(.text+0xbcb): undefined reference to `simulationInfo'
collect2: error: ld returned 1 exit status
Post Reply