me too. I think it is because of the OS which we run the gnugk has those
glibc shared library.
regards
Gang
On Tue, Mar 25, 2008 at 5:24 AM, Jan Willamowius <[EMAIL PROTECTED]> wrote:
> Hi Jiří,
>
> I'm getting those warnings, too, when I build the static release
> versions. But so far we didn't have problems running the resulting
> executables on different systems.
>
> Regards,
> Jan
>
>
> Jiří Gubík wrote:
> > Hi,
> > I tried to compile 2.2.7 release but I have two problems. I am compiling
> > with Atlas (OpenH323 1.18.0 / PWLib 1.10.3) libraries. I compile static
> > binary of gnugk.
> >
> > 1. I used to compile OpenH323 library with following configure
> > --disable-audio option to save some space.
> > --disable-audio is causing problem and compilation of gnugk fail.
> >
> > 2. I am geting static binary with enabled audio, but I am getting
> > following warnings when gnugk binary is created:
> > g++ -o obj_linux_x86_r/gnugk -static
> > -L/usr/src/openh323/plugins/audio/GSM0610
> > -L/usr/src/openh323/../pwlib/lib -L/usr/src/openh323/lib
> > ./obj_linux_x86_r/main.o ./obj_linux_x86_r/singleton.o
> > ./obj_linux_x86_r/job.o ./obj_linux_x86_r/yasocket.o
> > ./obj_linux_x86_r/h323util.o ./obj_linux_x86_r/Toolkit.o
> > ./obj_linux_x86_r/SoftPBX.o ./obj_linux_x86_r/GkStatus.o
> > ./obj_linux_x86_r/RasTbl.o ./obj_linux_x86_r/Routing.o
> > ./obj_linux_x86_r/Neighbor.o ./obj_linux_x86_r/GkClient.o
> > ./obj_linux_x86_r/gkauth.o ./obj_linux_x86_r/RasSrv.o
> > ./obj_linux_x86_r/ProxyChannel.o ./obj_linux_x86_r/gk.o
> > ./obj_linux_x86_r/version.o ./obj_linux_x86_r/gkacct.o
> > ./obj_linux_x86_r/gktimer.o ./obj_linux_x86_r/gkconfig.o
> > ./obj_linux_x86_r/sigmsg.o ./obj_linux_x86_r/clirw.o
> > ./obj_linux_x86_r/cisco.o ./obj_linux_x86_r/ipauth.o
> > ./obj_linux_x86_r/statusacct.o ./obj_linux_x86_r/syslogacct.o
> > ./obj_linux_x86_r/capctrl.o ./obj_linux_x86_r/MakeCall.o
> > -lh323_linux_x86_r_s -lpt_linux_x86_r_s -lgsm0610_audio_s -lpthread
> > -lssl -lcrypto -lexpat -lresolv -ldl
> > /usr/src/openh323/../pwlib/lib/libpt_linux_x86_r_s.a(udll.o): In
> > function `PDynaLink::Open(PString const&)':
> > udll.cxx:(.text+0x320): warning: Using 'dlopen' in statically linked
> > applications requires at runtime the shared libraries from the glibc
> > version used for linking
> > /usr/src/openh323/../pwlib/lib/libpt_linux_x86_r_s.a(tlib.o): In
> > function `PProcess::GetGroupName() const':
> > tlib.cxx:(.text+0x2698): warning: Using 'getgrgid_r' in statically
> > linked applications requires at runtime the shared libraries from the
> > glibc version used for linking
> > /usr/src/openh323/../pwlib/lib/libpt_linux_x86_r_s.a(tlib.o): In
> > function `PProcess::SetGroupName(PString const&, int)':
> > tlib.cxx:(.text+0x29dc): warning: Using 'getgrnam_r' in statically
> > linked applications requires at runtime the shared libraries from the
> > glibc version used for linking
> > ./obj_linux_x86_r/gk.o: In function `Gatekeeper::SetUserAndGroup(PString
> > const&)':
> > gk.cxx:(.text+0x445): warning: Using 'getpwnam_r' in statically linked
> > applications requires at runtime the shared libraries from the glibc
> > version used for linking
> > /usr/src/openh323/../pwlib/lib/libpt_linux_x86_r_s.a(tlib.o): In
> > function `PProcess::GetUserName() const':
> > tlib.cxx:(.text+0x2710): warning: Using 'getpwuid_r' in statically
> > linked applications requires at runtime the shared libraries from the
> > glibc version used for linking
> > /usr/src/openh323/../pwlib/lib/libpt_linux_x86_r_s.a(sockets.o): In
> > function `PHostByAddr::GetHost(PIPSocket::Address const&)':
> > sockets.cxx:(.text+0x2a31): warning: Using 'gethostbyaddr_r' in
> > statically linked applications requires at runtime the shared libraries
> > from the glibc version used for linking
> > /usr/src/openh323/../pwlib/lib/libpt_linux_x86_r_s.a(sockets.o): In
> > function `PHostByName::GetHost(PString const&)':
> > sockets.cxx:(.text+0x2f9c): warning: Using 'gethostbyname_r' in
> > statically linked applications requires at runtime the shared libraries
> > from the glibc version used for linking
> > /usr/src/openh323/../pwlib/lib/libpt_linux_x86_r_s.a(sockets.o): In
> > function `PSocket::GetNameByProtocol(unsigned short)':
> > sockets.cxx:(.text+0x18fb): warning: Using 'getprotobynumber' in
> > statically linked applications requires at runtime the shared libraries
> > from the glibc version used for linking
> > /usr/src/openh323/../pwlib/lib/libpt_linux_x86_r_s.a(sockets.o): In
> > function `PSocket::GetProtocolByName(PString const&)':
> > sockets.cxx:(.text+0x193d): warning: Using 'getprotobyname' in
> > statically linked applications requires at runtime the shared libraries
> > from the glibc version used for linking
> > /usr/src/openh323/../pwlib/lib/libpt_linux_x86_r_s.a(sockets.o): In
> > function `PSocket::GetPortByService(char const*, PString const&)':
> > sockets.cxx:(.text+0x181a): warning: Using 'getservbyname' in statically
> > linked applications requires at runtime the shared libraries from the
> > glibc version used for linking
> > /usr/src/openh323/../pwlib/lib/libpt_linux_x86_r_s.a(sockets.o): In
> > function `PSocket::GetServiceByPort(char const*, unsigned short)':
> > sockets.cxx:(.text+0x1745): warning: Using 'getservbyport' in statically
> > linked applications requires at runtime the shared libraries from the
> > glibc version used for linking
> > make[1]: Leaving directory `/usr/src/openh323gk'
> >
> > I need to use compiled binary on machine with differen glibc.
> >
> > Regards
> > Jiri
>
> --
> Jan Willamowius, [EMAIL PROTECTED], http://www.gnugk.org/
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________________
>
> Posting: mailto:[email protected]
> Archive:
> http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
> Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
> Homepage: http://www.gnugk.org/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________________
Posting: mailto:[email protected]
Archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/