Re: [Openh323gk-users] Need Help with MySQL

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

 



Hello Mate,

I guess you've already got your mysql include path sorted out.

To fix the compilation error, comment the line that reads 
#include "undef_shot" in the file called mysql++. In your case the file 
is in /usr/local/include/.

HTH

Foong

----- Original Message -----
From: Nitesh Divecha <nitesh@incallusb.com>
Date: Thursday, July 24, 2003 4:07 am
Subject: [Openh323gk-users] Need Help with MySQL

> Hello All,
> 
> I have RedHat 9 and compile MySQL++ successfully....
> But when I do "make all NO_LDAP=1 HAS_MYSQL", I am getting following
> errors.
> 
> Can somebody give me a clue....? Thanking you in advance...
> 
> 
> make[1]: Entering directory `/root/openh323gk'
> g++ -DHAS_MYSQL -I/usr/include/mysql -DHAS_RADIUS -DHAS_WAITARQ=1
> -DP_LINUX=2.4.20-18.9 -DOPENSSL_NO_KRB5 -D_REENTRANT -Wall
> -DP_USE_PRAGMA -g -D_DEBUG -DPMEMORY_CHECK=1 -DPHAS_TEMPLATES
> -I/root/pwlib/include/ptlib/unix -I/root/pwlib/include -DPTRACING
> -I/root/openh323/include -DHAS_IXJ -DHAS_OSS -DMAJOR_VERSION=1
> -DMINOR_VERSION=12 -DBUILD_NUMBER=0 -M gkauth.cxx >>
> obj_linux_x86_d/gkauth.dep
> In file included from /usr/include/c++/3.2.2/backward/iterator.h:30,
>                 from /usr/local/include/resiter1.hh:6,
>                 from /usr/local/include/row1.hh:10,
>                 from /usr/local/include/compare1.hh:6,
>                 from /usr/local/include/mysql++:13,
>                 from gkauth.cxx:587:
> /usr/include/c++/3.2.2/backward/backward_warning.h:32:2: warning:
> #warning This file includes at least one deprecated or antiquated
> header. Please consider using one of the 32 headers found in section
> 17.4.1.2 of the C++ standard. Examples include substituting the <X>
> header for the <X.h> header for C++ includes, or <sstream> instead of
> the deprecated header <strstream.h>. To disable this warning use
> -Wno-deprecated.
> In file included from gkauth.cxx:587:
> /usr/local/include/mysql++:80:23: undef_short: No such file or 
> directorymake[1]: *** [obj_linux_x86_d/gkauth.dep] Error 1
> make[1]: *** Deleting file `obj_linux_x86_d/gkauth.dep'
> make[1]: Leaving directory `/root/openh323gk'
> make: *** [debugdepend] Error 2
> [root@gk openh323gk]# 
> 
> Regards
> Nitesh
> 
> 



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
List: Openh323gk-users@lists.sourceforge.net
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