[omniORB] How to compile omniorb in msys (MinGW)

Sampo Ahokas sampo.ahokas at openttcn.fi
Tue Dec 22 14:24:50 GMT 2009


Hey,

I have seen this error myself and if I recall correctly it happens if 
you run configure and then make. That's not the correct way to build 
with msys/mingw; the build system follows the MSVC-style configuration 
where you have to edit a couple of files manually. Please have a look at 
the README.win32.txt, it's all documented there.

A while ago I submitted some minor MinGW-related fixes which Duncan 
kindly checked in, but I think it was post-4.1.4. You might want to grab 
the latest source from SVN or do the tweaks to a couple of Makefiles 
yourself.

Best regards,
Sampo


> Hi
>    Everybody.
>       i cant compile omniorb in msys. i Googled the net but cant find anything .
>                   please anybody help me . i am programming under windows.
>
> i am getting the below errors...
>
>  gcc -o omkdepend -O -L../../../lib -L../../../lib include.o main.o parse.o pr.
> o cppsetup.o ifparser.o
> main.o:main.c:(.text+0x434): undefined reference to `GetMounts'
> main.o:main.c:(.text+0x44e): undefined reference to `GetMounts'
> main.o:main.c:(.text+0x684): undefined reference to `TranslateFileNameU2D'
> main.o:main.c:(.text+0x795): undefined reference to `TranslateFileNameU2D'
> pr.o:pr.c:(.text+0x21): undefined reference to `TranslateFileNameD2U'
> collect2: ld returned 1 exit status
> make[3]: *** [omkdepend] Error 1
> make[3]: Leaving directory `/c/omniORB-4.1.4/src/tool/omkdepend'
> make[2]: *** [export] Error 1
> make[2]: Leaving directory `/c/omniORB-4.1.4/src/tool'
> make[1]: *** [export] Error 1
> make[1]: Leaving directory `/c/omniORB-4.1.4/src'
> make: *** [all] Error 1
>
>
>  Please help me anybody.
>   




More information about the omniORB-list mailing list