omniorb win64 link issue

Naor Yehuda via omniORB-list <[email protected]> Sun, 17 Apr 2022 16:40:50 +0300
Newsgroups gmane.comp.corba.omniorb.user
Message-ID <CAHGx-30QzBXNFCCO6vNKbPJkOChTGzUsJtf4bzkVdjSKWjiKXA@mail.gmail.com>
Hi
I'm trying to build omniorb in win64 environment.

I've installed cygwin64 and Python3.10, and followed the instructions
of readme.win.32.txt.

When trying to run 'make export' command in <top>/src directory
I get linking errors:



idlpython.o : error LNK2019: unresolved external symbol
__imp__PyObject_SetAttrString referenced in function _PyInit__omniidl
idlpython.o : error LNK2019: unresolved external symbol __imp___Py_Dealloc
referenced in function "public: virtual __thiscall
PythonVisitor::~PythonVisitor(void)" (??1PythonVisitor@@UAE@XZ)
idlpython.o : error LNK2019: unresolved external symbol
__imp__PyUnicode_DecodeLatin1 referenced in function _IdlPyPlatformDefines
idlpython.o : error LNK2019: unresolved external symbol
__imp__PyLong_FromLong referenced in function _IdlPyAlwaysTempFile
idlpython.o : error LNK2019: unresolved external symbol
__imp__PyLong_FromUnsignedLong referenced in function "public: virtual void
__thiscall PythonVisitor::visitCaseLabel(class CaseLabel *)"
(?visitCaseLabel@PythonVisitor@@UAEXPAVCaseLabel@@@Z)
idlpython.o : error LNK2019: unresolved external symbol
__imp__PyLong_FromLongLong referenced in function "public: virtual void
__thiscall PythonVisitor::visitCaseLabel(class CaseLabel *)"
(?visitCaseLabel@PythonVisitor@@UAEXPAVCaseLabel@@@Z)
idlpython.o : error LNK2019: unresolved external symbol
__imp__PyLong_FromUnsignedLongLong referenced in function "public: virtual
void __thiscall PythonVisitor::visitCaseLabel(class CaseLabel *)"
(?visitCaseLabel@PythonVisitor@@UAEXPAVCaseLabel@@@Z)
idlpython.o : error LNK2019: unresolved external symbol
__imp__PyFloat_FromDouble referenced in function "public: virtual void
__thiscall PythonVisitor::visitConst(class Const *)"
(?visitConst@PythonVisitor@@UAEXPAVConst@@@Z)
idlpython.o : error LNK2019: unresolved external symbol __imp__PyList_New
referenced in function _IdlPyPlatformDefines
idlpython.o : error LNK2019: unresolved external symbol
__imp__PyList_GetItem referenced in function "public: virtual void
__thiscall PythonVisitor::visitTypedef(class Typedef *)"
(?visitTypedef@PythonVisitor@@UAEXPAVTypedef@@@Z)
idlpython.o : error LNK2019: unresolved external symbol
__imp__PyList_SetItem referenced in function "private: struct _object *
__thiscall PythonVisitor::commentsToList(class Comment const *)"
(?commentsToList@PythonVisitor@@AAEPAU_object@@PBVComment@@@Z)
idlpython.o : error LNK2019: unresolved external symbol
__imp__PyList_Insert referenced in function _IdlPyRelativeScopedName
idlpython.o : error LNK2019: unresolved external symbol
__imp__PyList_Append referenced in function _IdlPyPlatformDefines
idlpython.o : error LNK2019: unresolved external symbol
__imp__PyObject_AsFileDescriptor referenced in function _IdlPyCompile
idlpython.o : error LNK2019: unresolved external symbol
__imp__PyObject_CallMethod referenced in function "private: struct _object
* __thiscall PythonVisitor::commentsToList(class Comment const *)"
(?commentsToList@PythonVisitor@@AAEPAU_object@@PBVComment@@@Z)
idlpython.o : error LNK2019: unresolved external symbol
__imp__PyObject_Size referenced in function _IdlPyRelativeScopedName
idlpython.o : error LNK2019: unresolved external symbol
__imp__PySequence_Check referenced in function _IdlPyRelativeScopedName
idlpython.o : error LNK2019: unresolved external symbol
__imp__PySequence_GetItem referenced in function _IdlPyRelativeScopedName
idlpython.o : error LNK2019: unresolved external symbol
__imp__PyErr_SetString referenced in function _IdlPyCompile
idlpython.o : error LNK2019: unresolved external symbol __imp__PyArg_Parse
referenced in function _IdlPyCompile
idlpython.o : error LNK2019: unresolved external symbol
__imp__PyArg_ParseTuple referenced in function _IdlPyCompile
idlpython.o : error LNK2019: unresolved external symbol
__imp__Py_BuildValue referenced in function "struct _object * __cdecl
PyString_FromChar(unsigned char)" (?PyString_FromChar@@YAPAU_object@@E@Z)
idlpython.o : error LNK2019: unresolved external symbol
__imp__PyModule_Create2 referenced in function _PyInit__omniidl
idlpython.o : error LNK2019: unresolved external symbol __imp__PyErr_Print
referenced in function _IdlPyCompile
idlpython.o : error LNK2019: unresolved external symbol
__imp__PyRun_SimpleStringFlags referenced in function _wmain
idlpython.o : error LNK2019: unresolved external symbol
__imp__PyRun_InteractiveLoopFlags referenced in function
_IdlPyRunInteractiveLoop
idlpython.o : error LNK2019: unresolved external symbol
__imp__Py_Initialize referenced in function _wmain
idlpython.o : error LNK2019: unresolved external symbol
__imp__PySys_SetArgv referenced in function _wmain
idlpython.o : error LNK2019: unresolved external symbol
__imp__PyImport_ImportModule referenced in function _IdlPyCompile
idlpython.o : error LNK2019: unresolved external symbol
__imp__PyImport_AppendInittab referenced in function _wmain
idlpython.o : error LNK2019: unresolved external symbol
__imp___Py_NoneStruct referenced in function _IdlPyCompile
idlpython.o : error LNK2019: unresolved external symbol
__imp__PyExc_TypeError referenced in function _IdlPyRelativeScopedName
idlpython.o : error LNK2019: unresolved external symbol
__imp__PyExc_IOError referenced in function _IdlPyCompile
D:\Python\Python310\libs\python310.lib : warning LNK4272: library machine
type 'x64' conflicts with target machine type 'x86'


Please help.










-- 
Naor Yehuda

RT Embedded SW Engineer

Cell phone: +972-548191108
Linkedin: http://www.linkedin.com/pub/naor-yehuda/3b/582/26a

_______________________________________________
omniORB-list mailing list
[email protected]
https://www.omniorb-support.com/mailman/listinfo/omniorb-list