problem in compiling gnugk-2.2.1

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

 



I have FreeBSD 4.10-RELEASE (GENERIC) #0: Tue May 25 22:47:12 GMT 2004

1. When I was trying to compile PWLIB, I received error something about
"pthreads". I used both gcc-3.4.4 from ports and standart gcc-2.95.4,
result was the same. So I compiled PWLIB Pandora release (v1.7.5) from
ports. Latest from cvs was 1.5.0_5 so I decided to make trick. I
downloaded Pandora release, put it to /usr/ports/distfiles/, wrote MD5
cheksum and size in /usr/ports/devel/pwlib/distinfo, added USE_GCC= 3.4 to
/usr/ports/devel/pwlib/Makefile. Removed all patches from
/usr/ports/devel/pwlib/files/ and after that PWLIB compiled successfully.

2. Then I compiled OPENH323, using gcc-3.4.4. It sent me errors too, but
after copying 2 files
(cp /usr/ports/comms/ixj/work/ixj_freebsd/ixjuser.h
/root/openh323/include/sys/
cp /usr/ports/comms/ixj/work/ixj_freebsd/telephony.h
/root/openh323/include/sys/) OPENH323 compiled successfully.

3. Next and last is gnugk-2.2.1. I just set all needed enviroment:
PWLIBDIR=/usr/ports/devel/pwlib/work/pwlib
OPENH323DIR=/root/openh323
LD_LIBRARY_PATH=/usr/ports/devel/pwlib/work/pwlib/lib:/root/openh323/lib:/root/gnugk-2.2.1/lib
CXX=/usr/local/bin/gcc34
CXXCPP=/usr/local/bin/cpp34
OPENH323GKDIR=/root/gnugk-2.2.1

typed "./configure --disable-pgsql --disable-mysql
--with-large-fdset=8192" and then "gmake optnoshared"
after some time I received big error, I show only the end:

assert.o(.text+0x238): undefined reference to `std::basic_ostream<char,
std::char_traits<char> >& std::operator<< <std::char_traits<char>
>(std::basic_ostream<char, std::char_traits<char> >&, char const*)'
/usr/ports/devel/pwlib/work/pwlib/lib/libpt_FreeBSD_x86_r_s.a(assert.o):
In function `__static_initialization_and_destruction_0(int, int)':
assert.o(.text+0x26f): undefined reference to `std::ios_base::Init::Init()'
assert.o(.text+0x28b): undefined reference to `std::ios_base::Init::~Init()'
/usr/ports/devel/pwlib/work/pwlib/lib/libpt_FreeBSD_x86_r_s.a(assert.o)(.eh_frame+0x11):
undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
gmake[1]: *** [obj_FreeBSD_x86_r/gnugk] Error 1
gmake[1]: Leaving directory `/root/gnugk-2.2.1'
gmake: *** [optnoshared] Error 2


I need help.



--------------------
Artem Panchenko




-------------------------------------------------------
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

_______________________________________________________

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