Grimes, Mark
2013-09-17 10:53:08 UTC
Hello,
I'm trying to build omniORB-4.1.7 using C++ 11 (Visual Studio 2012).
I have installed Python 2.7.5 and Cygwin 1.7.25.
I have created a new platform configuration file x86_win32_vs_11.mk (based on x86_win32_vs_10.mk)
and the only change is setting compiler_version_suffix=_vc11
When I attempt to build omniORB-4.1.7 I get the following error when attempting to run the link command.
It is picking up the link command from Cygwin.
I have also tried to build omniORB-4.1.6 using the same method and I get the same error.
Any help to solve this would be much appreciated.
Cheers,
Mark.
$ make export
making export in src/tool...
make[1]: Entering directory `/cygdrive/c/omniORB-4.1.7/src/tool'
making export in src/tool/omniidl...
make[2]: Entering directory `/cygdrive/c/omniORB-4.1.7/src/tool/omniidl'
making export in src/tool/omniidl/cxx...
make[3]: Entering directory `/cygdrive/c/omniORB-4.1.7/src/tool/omniidl/cxx'
making export in src/tool/omniidl/cxx/cccp...
make[4]: Entering directory `/cygdrive/c/omniORB-4.1.7/src/tool/omniidl/cxx/cccp'
../../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MD -GS -GR -Zi -nologo -DHAVE_CONFIG_H -I. -I. -I. -I../../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0501 -D__x86__ -D__NT__ -D__OSVERSIO
__=4 -D_CRT_SECURE_NO_DEPRECATE=1 -Focexp.o cexp.c
cl -c -O2 -MD -GS -GR -Zi -nologo -DHAVE_CONFIG_H -I. -I. -I. -I..\..\..\..\..\include -D__WIN32__ -D_WIN32_WINNT=0x0501 -D__x86__ -D__NT__ -D__OSVERSION__=4 -D_CRT_SECURE_NO_DEPRECATE=1 -Focexp.o ce
p.c
cexp.c
../../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MD -GS -GR -Zi -nologo -DHAVE_CONFIG_H -I. -I. -I. -I../../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0501 -D__x86__ -D__NT__ -D__OSVERSIO
__=4 -D_CRT_SECURE_NO_DEPRECATE=1 -Focccp.o cccp.c
cl -c -O2 -MD -GS -GR -Zi -nologo -DHAVE_CONFIG_H -I. -I. -I. -I..\..\..\..\..\include -D__WIN32__ -D_WIN32_WINNT=0x0501 -D__x86__ -D__NT__ -D__OSVERSION__=4 -D_CRT_SECURE_NO_DEPRECATE=1 -Focccp.o cc
p.c
cccp.c
../../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MD -GS -GR -Zi -nologo -DHAVE_CONFIG_H -I. -I. -I. -I../../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0501 -D__x86__ -D__NT__ -D__OSVERSIO
__=4 -D_CRT_SECURE_NO_DEPRECATE=1 -Foconfig.o config.c
cl -c -O2 -MD -GS -GR -Zi -nologo -DHAVE_CONFIG_H -I. -I. -I. -I..\..\..\..\..\include -D__WIN32__ -D_WIN32_WINNT=0x0501 -D__x86__ -D__NT__ -D__OSVERSION__=4 -D_CRT_SECURE_NO_DEPRECATE=1 -Foconfig.o
onfig.c
config.c
../../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MD -GS -GR -Zi -nologo -DHAVE_CONFIG_H -I. -I. -I. -I../../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0501 -D__x86__ -D__NT__ -D__OSVERSIO
__=4 -D_CRT_SECURE_NO_DEPRECATE=1 -Foalloca.o alloca.c
cl -c -O2 -MD -GS -GR -Zi -nologo -DHAVE_CONFIG_H -I. -I. -I. -I..\..\..\..\..\include -D__WIN32__ -D_WIN32_WINNT=0x0501 -D__x86__ -D__NT__ -D__OSVERSION__=4 -D_CRT_SECURE_NO_DEPRECATE=1 -Foalloca.o
lloca.c
alloca.c
../../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MD -GS -GR -Zi -nologo -DHAVE_CONFIG_H -I. -I. -I. -I../../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0501 -D__x86__ -D__NT__ -D__OSVERSIO
__=4 -D_CRT_SECURE_NO_DEPRECATE=1 -Foindex.o index.c
cl -c -O2 -MD -GS -GR -Zi -nologo -DHAVE_CONFIG_H -I. -I. -I. -I..\..\..\..\..\include -D__WIN32__ -D_WIN32_WINNT=0x0501 -D__x86__ -D__NT__ -D__OSVERSION__=4 -D_CRT_SECURE_NO_DEPRECATE=1 -Foindex.o i
dex.c
index.c
+ rm -f omnicpp.exe
+ ../../../../../bin/x86_win32/linkwrapper -gnuwin32 -out:omnicpp.exe -nologo -manifest -DEBUG -PDB:omnicpp.exe.pdb -libpath:../../../../../lib/x86_win32 cexp.o cccp.o config.o alloca.o index.o
link -out:omnicpp.exe -nologo -manifest -DEBUG -PDB:omnicpp.exe.pdb -libpath:..\..\..\..\..\lib\x86_win32 cexp.o cccp.o config.o alloca.o index.o
link: unknown option -- o
Try `link --help' for more information.
+ mt.exe '/outputresource:omnicpp.exe;#1' /manifest omnicpp.exe.manifest
Microsoft (R) Manifest Tool version 6.2.9200.16384
Copyright (c) Microsoft Corporation 2012.
All rights reserved.
omnicpp.exe.manifest : general error c1010070: Failed to load and parse the manifest. The system cannot find the file specified.
dir.mk:55: recipe for target `omnicpp.exe' failed
make[4]: *** [omnicpp.exe] Error 31
make[4]: Leaving directory `/cygdrive/c/omniORB-4.1.7/src/tool/omniidl/cxx/cccp'
dir.mk:21: recipe for target `export' failed
Mark Grimes
SVC Info Developer II
UK Public Sector (UKPS)
ABS Secure Capabilities
Hewlett-Packard Company
+44 1256 742566/ Tel
mark.grimes at hp.com<mailto:mark.grimes at hp.com> / Email
1-3 Bartley Wood Business Park,
Hook, Hampshire RG27 9XA
UK
[Description: hp]<http://www.hp.com/>
HP Enterprise Services UK Ltd
Registered Office: Cain Road, Bracknell, Berkshire, RG12 1HN
Registered no: 53419 England
VAT number: 432 99 5915
________________________________
The contents of this message and any attachments to it are private to HP and may be legally privileged. If you have received this message in error, you should delete it from your system immediately and advise the sender. To any recipient of this message within HP, unless otherwise stated you should consider this message and attachments as "HP proprietary information".
Please consider the environment before printing this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20130917/fc2d24d1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 1358 bytes
Desc: image001.gif
URL: <Loading Image...>
I'm trying to build omniORB-4.1.7 using C++ 11 (Visual Studio 2012).
I have installed Python 2.7.5 and Cygwin 1.7.25.
I have created a new platform configuration file x86_win32_vs_11.mk (based on x86_win32_vs_10.mk)
and the only change is setting compiler_version_suffix=_vc11
When I attempt to build omniORB-4.1.7 I get the following error when attempting to run the link command.
It is picking up the link command from Cygwin.
I have also tried to build omniORB-4.1.6 using the same method and I get the same error.
Any help to solve this would be much appreciated.
Cheers,
Mark.
$ make export
making export in src/tool...
make[1]: Entering directory `/cygdrive/c/omniORB-4.1.7/src/tool'
making export in src/tool/omniidl...
make[2]: Entering directory `/cygdrive/c/omniORB-4.1.7/src/tool/omniidl'
making export in src/tool/omniidl/cxx...
make[3]: Entering directory `/cygdrive/c/omniORB-4.1.7/src/tool/omniidl/cxx'
making export in src/tool/omniidl/cxx/cccp...
make[4]: Entering directory `/cygdrive/c/omniORB-4.1.7/src/tool/omniidl/cxx/cccp'
../../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MD -GS -GR -Zi -nologo -DHAVE_CONFIG_H -I. -I. -I. -I../../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0501 -D__x86__ -D__NT__ -D__OSVERSIO
__=4 -D_CRT_SECURE_NO_DEPRECATE=1 -Focexp.o cexp.c
cl -c -O2 -MD -GS -GR -Zi -nologo -DHAVE_CONFIG_H -I. -I. -I. -I..\..\..\..\..\include -D__WIN32__ -D_WIN32_WINNT=0x0501 -D__x86__ -D__NT__ -D__OSVERSION__=4 -D_CRT_SECURE_NO_DEPRECATE=1 -Focexp.o ce
p.c
cexp.c
../../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MD -GS -GR -Zi -nologo -DHAVE_CONFIG_H -I. -I. -I. -I../../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0501 -D__x86__ -D__NT__ -D__OSVERSIO
__=4 -D_CRT_SECURE_NO_DEPRECATE=1 -Focccp.o cccp.c
cl -c -O2 -MD -GS -GR -Zi -nologo -DHAVE_CONFIG_H -I. -I. -I. -I..\..\..\..\..\include -D__WIN32__ -D_WIN32_WINNT=0x0501 -D__x86__ -D__NT__ -D__OSVERSION__=4 -D_CRT_SECURE_NO_DEPRECATE=1 -Focccp.o cc
p.c
cccp.c
../../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MD -GS -GR -Zi -nologo -DHAVE_CONFIG_H -I. -I. -I. -I../../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0501 -D__x86__ -D__NT__ -D__OSVERSIO
__=4 -D_CRT_SECURE_NO_DEPRECATE=1 -Foconfig.o config.c
cl -c -O2 -MD -GS -GR -Zi -nologo -DHAVE_CONFIG_H -I. -I. -I. -I..\..\..\..\..\include -D__WIN32__ -D_WIN32_WINNT=0x0501 -D__x86__ -D__NT__ -D__OSVERSION__=4 -D_CRT_SECURE_NO_DEPRECATE=1 -Foconfig.o
onfig.c
config.c
../../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MD -GS -GR -Zi -nologo -DHAVE_CONFIG_H -I. -I. -I. -I../../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0501 -D__x86__ -D__NT__ -D__OSVERSIO
__=4 -D_CRT_SECURE_NO_DEPRECATE=1 -Foalloca.o alloca.c
cl -c -O2 -MD -GS -GR -Zi -nologo -DHAVE_CONFIG_H -I. -I. -I. -I..\..\..\..\..\include -D__WIN32__ -D_WIN32_WINNT=0x0501 -D__x86__ -D__NT__ -D__OSVERSION__=4 -D_CRT_SECURE_NO_DEPRECATE=1 -Foalloca.o
lloca.c
alloca.c
../../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MD -GS -GR -Zi -nologo -DHAVE_CONFIG_H -I. -I. -I. -I../../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0501 -D__x86__ -D__NT__ -D__OSVERSIO
__=4 -D_CRT_SECURE_NO_DEPRECATE=1 -Foindex.o index.c
cl -c -O2 -MD -GS -GR -Zi -nologo -DHAVE_CONFIG_H -I. -I. -I. -I..\..\..\..\..\include -D__WIN32__ -D_WIN32_WINNT=0x0501 -D__x86__ -D__NT__ -D__OSVERSION__=4 -D_CRT_SECURE_NO_DEPRECATE=1 -Foindex.o i
dex.c
index.c
+ rm -f omnicpp.exe
+ ../../../../../bin/x86_win32/linkwrapper -gnuwin32 -out:omnicpp.exe -nologo -manifest -DEBUG -PDB:omnicpp.exe.pdb -libpath:../../../../../lib/x86_win32 cexp.o cccp.o config.o alloca.o index.o
link -out:omnicpp.exe -nologo -manifest -DEBUG -PDB:omnicpp.exe.pdb -libpath:..\..\..\..\..\lib\x86_win32 cexp.o cccp.o config.o alloca.o index.o
link: unknown option -- o
Try `link --help' for more information.
+ mt.exe '/outputresource:omnicpp.exe;#1' /manifest omnicpp.exe.manifest
Microsoft (R) Manifest Tool version 6.2.9200.16384
Copyright (c) Microsoft Corporation 2012.
All rights reserved.
omnicpp.exe.manifest : general error c1010070: Failed to load and parse the manifest. The system cannot find the file specified.
dir.mk:55: recipe for target `omnicpp.exe' failed
make[4]: *** [omnicpp.exe] Error 31
make[4]: Leaving directory `/cygdrive/c/omniORB-4.1.7/src/tool/omniidl/cxx/cccp'
dir.mk:21: recipe for target `export' failed
Mark Grimes
SVC Info Developer II
UK Public Sector (UKPS)
ABS Secure Capabilities
Hewlett-Packard Company
+44 1256 742566/ Tel
mark.grimes at hp.com<mailto:mark.grimes at hp.com> / Email
1-3 Bartley Wood Business Park,
Hook, Hampshire RG27 9XA
UK
[Description: hp]<http://www.hp.com/>
HP Enterprise Services UK Ltd
Registered Office: Cain Road, Bracknell, Berkshire, RG12 1HN
Registered no: 53419 England
VAT number: 432 99 5915
________________________________
The contents of this message and any attachments to it are private to HP and may be legally privileged. If you have received this message in error, you should delete it from your system immediately and advise the sender. To any recipient of this message within HP, unless otherwise stated you should consider this message and attachments as "HP proprietary information".
Please consider the environment before printing this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20130917/fc2d24d1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 1358 bytes
Desc: image001.gif
URL: <Loading Image...>