Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cygwin fails to link cygtruthvalue.dll #782

Closed
chris-hawley opened this issue May 13, 2016 · 3 comments
Closed

Cygwin fails to link cygtruthvalue.dll #782

chris-hawley opened this issue May 13, 2016 · 3 comments

Comments

@chris-hawley
Copy link

[ 5%] Linking CXX shared library cygtruthvalue.dll
lto1: warning: -fPIC ignored for target (all code is position independent)
lto1: warning: -fPIC ignored for target (all code is position independent)
lto1: warning: -fPIC ignored for target (all code is position independent)
lto1: warning: -fPIC ignored for target (all code is position independent)
lto1: warning: -fPIC ignored for target (all code is position independent)
lto1: warning: -fPIC ignored for target (all code is position independent)
lto1: warning: -fPIC ignored for target (all code is position independent)
Cannot export ZNSt12__shared_ptrIN7opencog14NullTruthValueELN9__gnu_cxx12_Lock_policyE2EEC2ISaIS1_EIEEESt19_Sp_make_shared_tagRKT_DpOT0: symbol wrong type (4 vs 3)
Cannot export ZNSt12__shared_ptrIN7opencog15CountTruthValueELN9__gnu_cxx12_Lock_policyE2EEC2ISaIS1_EIRKS1_EEESt19_Sp_make_shared_tagRKT_DpOT0: symbol wrong type (4 vs 3)
Cannot export ZNSt12__shared_ptrIN7opencog15CountTruthValueELN9__gnu_cxx12_Lock_policyE2EEC2ISaIS1_EIRfS7_RdEEESt19_Sp_make_shared_tagRKT_DpOT0: symbol wrong type (4 vs 3)
Cannot export ZNSt12__shared_ptrIN7opencog15FuzzyTruthValueELN9__gnu_cxx12_Lock_policyE2EEC2ISaIS1_EIRKS1_EEESt19_Sp_make_shared_tagRKT_DpOT0: symbol wrong type (4 vs 3)
Cannot export ZNSt12__shared_ptrIN7opencog16SimpleTruthValueELN9__gnu_cxx12_Lock_policyE2EEC2ISaIS1_EIRKS1_EEESt19_Sp_make_shared_tagRKT_DpOT0: symbol wrong type (4 vs 3)
Cannot export ZNSt12__shared_ptrIN7opencog16SimpleTruthValueELN9__gnu_cxx12_Lock_policyE2EEC2ISaIS1_EIRKffEEESt19_Sp_make_shared_tagRKT_DpOT0: symbol wrong type (4 vs 3)
Cannot export ZNSt12__shared_ptrIN7opencog16SimpleTruthValueELN9__gnu_cxx12_Lock_policyE2EEC2ISaIS1_EIRdRfEEESt19_Sp_make_shared_tagRKT_DpOT0: symbol wrong type (4 vs 3)
Cannot export ZNSt12__shared_ptrIN7opencog16SimpleTruthValueELN9__gnu_cxx12_Lock_policyE2EEC2ISaIS1_EIddEEESt19_Sp_make_shared_tagRKT_DpOT0: symbol wrong type (4 vs 3)
Cannot export ZNSt12__shared_ptrIN7opencog16SimpleTruthValueELN9__gnu_cxx12_Lock_policyE2EEC2ISaIS1_EIffEEESt19_Sp_make_shared_tagRKT_DpOT0: symbol wrong type (4 vs 3)
Cannot export ZNSt12__shared_ptrIN7opencog17GenericTruthValueELN9__gnu_cxx12_Lock_policyE2EEC2ISaIS1_EIRKS1_EEESt19_Sp_make_shared_tagRKT_DpOT0: symbol wrong type (4 vs 3)
Cannot export ZNSt12__shared_ptrIN7opencog17GenericTruthValueELN9__gnu_cxx12_Lock_policyE2EEC2ISaIS1_EIRdS7_S7_RfS7_S7_EEESt19_Sp_make_shared_tagRKT_DpOT0: symbol wrong type (4 vs 3)
Cannot export ZNSt12__shared_ptrIN7opencog20IndefiniteTruthValueELN9__gnu_cxx12_Lock_policyE2EEC2ISaIS1_EIRKS1_EEESt19_Sp_make_shared_tagRKT_DpOT0: symbol wrong type (4 vs 3)
Cannot export ZNSt12__shared_ptrIN7opencog23ProbabilisticTruthValueELN9__gnu_cxx12_Lock_policyE2EEC2ISaIS1_EIRKS1_EEESt19_Sp_make_shared_tagRKT_DpOT0: symbol wrong type (4 vs 3)
Cannot export ZNSt12__shared_ptrIN7opencog23ProbabilisticTruthValueELN9__gnu_cxx12_Lock_policyE2EEC2ISaIS1_EIRfS7_RdEEESt19_Sp_make_shared_tagRKT_DpOT0: symbol wrong type (4 vs 3)
Cannot export ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC1IN7opencog14NullTruthValueESaIS5_EIEEESt19_Sp_make_shared_tagPT_RKT0_DpOT1: symbol wrong type (4 vs 3)
Cannot export ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC1IN7opencog15CountTruthValueESaIS5_EIRKS5_EEESt19_Sp_make_shared_tagPT_RKT0_DpOT1: symbol wrong type (4 vs 3)
Cannot export ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC1IN7opencog15CountTruthValueESaIS5_EIRfS7_RdEEESt19_Sp_make_shared_tagPT_RKT0_DpOT1: symbol wrong type (4 vs 3)
Cannot export ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC1IN7opencog15FuzzyTruthValueESaIS5_EIRKS5_EEESt19_Sp_make_shared_tagPT_RKT0_DpOT1: symbol wrong type (4 vs 3)
Cannot export ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC1IN7opencog16SimpleTruthValueESaIS5_EIRKS5_EEESt19_Sp_make_shared_tagPT_RKT0_DpOT1: symbol wrong type (4 vs 3)
Cannot export ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC1IN7opencog16SimpleTruthValueESaIS5_EIRKffEEESt19_Sp_make_shared_tagPT_RKT0_DpOT1: symbol wrong type (4 vs 3)
Cannot export ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC1IN7opencog16SimpleTruthValueESaIS5_EIRdRfEEESt19_Sp_make_shared_tagPT_RKT0_DpOT1: symbol wrong type (4 vs 3)
Cannot export ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC1IN7opencog16SimpleTruthValueESaIS5_EIddEEESt19_Sp_make_shared_tagPT_RKT0_DpOT1: symbol wrong type (4 vs 3)
Cannot export ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC1IN7opencog16SimpleTruthValueESaIS5_EIffEEESt19_Sp_make_shared_tagPT_RKT0_DpOT1: symbol wrong type (4 vs 3)
Cannot export ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC1IN7opencog17GenericTruthValueESaIS5_EIRKS5_EEESt19_Sp_make_shared_tagPT_RKT0_DpOT1: symbol wrong type (4 vs 3)
Cannot export ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC1IN7opencog17GenericTruthValueESaIS5_EIRdS7_S7_RfS7_S7_EEESt19_Sp_make_shared_tagPT_RKT0_DpOT1: symbol wrong type (4 vs 3)
Cannot export ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC1IN7opencog20IndefiniteTruthValueESaIS5_EIRKS5_EEESt19_Sp_make_shared_tagPT_RKT0_DpOT1: symbol wrong type (4 vs 3)
Cannot export ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC1IN7opencog23ProbabilisticTruthValueESaIS5_EIRKS5_EEESt19_Sp_make_shared_tagPT_RKT0_DpOT1: symbol wrong type (4 vs 3)
Cannot export ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC1IN7opencog23ProbabilisticTruthValueESaIS5_EIRfS7_RdEEESt19_Sp_make_shared_tagPT_RKT0_DpOT1: symbol wrong type (4 vs 3)
collect2: error: ld returned 1 exit status
opencog/truthvalue/CMakeFiles/truthvalue.dir/build.make:303: recipe for target 'opencog/truthvalue/cygtruthvalue.dll' failed
make[2]: *** [opencog/truthvalue/cygtruthvalue.dll] Error 1
CMakeFiles/Makefile2:1529: recipe for target 'opencog/truthvalue/CMakeFiles/truthvalue.dir/all' failed
make[1]: *** [opencog/truthvalue/CMakeFiles/truthvalue.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2

@chris-hawley
Copy link
Author

any thoughts?

@linas
Copy link
Member

linas commented Jun 28, 2016

@linas
Copy link
Member

linas commented Jun 28, 2016

Seems to be covered by the umbrella bug #781 and really opencog/cogutil#32 so closing as a duplicate of those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants