Discussion:
[omniORB] MinGW omniORB install
Nicholas Wong
2006-06-30 21:56:57 UTC
Permalink
Hey everyone,

I'm trying to get omniORB installed on my WindowsXP box using MinGW. I have installed MSYS and MinGW and Eclipse is running great using those tools. I have Python24 installed on my machine as well with no problems.


I tried to follow this guide to compile omniORB.
http://www.cmiss.org/cmgui/mozcmgui/OmniORB

And I get the following errors:

make[3]: Entering directory `/d/workspaces/Tools/omniORB-4.0.6/src/tool/omkdepen
d'
gcc -c -O -DDEBUG -I. -I. -I../../../include -I../../../include -D__OSVERSION__
=0 -D__x86__ -o include.o include.c
gcc -c -O -DDEBUG -I. -I. -I../../../include -I../../../include -D__OSVERSION__
=0 -D__x86__ -o main.o main.c
gcc -c -O -DDEBUG -I. -I. -I../../../include -I../../../include -D__OSVERSION__
=0 -D__x86__ -o parse.o parse.c
gcc -c -O -DDEBUG -I. -I. -I../../../include -I../../../include -D__OSVERSION__
=0 -D__x86__ -o pr.o pr.c
pr.c: In function `pr':
pr.c:102: warning: initialization makes pointer from integer without a cast
gcc -c -O -DDEBUG -I. -I. -I../../../include -I../../../include -D__OSVERSION__
=0 -D__x86__ -o cppsetup.o cppsetup.c
gcc -c -O -DDEBUG -I. -I. -I../../../include -I../../../include -D__OSVERSION__
=0 -D__x86__ -o ifparser.o ifparser.c
+ rm -f omkdepend
+ gcc -o omkdepend -O -L../../../lib -L../../../lib include.o main.o parse.o pr.
o cppsetup.o ifparser.o
main.o(.text+0xa0):main.c: undefined reference to `GetMounts'
main.o(.text+0xb5):main.c: undefined reference to `GetMounts'
main.o(.text+0x2c2):main.c: undefined reference to `TranslateFileNameU2D'
main.o(.text+0x3bb):main.c: undefined reference to `TranslateFileNameU2D'
pr.o(.text+0x1aa):pr.c: undefined reference to `TranslateFileNameD2U'
collect2: ld returned 1 exit status
make[3]: *** [omkdepend] Error 1


After looking at the c file it seems like the #ifdef Win32 statements are calling functions that aren't in MinGW.

What can be done?

Thanks!

Nicholas Wong
Duncan Grisby
2006-07-04 20:49:22 UTC
Permalink
Post by Nicholas Wong
I'm trying to get omniORB installed on my WindowsXP box using MinGW. I
have installed MSYS and MinGW and Eclipse is running great using those
tools. I have Python24 installed on my machine as well with no
problems.
I tried to follow this guide to compile omniORB.
http://www.cmiss.org/cmgui/mozcmgui/OmniORB
make[3]: Entering directory `/d/workspaces/Tools/omniORB-4.0.6/src/tool/omkdepend'
It will probably work to simply prevent it from building omkdepend in
the src/tool/dir.mk makefile. It is only building it because it thinks
you are using a Unix platform rather than Windows.

Cheers,

Duncan.
--
-- Duncan Grisby --
-- ***@grisby.org --
-- http://www.grisby.org --
Loading...