new problems after using CVS to download the repository

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

Moderators: silvia, selimgunay, Moderators

Post Reply
GunAndRose
Posts: 44
Joined: Wed Oct 26, 2005 2:23 pm
Location: San Francisco, CA

new problems after using CVS to download the repository

Post by GunAndRose » Fri Feb 02, 2007 1:53 pm

I got two versions of OpenSees codes: 1) download directory from OpenSees website and 2) using "cvs checkout OpenSees".

When I compiled the 1st version codes, 26 linking errors popped up. They are listed at the end.

After copying the file "Cname.h(ver1.1 with 5k length obtained from the 1st version codes, not the 8k length one--ver2.0 obtained from the 2nd version codes in folder ..\OTHER\superLU_3.0\SRC)" from ..\OTHER\CBLAS to ..\OTHER\superLU_3.0\SRC, however, the compiling results for 1st version codes look good, zero errors.

It looks like that the 1st version codes download directly from opensees website can use the Cnames.h version 1.1 (5k length), not the version 2.0 (8k length). For the latter one used, there were 2 linking errors saying that tcl83.lib not found. The reason for the failure seems to be version2.0 used tcl83.lib instead of tcl84.lib. This is even more confusing.

What is the major reason for the compiling difference?

The 26 linking errors (for 2nd version of codes)are:

Error 966 error LNK2019: unresolved external symbol "public: __thiscall SingleDomParamIter::SingleDomParamIter(class TaggedObjectStorage *)" (??0SingleDomParamIter@@QAE@PAVTaggedObjectStorage@@@Z) referenced in function "public: __thiscall Domain::Domain(void)" (??0Domain@@QAE@XZ) domain.lib

Error 967 error LNK2019: unresolved external symbol _errno referenced in function _FileOpen.1 libIEPCF90.lib
Error 968 error LNK2001: unresolved external symbol _errno libIEPCF90.lib

Error 969 error LNK2019: unresolved external symbol "public: __thiscall LimitStateFunctionIter::LimitStateFunctionIter(class TaggedObjectStorage *)" (??0LimitStateFunctionIter@@QAE@PAVTaggedObjectStorage@@@Z) referenced in function "public: __thiscall ReliabilityDomain::ReliabilityDomain(void)" (??0ReliabilityDomain@@QAE@XZ) reliability.lib

Error 970 error LNK2019: unresolved external symbol "public: __thiscall ParameterPositionerIter::ParameterPositionerIter(class TaggedObjectStorage *)" (??0ParameterPositionerIter@@QAE@PAVTaggedObjectStorage@@@Z) referenced in function "public: __thiscall ReliabilityDomain::ReliabilityDomain(void)" (??0ReliabilityDomain@@QAE@XZ) reliability.lib

Error 971 error LNK2019: unresolved external symbol "public: __thiscall RandomVariablePositionerIter::RandomVariablePositionerIter(class TaggedObjectStorage *)" (??0RandomVariablePositionerIter@@QAE@PAVTaggedObjectStorage@@@Z) referenced in function "public: __thiscall ReliabilityDomain::ReliabilityDomain(void)" (??0ReliabilityDomain@@QAE@XZ) reliability.lib

Error 972 error LNK2019: unresolved external symbol "public: __thiscall RandomVariableIter::RandomVariableIter(class TaggedObjectStorage *)" (??0RandomVariableIter@@QAE@PAVTaggedObjectStorage@@@Z) referenced in function "public: __thiscall ReliabilityDomain::ReliabilityDomain(void)" (??0ReliabilityDomain@@QAE@XZ) reliability.lib

Error 973 fatal error LNK1120: 6 unresolved externals .\..\..\bin/quickMain.exe

Error 974 error LNK2019: unresolved external symbol "public: __thiscall LimitStateFunctionIter::LimitStateFunctionIter(class TaggedObjectStorage *)" (??0LimitStateFunctionIter@@QAE@PAVTaggedObjectStorage@@@Z) referenced in function "public: __thiscall ReliabilityDomain::ReliabilityDomain(void)" (??0ReliabilityDomain@@QAE@XZ) reliability.lib

Error 975 error LNK2019: unresolved external symbol "public: __thiscall ParameterPositionerIter::ParameterPositionerIter(class TaggedObjectStorage *)" (??0ParameterPositionerIter@@QAE@PAVTaggedObjectStorage@@@Z) referenced in function "public: __thiscall ReliabilityDomain::ReliabilityDomain(void)" (??0ReliabilityDomain@@QAE@XZ) reliability.lib

Error 976 error LNK2019: unresolved external symbol "public: __thiscall RandomVariablePositionerIter::RandomVariablePositionerIter(class TaggedObjectStorage *)" (??0RandomVariablePositionerIter@@QAE@PAVTaggedObjectStorage@@@Z) referenced in function "public: __thiscall ReliabilityDomain::ReliabilityDomain(void)" (??0ReliabilityDomain@@QAE@XZ) reliability.lib

Error 977 error LNK2019: unresolved external symbol "public: __thiscall RandomVariableIter::RandomVariableIter(class TaggedObjectStorage *)" (??0RandomVariableIter@@QAE@PAVTaggedObjectStorage@@@Z) referenced in function "public: __thiscall ReliabilityDomain::ReliabilityDomain(void)" (??0ReliabilityDomain@@QAE@XZ) reliability.lib

Error 978 error LNK2019: unresolved external symbol "public: __thiscall SingleDomParamIter::SingleDomParamIter(class TaggedObjectStorage *)" (??0SingleDomParamIter@@QAE@PAVTaggedObjectStorage@@@Z) referenced in function "public: __thiscall Domain::Domain(void)" (??0Domain@@QAE@XZ) domain.lib

Error 979 error LNK2019: unresolved external symbol "int __cdecl httpGet(char const *,char const *,unsigned int,char * *)" (?httpGet@@YAHPBD0IPAPAD@Z) referenced in function "public: __thiscall PeerMotion::PeerMotion(char const *,char const *,char const *,double)" (??0PeerMotion@@QAE@PBD00N@Z) domain.lib

Error 980 error LNK2019: unresolved external symbol "public: __thiscall ElasticShearSection3d::ElasticShearSection3d(int,double,double,double,double,double,double,double)" (??0ElasticShearSection3d@@QAE@HNNNNNNN@Z) referenced in function "int __cdecl TclModelBuilderSectionCommand(void *,struct Tcl_Interp *,int,char const * *,class TclModelBuilder *)" (?TclModelBuilderSectionCommand@@YAHPAXPAUTcl_Interp@@HPAPBDPAVTclModelBuilder@@@Z) material.lib

Error 981 error LNK2019: unresolved external symbol "public: __thiscall ElasticShearSection2d::ElasticShearSection2d(int,double,double,double,double,double)" (??0ElasticShearSection2d@@QAE@HNNNNN@Z) referenced in function "int __cdecl TclModelBuilderSectionCommand(void *,struct Tcl_Interp *,int,char const * *,class TclModelBuilder *)" (?TclModelBuilderSectionCommand@@YAHPAXPAUTcl_Interp@@HPAPBDPAVTclModelBuilder@@@Z) material.lib

Error 982 fatal error LNK1120: 8 unresolved externals .\..\..\bin/openSees.exe

Error 986 error LNK2019: unresolved external symbol "public: __thiscall LimitStateFunctionIter::LimitStateFunctionIter(class TaggedObjectStorage *)" (??0LimitStateFunctionIter@@QAE@PAVTaggedObjectStorage@@@Z) referenced in function "public: __thiscall ReliabilityDomain::ReliabilityDomain(void)" (??0ReliabilityDomain@@QAE@XZ) reliability.lib

Error 987 error LNK2019: unresolved external symbol "public: __thiscall ParameterPositionerIter::ParameterPositionerIter(class TaggedObjectStorage *)" (??0ParameterPositionerIter@@QAE@PAVTaggedObjectStorage@@@Z) referenced in function "public: __thiscall ReliabilityDomain::ReliabilityDomain(void)" (??0ReliabilityDomain@@QAE@XZ) reliability.lib

Error 988 error LNK2019: unresolved external symbol "public: __thiscall RandomVariablePositionerIter::RandomVariablePositionerIter(class TaggedObjectStorage *)" (??0RandomVariablePositionerIter@@QAE@PAVTaggedObjectStorage@@@Z) referenced in function "public: __thiscall ReliabilityDomain::ReliabilityDomain(void)" (??0ReliabilityDomain@@QAE@XZ) reliability.lib

Error 989 error LNK2019: unresolved external symbol "public: __thiscall RandomVariableIter::RandomVariableIter(class TaggedObjectStorage *)" (??0RandomVariableIter@@QAE@PAVTaggedObjectStorage@@@Z) referenced in function "public: __thiscall ReliabilityDomain::ReliabilityDomain(void)" (??0ReliabilityDomain@@QAE@XZ) reliability.lib

Error 990 error LNK2019: unresolved external symbol "public: __thiscall SingleDomParamIter::SingleDomParamIter(class TaggedObjectStorage *)" (??0SingleDomParamIter@@QAE@PAVTaggedObjectStorage@@@Z) referenced in function "public: __thiscall Domain::Domain(void)" (??0Domain@@QAE@XZ) domain.lib

Error 991 error LNK2019: unresolved external symbol "int __cdecl httpGet(char const *,char const *,unsigned int,char * *)" (?httpGet@@YAHPBD0IPAPAD@Z) referenced in function "public: __thiscall PeerMotion::PeerMotion(char const *,char const *,char const *,double)" (??0PeerMotion@@QAE@PBD00N@Z) domain.lib

Error 992 error LNK2019: unresolved external symbol "public: __thiscall ElasticShearSection3d::ElasticShearSection3d(int,double,double,double,double,double,double,double)" (??0ElasticShearSection3d@@QAE@HNNNNNNN@Z) referenced in function "int __cdecl TclModelBuilderSectionCommand(void *,struct Tcl_Interp *,int,char const * *,class TclModelBuilder *)" (?TclModelBuilderSectionCommand@@YAHPAXPAUTcl_Interp@@HPAPBDPAVTclModelBuilder@@@Z) material.lib

Error 993 error LNK2019: unresolved external symbol "public: __thiscall ElasticShearSection2d::ElasticShearSection2d(int,double,double,double,double,double)" (??0ElasticShearSection2d@@QAE@HNNNNN@Z) referenced in function "int __cdecl TclModelBuilderSectionCommand(void *,struct Tcl_Interp *,int,char const * *,class TclModelBuilder *)" (?TclModelBuilderSectionCommand@@YAHPAXPAUTcl_Interp@@HPAPBDPAVTclModelBuilder@@@Z) material.lib

Error 994 fatal error LNK1120: 8 unresolved externals .\..\..\bin/openSeesTk.exe
Stan
Graduate Student
Texas A&M University
College Station, TX

fmk
Site Admin
Posts: 5883
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk » Mon Feb 05, 2007 1:52 pm

you cannot mix the two .. the projects in the .zip are set up to work with the files in that .zip .. if you update one with cvs you need to update the other directory ..
i suggest you start from scratch a use cvs co as i outlined in response to your other message.

Post Reply