Re: link errors under MacOS X

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Did you run PWLib configure utility with --enable-rtti flag? It's required.

PS Craig: Maybe you could change default RTTI state to enabled. Those
who want to shrink the library size down would then need to disable RTTI.

Stewart, if you will be able to compile everything using 2.0.7 GnuGk sources,
we would like to put it on the website for download (do we, Jan?:)
We tried to get it compiled for Mac OS X, but I had to sell my Mac
(that I was able to compile the gk on) and we had problems compiling it
(mainly PWLib) on another machine. So the website contains only
a bit outdated 2.0.6 version for Mac OS X.

Regards,
Michal

----- Original Message ----- 
From: "Stewart Nelson" <sn@xxxxxxxxxxx>
Sent: Tuesday, March 23, 2004 8:43 PM


> Many thanks to Michal and Craig for your help.
> 
> > The last few versions of OpenH323 have included the IXJ code only if the
> > host environment contains any of the following files:
> > 
> > linux/telephony.h 
> > sys/telephony.h 
> > /usr/local/include/sys/telephony.h
> > 
> > And if those files are there, then it should compile.
> 
> I determined that none of those files are present on my system.
> 
> > 
> > > Maybe undefine HAS_IXJ macro and remove ixjunix.cxx file from the build
> > > (you will need to edit Makefile and openh323u.mak). IXJ (and audio/video
> > > drivers in general) is not used by GnuGk, so it can be disabled.
> 
> I found that HAS_IXJ is not being set, but ixjunix.cxx was being loaded anyway,
> so there appears to be a bug in the configuration logic.
> I deleted the references to the .cxx and .h from src/Makefile, and the system
> then built without error (except for some warnings that I don't believe
> are related to the problems below).
> 
> When execution is started, the system dies on a bus error after a few
> seconds.  The trace file shows only two lines: logging started and a
> 'singleton' entry.  I did not attempt to debug this.
> 
> I have a gnugk 2.0.3 running fine on a Linux box with the same (Mac
> Power PC) hardware.  It was built using openh323 1.11.7 and pwlib 1.4.11 .
> I moved those files to the Darwin system, and it compiled and runs
> with no problems!  Version 2.0.3 meets my present needs, so I am inclined
> not to pursue this further, unless there is a Mac expert here who can help.
> 
> But just for laughs, I tried gnugk 2.0.3 with the new openh323.  A few
> lines of source needed tweaking to get it to compile.  It died with
> the same bus error, so it appears that it is openh323 that has lost its
> Mac compatibility.
> 
> I did not attempt to try the new gatekeeper with the old libraries,
> because the manual says that it won't work :)
> 
> Jan, if you would like the MacOS X binary for gnugk 2.0.3, I would
> be glad to send it.  Sorry that I couldn't do better.
> 
> Thanks again,
> 
> Stewart
> 
> > > > I am having trouble compiling the libraries for gnugk under Darwin.
> > > > 
> > > > pwlib 1.6.5 builds ok.
> > > > Doing make opt on openh323 1.13.4 results in:
> > > > 
> > > > ld: Undefined symbols:
> > > > OpalIxJDevice::WriteFrame(unsigned, void const*, int, int&)
> > > > OpalIxJDevice::EnableAudio(unsigned, int)
> > > > OpalIxJDevice::GetCallerID(unsigned, PString&, int)
> > > > OpalIxJDevice::SetCallerID(unsigned, PString const&)
> > > > OpalIxJDevice::SetRawCodec(unsigned)
> > > > (and all the other OpalIxJDevice symbols)
> > > > 
> > > > It appears that support for this device is partially
> > > > enabled.  Is there a way to turn it off?
> > > > Or on (the code would not actually be executed from gnugk)?
> > > > 
> > > > The system shows:
> > > > 
> > > > % uname -a
> > > > Darwin fb1 6.8 Darwin Kernel Version 6.8: Wed Sep 10 15:20:55 PDT 2003;
> > > > root:xnu/xnu-344.49.obj~2/RELEASE_PPC  Power Macintosh powerpc
> > > > 
> > > > % gcc -v
> > > > Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
> > > > Thread model: posix
> > > > Apple Computer, Inc. GCC version 1151, based on gcc version 3.1 20020420
> > > > (prerelease)
> > > > 
> > > > Thanks,
> > > > 
> > > > Stewart



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux