[omniORB] omniorb win64 link issue

Naor Yehuda ny3000 at gmail.com
Sun Apr 17 13:40:50 UTC 2022


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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.omniorb-support.com/pipermail/omniorb-list/attachments/20220417/c8fb9d8e/attachment.html>


More information about the omniORB-list mailing list