[omniORB] omniOrb with VC9 for x64

Stefan Walter stefan.walter at lisec-sw.com
Wed Feb 6 19:49:04 GMT 2008


Dear Duncan,

thanks for your response.

Yes it failed in file: \src\lib\omniORB\orbcore\tcp\tcpTransportImpl.cc
line: 626

IN6_IS_ADDR_LINKLOCAL is not available in VC9.

about x64 compiling. My idea is to create 64 bit executeables because we 
dont want to run 32bit executeables on a 64 bit machine. As far as i 
know, you cant link a mix of 32 and 64bit objects and librarys. And as 
example Python is 32bit.

i set the environment to 64bit: with "vcvars.bat amd64"
------------------------------------
Set Environment to x64
Setting environment for using Microsoft Visual Studio 2008 Beta2 x64 
cross tools.
------------------------------------

here is now a shorten output of the linker problem:

make[4]: Leaving directory 
`g:/Porting/modules/omniORB-4.1.1-x64/src/tool/omniidl/cxx/cccp'
+ rm -f omniidl.exe
+ ../../../../bin/x64_win32/linkwrapper -gnuwin32 -out:omniidl.exe 
-nologo -DEBUG -libpath:g:/porting/omniorb-4.1.1/libs 
-libpath:g:/porting/omniorb-4.1.1/lib/x
86_win32 -libpath:g:/porting/omniorb-4.1.1/PCbuild -PDB:omniidl.exe.pdb 
-libpath:../../../../lib/x64_win32 y.tab.o lex.yy.o idlerr.o idlutil.o 
idltype.o idlrepo
Id.o idlscope.o idlexpr.o idlast.o idlvalidate.o idldump.o idlconfig.o 
idlfixed.o idlpython.o python15.lib
link -out:omniidl.exe -nologo -DEBUG 
-libpath:g:\porting\omniorb-4.1.1\libs 
-libpath:g:\porting\omniorb-4.1.1\lib\x86_win32 
-libpath:g:\porting\omniorb-4.1.1\PC
build -PDB:omniidl.exe.pdb -libpath:..\..\..\..\lib\x64_win32 y.tab.o 
lex.yy.o idlerr.o idlutil.o idltype.o idlrepoId.o idlscope.o idlexpr.o 
idlast.o idlvalidat
e.o idldump.o idlconfig.o idlfixed.o idlpython.o python15.lib
   Creating library omniidl.lib and object omniidl.exp
idlpython.o : error LNK2019: unresolved external symbol 
__imp_PyNumber_Negative referenced in function "struct _object * __cdecl 
MyPyLong_FromLongLong(__int64)"
 (?MyPyLong_FromLongLong@@YAPEAU_object@@_J at Z)
idlpython.o : error LNK2019: unresolved external symbol 
__imp_PyLong_FromUnsignedLongLong referenced in function "struct _object 
* __cdecl MyPyLong_FromLongLong
(__int64)" (?MyPyLong_FromLongLong@@YAPEAU_object@@_J at Z)
idlpython.o : error LNK2019: unresolved external symbol 
__imp_PyLong_FromLongLong referenced in function "struct _object * 
__cdecl MyPyLong_FromLongLong(__int64
)" (?MyPyLong_FromLongLong@@YAPEAU_object@@_J at Z)
idlpython.o : error LNK2019: unresolved external symbol 
__imp_PyErr_Print referenced in function "public: __cdecl 
PythonVisitor::PythonVisitor(void)" (??0Python
Visitor@@QEAA at XZ)

Cheers Stefan


Duncan Grisby schrieb:
> On Wednesday 6 February, Stefan Walter wrote:
>
>   
>> I just finished compiling omniOrb 4.1.1 with VC9 (VS 2008) in 32bit
>> mode. This just worked because i deactivated IPV6 support.
>>     
>
> Did it fail if you kept IPv6 support in?  If so, in what way?  It should
> work.
>
>   
>> is there any way to compile omniOrb for x64 (Windows 2003 Server)?
>>     
>
> It should work fine if you do exactly the same as for 32 bit Windows --
> use the x86_win32 platform, even though strictly speaking it's win64.
>
> Cheers,
>
> Duncan.
>
>   

-- 
Stefan Walter

Lisec Software - Middle East
P.O.Box 54290
Dubai - U.A.E

Office: +971/4/2994596
Mobile: +971/50/4689689
E-Mail: stefan.walter at lisec-sw.com




More information about the omniORB-list mailing list