Hi all.
I have successfully compiled with gcc version 3.2.2 from CVS: pwlib 1.5.4 openh323 1.12.2 openh323gk 2.2.3 on a Redhat 9 system.
I am having problems running the compiled opt version of the gatekeeper. I get the following:
# ./gnugk --config gnugk.conf --output gnugk.log -ttt
OpenH323 Gatekeeper - The GNU Gatekeeper with ID 'OpenH323GK' started
Gatekeeper(GNU) Version(2.2beta3) Ext(pthreads=1) Build(Dec 5 2003, 17:32:19) Sys(Linux i686 2.4.20-8smp)
Listen on [my IP],127.0.0.1
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Disable Bandwidth Management
Assertion fail: Out of Range Error, file yasocket.cxx, line 43
<A>bort, <C>ore dump, <I>gnore? I
Ignoring.
Assertion fail: Out of Range Error, file yasocket.cxx, line 43, Error=107
<A>bort, <C>ore dump, <I>gnore?
<A>bort, <C>ore dump, <I>gnore? I
__________________________________________________ Also, in trying to statically compile the gnugk on the same system and with the same libraries, I get compilation errors:
..........
g++ -o obj_linux_x86_r/gnugk -Wl,--gc-sections -s -L/home/dimitris/openh323/../pwlib/lib -static -L/home/dimitris/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/radproto.o ./obj_linux_x86_r/radauth.o ./obj_linux_x86_r/radacct.o -lh323_linux_x86_r_s -lpt_linux_x86_r_s -lpthread -llber -lldap -lldap_r -lssl -lcrypto -lexpat -lSDL -lresolv -ldl
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libldap.a(os- ip.o)(.text+0x41f): In function `ldap_pvt_is_socket_ready':
: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libldap.a(os- ip.o)(.text+0x415): In function `ldap_pvt_is_socket_ready':
: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: BFD 2.13.90.0.18 20030206 internal error, aborting at ../../bfd/elf32-i386.c line 2365 in elf_i386_relocate_section
/usr/bin/ld: Please report this bug.
collect2: ld returned 1 exit status make[1]: *** [obj_linux_x86_r/gnugk] Error 1 make[1]: Leaving directory `/home/username/openh323gk' make: *** [optnoshared] Error 2 $
Any help is appreciated.
Thanks.
Dimitris Daskopoulos
dimitris@ccf.auth.gr
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ List: Openh323gk-users@lists.sourceforge.net Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Homepage: http://www.gnugk.org/