List Info

Thread: Latest OPAL in CVS breaks on GCC 3.3.5




Latest OPAL in CVS breaks on GCC 3.3.5
user name
2006-09-20 02:05:09
Just tried the latest CVS head version of OPAL.  The error
is still
there and exactly the same.  I am compiling in a fresh tree
with the
compiler.  So it couldn't be for the reason of not building
something.
I am suspecting that some object files are not linked in. 
So there
could be something with the Makefile.  Do you have an old
Gentoo box or
something with an old compiler to try this on?  

Thanks. 

-----Original Message-----
From: Craig Southeren [mailto:craigspostincrement.com] 
Sent: Tuesday, September 19, 2006 5:03 PM
To: Zou, Yixiong; openh323openh323.org
Subject: Re: [OpenH323] Latest OPAL in CVS breaks on GCC
3.3.5


I've just done a build of CVS head OPAL using gcc 3.3.5 and
fixed a
linker problem that was unrelated to the messages below.
Make sure you
get the latest CVS head to get this change.

Your problems look like you have not recompiled something
when changing
compilers.

   Craig

------------------------------------------------------------
-----------
 Craig Southeren          Post Increment - VoIP Consulting
and Software
 craigspostincrement.com.au                  
www.postincrement.com.au

 Phone:  +61 243654666      ICQ: #86852844
 Fax:    +61 243656905      MSN: craig_southerenhotmail.com
 Mobile: +61 417231046      Jabber: craigsjabber.org

 "It takes a man to suffer ignorance and smile.
  Be yourself, no matter what they say."   Sting
------------------------------------------------------------
------------
Check the FAQ before asking! - http://www.
openh323.org/~openh323/fom.cgi
The OpenH323 Project mailing list, using Mailman. To
unsubscribe or
change your subscription options, goto
htt
p://www.openh323.org/mailman/listinfo/openh323
Maintained by Quicknet Technologies, Inc - http://www.quicknet.net
------------------------------------------------------------
------------
Latest OPAL in CVS breaks on GCC 3.3.5
user name
2006-09-20 03:23:55
On Tue, 19 Sep 2006 19:05:09 -0700
"Zou, Yixiong" <yixiong.zouintel.com> wrote:

> Just tried the latest CVS head version of OPAL.  The
error is still
> there and exactly the same.  I am compiling in a fresh
tree with the
> compiler.  So it couldn't be for the reason of not
building something.
> I am suspecting that some object files are not linked
in.  So there
> could be something with the Makefile.  Do you have an
old Gentoo box or
> something with an old compiler to try this on?  

I'm compiling on an old RedHat 9 box that has gcc 3.3.5
installed.

And I'm definitely using CVS head - a CVS diff shows no
differences
between my source code tree and the CVS

I really think that the errors relate to using mixed
versions of OPAL.

`MyManager::Initialise(PArgList&)':
: undefined reference to
`H323EndPoint::H323EndPoint[in-charge](OpalManager&,
char const*,
unsigned short)'
./obj_linux_x86_r/main.o(.text+0x2840): In function
`MyManager::Initialise(PArgList&)':
: undefined reference to
`H323SecureEndPoint::H323SecureEndPoint[in-charge](OpalManag
er&)'

These seems to indicate that simplopal is looking for the
new secure
H323Endpoint functions, but can't find them. THis would
indicate that
the headers are correct, but the lib files are wrong.

Most of the other errors are similar - simpleopal has been
compiled with
the latest headers, but is being linked with an older
version.

My guess is that you have an older version of OPAL on the
machine you
are using, probably installed in /usr/local/lib, and
simpleopal is being
linked against that older version rather than the new
version it is
using for compiling.

   Craig

------------------------------------------------------------
-----------
 Craig Southeren          Post Increment – VoIP Consulting
and Software
 craigspostincrement.com.au                  
www.postincrement.com.au

 Phone:  +61 243654666      ICQ: #86852844
 Fax:    +61 243656905      MSN: craig_southerenhotmail.com
 Mobile: +61 417231046      Jabber: craigsjabber.org

 "It takes a man to suffer ignorance and smile.
  Be yourself, no matter what they say."   Sting


------------------------------------------------------------
------------
Check the FAQ before asking! - http://www.
openh323.org/~openh323/fom.cgi
The OpenH323 Project mailing list, using Mailman. To
unsubscribe or
change your subscription options, goto
htt
p://www.openh323.org/mailman/listinfo/openh323
Maintained by Quicknet Technologies, Inc - http://www.quicknet.net
------------------------------------------------------------
------------
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )