Discussion:
[omniORB] How to compile omniorb in msys (MinGW)
sankar bose
2009-12-22 01:56:47 UTC
Permalink
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.


with regards...............
Sampo Ahokas
2009-12-22 18:25:26 UTC
Permalink
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
Post by sankar bose
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.
sankar bose
2009-12-24 02:09:55 UTC
Permalink
Hi
Sampo Thanks for your replay.
i have followed the procedure in readme.win32.txt.
things are better now . i will ask you a simple
question please help me.
i cant configure python path . i have python in c:\Python26
and i have this line
in x86.win32.mingw.mk file and commented the first line ....

PYTHON =/c/Python26/

but still it says python.h not found. can you please
tell me how to configure
python properly . thanks in advance.


with regards....................
Sampo Ahokas
2009-12-28 14:22:11 UTC
Permalink
Hi,

I've only used the "minimal python distribution" which is available from
the omniORB sourceforge page. It works out of the box after applying the
patch included in omniORB/patches.

I don't have the standard python distribution installed so I cannot
check, but in this case you probably just need to add some subdirectory
to the path (/c/Python26/python?). You could first locate your python.h
and then make sure that the now failing command has the correct path set.

Best regards,
Sampo
Post by sankar bose
Hi
Sampo Thanks for your replay.
i have followed the procedure in readme.win32.txt.
things are better now . i will ask you a simple
question please help me.
i cant configure python path . i have python in c:\Python26
and i have this line
in x86.win32.mingw.mk file and commented the first line ....
PYTHON =/c/Python26/
but still it says python.h not found. can you please
tell me how to configure
python properly . thanks in advance.
Luke Deller
2009-12-24 03:45:45 UTC
Permalink
Hi Sankar,

Newer versions of cygwin will need
PYTHON = /cygdrive/c/Python26

Regards,
Luke


----- Original Message -----
From: omniorb-list-***@omniorb-support.com <omniorb-list-***@omniorb-support.com>
To: omniorb-list <omniorb-***@omniorb-support.com>
Sent: Thu Dec 24 07:09:22 2009
Subject: [omniORB] Re: How to compile omniorb in msys (MinGW)

Hi
Sampo Thanks for your replay.
i have followed the procedure in readme.win32.txt.
things are better now . i will ask you a simple
question please help me.
i cant configure python path . i have python in c:\Python26
and i have this line
in x86.win32.mingw.mk file and commented the first line ....

PYTHON =/c/Python26/

but still it says python.h not found. can you please
tell me how to configure
python properly . thanks in advance.


with regards....................

_______________________________________________
omniORB-list mailing list
omniORB-***@omniorb-support.com
http://www.omniorb-support.com/mailman/listinfo/omniorb-list
**********************************************************************************************
Important Note
This email (including any attachments) contains information which is confidential and may be subject to legal privilege. If you are not the intended recipient you must not use, distribute or copy this email. If you have received this email in error please notify the
sender immediately and delete this email. Any views expressed in this email are not necessarily the views of IRESS Market Technology Limited.

It is the duty of the recipient to virus scan and otherwise test the information provided before loading onto any computer system.
IRESS Market Technology Limited does not warrant that the information is free of a virus or any other defect or error.
**********************************************************************************************
sankar bose
2009-12-24 04:08:47 UTC
Permalink
i am using msys what should i do then .
Thanks for your quick replay.

with regards.........
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20091224/cd0bc015/attachment.htm
Duncan Grisby
2009-12-24 14:41:51 UTC
Permalink
Post by sankar bose
i cant compile omniorb in msys. i Googled the net but cant find anything .
please anybody help me . i am programming under windows.
Try with the latest svn version, either with an svn checkout of
branches/4_1 or with this snapshot of svn:

http://omniorb.sourceforge.net/snapshots/omniORB-4.1-latest.tar.gz

Or you could try applying these patches to 4.1.4:

http://www.omniorb-support.com/pipermail/omniorb-list/2009-August/030241.html

I've not tried any of these things myself...

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