Discussion:
[omniORB] omniORB-4.0.3 build
tristan
2007-10-30 15:32:10 UTC
Permalink
Hello

Trying to build omniORB-4.0.3 on linux 2.6.22 debian etch with gcc 4.1.2 I
have the following errors :

g++ -c -O2 -Wall -Wno-unused -fexceptions -I.. -I./..
-I../../../../include/omniORB4/internal
-I../../../../include/omniORB4/internal -D_REENTRANT -DUSE_omniORB_logStream
-D_OMNIORB_LIBRARY -DCONFIG_DEFAULT_LOCATION='"/etc/omniORB.cfg"'
-DCONFIG_ENV='"OMNIORB_CONFIG"' -DUnixArchitecture -I. -I.
-I../../../../include -I../../../../include -D__OSVERSION__=2 -D__linux__
-D__x86__ -o static/anonObject.o anonObject.cc
../../../../include/omniORB4/seqTemplatedefns.h: In member function 'void
_CORBA_Unbounded_Sequence<T>::operator>>=(cdrStream&) const':
../../../../include/omniORB4/seqTemplatedefns.h:95: error: no matching
function for call to 'operator>>=(_CORBA_ULong&, cdrStream&)'
../../../../include/omniORB4/seqTemplatedefns.h: In member function 'void
_CORBA_Bounded_Sequence<T, max>::operator>>=(cdrStream&) const':
../../../../include/omniORB4/seqTemplatedefns.h:122: error: no matching
function for call to 'operator>>=(_CORBA_ULong&, cdrStream&)'
../../../../include/omniORB4/seqTemplatedefns.h: In member function 'void
_CORBA_Sequence_ObjRef<T, ElemT, T_Helper>::operator>>=(cdrStream&) const':
../../../../include/omniORB4/seqTemplatedefns.h:707: error: no matching
function for call to 'operator>>=(_CORBA_ULong&, cdrStream&)'
make[4]: *** [static/anonObject.o] Erreur 1

does anybody know how to correct this?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20071030/7ab9f23a/attachment.htm
Duncan Grisby
2007-10-30 17:45:11 UTC
Permalink
Post by tristan
Trying to build omniORB-4.0.3 on linux 2.6.22 debian etch with gcc 4.1.2 I
Why would you use such an old version? If you use a recent version,
ideally omniORB 4.1.1, you will have much more luck.

Cheers,

Duncan.
--
-- Duncan Grisby --
-- ***@grisby.org --
-- http://www.grisby.org --
Default User
2007-10-30 22:08:10 UTC
Permalink
I have installed Omniorb 4.1.1 on Linux. I then built the examples in
"echo". Trying to run the first one (eg1) gives the following error:

"Unable to create endpoint this description:giop:tcp::0"


Any ideas?



Brian


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Default User
2007-10-30 23:54:31 UTC
Permalink
Apologies, I had intended to change the subject heading for my message.
I will repost under a corrected heading.




Brian


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Default User
2007-10-30 23:56:02 UTC
Permalink
I have installed Omniorb 4.1.1 on Linux. I then built the examples in
"echo". Trying to run the first one (eg1) gives the following error:

"Unable to create endpoint this description:giop:tcp::0"


Any ideas?



Brian


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Default User
2007-11-01 03:38:38 UTC
Permalink
Post by Default User
I have installed Omniorb 4.1.1 on Linux. I then built the examples in
"Unable to create endpoint this description:giop:tcp::0"
I tried an explicit endpoint, and that worked, the eg1 example ran
without the init error.



Brian


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Duncan Grisby
2007-11-01 04:08:20 UTC
Permalink
Post by Default User
I have installed Omniorb 4.1.1 on Linux. I then built the examples in
"Unable to create endpoint this description:giop:tcp::0"
What Linux distribution version and kernel version? I suspect that your
libraries know about IPv6 but your kernel doesn't, meaning that omniORB
tries to open an IPv6 endpoint but the kernel rejects it. Does setting
an endPoint of giop:tcp:0.0.0.0: work? If so, you can configure omniORB
using the --disable-ipv6 option to the configure script.

Cheers,

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