2.2.0 linux static version / segfault

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

 



hi,

it seems that the static 2.2.0 binary provided for linux is actually a dynamic one ... ; any plan to have this fixed ?

the problem is that i'm running out of luck trying to run gnugk: when i compile it, i get a segfault when i run it; this happens on both fedora core 2 and 3 ; there are no custom rpms on any of the fedora machines, so i'm wondering what can trigger this.

a quick gdb gives quite the same thing on fc2 and fc3; on fc3: 

...
Disable Bandwidth Management
[New Thread -1230263376 (LWP 12599)]
[New Thread -1238656080 (LWP 12600)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1220671808 (LWP 12595)]
0x4bf18904 in __dynamic_cast () from /usr/lib/libstdc++.so.6


to compile i run "make opt OH323_LIBDIR=/usr/lib" 

i don't really know what "opt" means (i got the make command from a spec file), but if i don't specify it, i get this:

...
g++ -DHAS_PGSQL=1  -I/usr/include/mysql -DHAS_MYSQL=1 -DHAS_RADIUS=1 -DHAS_MSG_NOSIGNAL=1  -D'MANUFACTURER=GNU' -D'PROGRAMMNAME=Gatekeeper' -DPTRACING  -DP_USE_PRAGMA -fno-rtti -ffunction-sections  -D_REENTRANT -Wall  -I/usr/share/pwlib//include -DPTRACING -I/usr/include/openh323 -DHAS_OSS -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DBUILD_NUMBER=0 -Os   -x c++ -c gk.cxx -o obj_linux_x86_r/gk.o
make[2]: *** No rule to make target `/usr/share/pwlib//lib/libpt.so', needed by `versionts.h'.  Stop.
make[2]: Leaving directory `/home/boris/gnugk-2.2.0'
make[1]: *** [optshared] Error 2
make[1]: Leaving directory `/home/boris/gnugk-2.2.0'
make: *** [bothshared] Error 2


and if i don't tell make where is OH323_LIBDIR, i get this:

...
g++ -DHAS_PGSQL=1  -I/usr/include/mysql -DHAS_MYSQL=1 -DHAS_RADIUS=1 -DHAS_MSG_NOSIGNAL=1  -D'MANUFACTURER=GNU' -D'PROGRAMMNAME=Gatekeeper' -DPTRACING  -DP_USE_PRAGMA -fno-rtti -ffunction-sections  -D_REENTRANT -Wall  -I/usr/share/pwlib//include -DPTRACING -I/usr/include/openh323 -DHAS_OSS -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DBUILD_NUMBER=0 -Os   -x c++ -c gk.cxx -o obj_linux_x86_r/gk.o
make -C /usr/src/build/386172-i386/BUILD/openh323/src opt
make: *** /usr/src/build/386172-i386/BUILD/openh323/src: No such file or directory.  Stop.
make: Entering an unknown directorymake: Leaving an unknown directorymake[2]: *** [/usr/src/build/386172-i386/BUILD/openh323/lib/libh323_linux_x86_r.so] Error 2
make[2]: Leaving directory `/home/boris/gnugk-2.2.0'
make[1]: *** [optshared] Error 2
make[1]: Leaving directory `/home/boris/gnugk-2.2.0'
make: *** [bothshared] Error 2


/usr/src/build/386172-i386/BUILD/openh323/lib/libh323_linux_x86_r.so is defined in /usr/share/openh323/openh323u.mak, but i don't understand why openh323 should be built when the right rpms are installed.
in some recent posts i've seen that people compile openh323 and pwlib anyway prior to gnugk; is it really needed ?


any clue on what's happening here or on how to build gnugk the right way ?

thanks,
ivan


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
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