Have you tried other combinations of the flags? If we know what combinations do work, and which do not, then this may give a hint as to where the problem lies. Craig On Tue, 9 Dec 2003 14:42:12 +0200 Dimitris Daskopoulos <dimitris@ccf.auth.gr> wrote: > > Once more, I tried compiling with these options: > HAS_ACCT=1 NO_LDAP=1 LARGE_FDSET=1 MYSQLDIR=/usr/lib/mysql make > optnoshared > and I get: > > g++ -o obj_linux_x86_r/gnugk -Wl,--gc-sections -s > -L/home/dimitris/openh323/../pwlib/lib -static > -L/home/dimitris/pwlib/../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/dimitris/openh323gk' > make: *** [optnoshared] Error 2 > $ > > > On Tuesday, December 9, 2003, at 02:26 PM, Dimitris Daskopoulos wrote: > > On Tuesday, December 9, 2003, at 01:01 PM, Zygmuntowicz Michal wrote: > > > >> How did you define LARGE_FDSET during compilation? > >> > > I did not define it, since I am only interested in > > testing small scale operation. > > I assume it is not set by default. > > > > Dimitris > > > >> ----- Original Message ----- > >> From: "Dimitris Daskopoulos" <dimitris@ccf.auth.gr> > >> Sent: Tuesday, December 09, 2003 11:48 AM > >> > >> > >>> 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 ----------------------------------------------------------------------- Craig Southeren, craigs@postincrement.com http://www.postincrement.com Post Increment - Software, Consulting and Services Co-founder of the only open source H.323 project Phone: +61 2 43654666 Fax: +61 2 43673140 Mobile: +61 417 231046 ICQ: #86852844 MSN: craig_southeren@hotmail.com PGP Key: http://www.postincrement.com/pgp.txt Blog: http://users.tpg.com.au/adsl87w7/blog/ ------------------------------------------------------- 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/