Re: Problem compiling GNUGK en FreeBSD

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

 



On Friday 14 January 2005 16:18, DESETech - German P. Santillan wrote:
> Detail of my problem
> 
> g++ -DHAS_RADIUS=1  -D'MANUFACTURER=GNU' -D'PROGRAMMNAME=Gatekeeper' -DPTRACING  -DP_USE_PRAGMA -D_REENTRANT -I/usr/local/include -fno-exceptions -Wall  -I/var/openh323/../pwlib/include -DPTRACING -I/var/openh323/include -DHAS_OSS -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DBUILD_NUMBER=0 -Os   -felide-constructors -x c++ -c job.cxx -o obj_FreeBSD_x86_r/job.o
> singleton.h: In constructor `Singleton<T>::Singleton(const char*) [with T = Agent]':
> job.cxx:250:   instantiated from here
> singleton.h:92: error: exception handling disabled, use -fexceptions to enable
> gmake[2]: *** [obj_FreeBSD_x86_r/job.o] Error 1
> gmake[2]: Leaving directory `/var/gnugk-2.2.0'
> gmake[1]: *** [optshared] Error 2
> gmake[1]: Leaving directory `/var/gnugk-2.2.0'
> gmake: *** [bothshared] Error 2

the Pwlib unix.mk file has setted the -fno-exceptions  in the makefile that is
included by gnugk... 

Just change the no-exceptions to exceptions...


Sergio.


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

_______________________________________________________

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