Re: GNU GK compile problem on RHEL4

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

 



Hi Denis,

as the error message says, `BIO_clear_flags' etc. are symbols used by
libpt_linux_x86_r.so, but aren't defined anywhere. GnuGk doesn't use
any of them. My guess is its a compile problem at the PWLib level.

To make sure PWLib and OpenH323 libs are compiled ok, try compiling one
of the samples for each.

I use your combination of versions for PWLib, OpenH323 and GnuGk a lot
(I use gcc 4.1.x, but 3.4.x should be ok), so it might have to do with
which options you have enabled and which library versions you have
installed.

Regards,
Jan


Denis Kochmashev "Enforta" wrote:
> Hello!
> 
> I tried to compile GNU GK (cvs) with different versions of pwlib and
> openh323 on gcc 3.4.3 and I always get the same error.
> 
> Last attempt which I made was:
> Pwlib - 1.10.3, Openh323 - 1.18.0, GNU GK - 2.2.7 (cvs)
> > gcc -v
> Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.3/specs
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
> --infodir=/usr/share/info --enable-shared --enable-threads=posix
> --disable-checking --with-system-zlib --enable-__cxa_atexit
> --disable-libunwind-exceptions --enable-java-awt=gtk
> --host=i386-redhat-linux
> Thread model: posix
> gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)
> 
> The results are:
> g++ -o obj_linux_x86_r/gnugk     -L/usr/local/voip/src/ptlib/lib
> -L/usr/local/voip/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  ./obj_linux_x86_r/radproto.o
> ./obj_linux_x86_r/radauth.o  ./obj_linux_x86_r/radacct.o -lh323_linux_x86_r
> -lpt_linux_x86_r  -lldap -llber -lldap_r  -lpthread -lsasl2 -lssl -lcrypto
> -lexpat -lSDL -lresolv -ldl
> /usr/local/voip/src/ptlib/lib/libpt_linux_x86_r.so: undefined reference to
> `BIO_set_flags'
> /usr/local/voip/src/ptlib/lib/libpt_linux_x86_r.so: undefined reference to
> `BIO_clear_flags'
> collect2: ld returned 1 exit status
> make: *** [obj_linux_x86_r/gnugk] Error 1
> 
> I suppose that something was changed in GNU GK (cvs) because not so long ago
> I was able to compile it on the same machine. Please suggest what should I
> do?


-- 
Jan Willamowius, jan@xxxxxxxxxxxxxx, 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:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
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/

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

  Powered by Linux