Re: Problems running 2.2.3 on RH9

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

 




Thanks for picking up on the subject.


Well, I have removed fdata-sections and ffunction-sections manually
from the configure files in pwlib and recompiled everything,
giving gnugk no specifc options (make optnoshared).
Still the same problem. Could it be something to do with openLDAP
libraries? Shouldn't the NO_LDAP=1 option disable inclusion
of LDAP related code?

How have others managed to compile optnoshared in RedHat9 ?
Anybody willing to share a mysql enabled binary?

Thanks,
Dimitris

g++ -o obj_linux_x86_r/gnugk -L/usr/lib/mysql -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 ./obj_linux_x86_r/mysqlcon.o -lh323_linux_x86_r_s -lpt_linux_x86_r_s -lmysqlclient -lz -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/user/openh323gk'
make: *** [optnoshared] Error 2
[user@red openh323gk]$



On Wednesday, December 10, 2003, at 03:06 AM, Zygmuntowicz Michal wrote:

I would suspect -fdata-sections or -ffunction-sections flags maybe...
We had some other problems with these flags (template instantiation).
Maybe recompiling pwlib/openh323/gnugk without these flags
would help ld to link the static executable.

----- Original Message -----
From: "Nicholas Hart" <nic@gttelegraph.net>
Sent: Wednesday, December 10, 2003 1:55 AM


I suspect the gcc/ginutils "addicts" will say it is a user problem :)

Looking at the original email, it could be that some of the compile
flags being used are not compatible with the libraries being linked.
That could cause link problems like the one he is seeing.

Craig

Would like some clarification of that. If you mean gnugk
option flags, I would ask what combinations of options wasn't expected to
work . Other than that I'm not aware of selecting any compile flags, and
I have seen these errors. Could well believe the Makefiles and script
were setting some bad flags for me, but that surely is just another way of
saying there is a bug.


------------------------------
Nicholas Hart
GTTelegraph
www.gttelegraph.net
------------------------------



-------------------------------------------------------
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/



------------------------------------------------------- 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/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux