error compiling libjinlge... help

R

Raffounz

Hi everyone, I've installed Fedora Core 5 and SuSe 10.1 on my laptop,
installed glib
and ortp 0.7.1, run ./configure with success, but when I type make
after a while I receive this error:

if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I../.. -DPOSIX -g -O2 -MT socketadapters.lo -MD -MP
-MF ".deps/socketadapters.Tpo" -c -o socketadapters.lo
socketadapters.cc; \
then mv -f ".deps/socketadapters.Tpo" ".deps/socketadapters.Plo"; else
rm -f ".deps/socketadapters.Tpo"; exit 1; fi
.../../talk/base/base64.h:25: error: extra qualification 'Base64::' on
member 'Base64Table'
.../../talk/base/base64.h:26: error: extra qualification 'Base64::' on
member 'DecodeTable'
.../../talk/base/stringutils.h:258: error: extra qualification
'cricket::Traits<char>::' on member 'empty_str'
make[3]: *** [socketadapters.lo] Error 1
make[3]: Leaving directory `/usr/src/libjingle-0.3.0/talk/base'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/libjingle-0.3.0/talk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/libjingle-0.3.0'
make: *** [all] Error 2
[root@localhost libjingle-0.3.0]#

I've tried even with version 0.2.1 of libjingle but I have the same
problem. What can I do? As i said, I have Fedora Core 5 (kernel
2.6.15-1.2054_FC5-i686), and I haven't this porblem on my other Linux
installation (OpenSuSe 10.0).
 
M

mlimber

Raffounz said:
Hi everyone, I've installed Fedora Core 5 and SuSe 10.1 on my laptop,
installed glib
and ortp 0.7.1, run ./configure with success, but when I type make
after a while I receive this error:

if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I../.. -DPOSIX -g -O2 -MT socketadapters.lo -MD -MP
-MF ".deps/socketadapters.Tpo" -c -o socketadapters.lo
socketadapters.cc; \
then mv -f ".deps/socketadapters.Tpo" ".deps/socketadapters.Plo"; else
rm -f ".deps/socketadapters.Tpo"; exit 1; fi
../../talk/base/base64.h:25: error: extra qualification 'Base64::' on
member 'Base64Table'
../../talk/base/base64.h:26: error: extra qualification 'Base64::' on
member 'DecodeTable'
../../talk/base/stringutils.h:258: error: extra qualification
'cricket::Traits<char>::' on member 'empty_str'
make[3]: *** [socketadapters.lo] Error 1
make[3]: Leaving directory `/usr/src/libjingle-0.3.0/talk/base'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/libjingle-0.3.0/talk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/libjingle-0.3.0'
make: *** [all] Error 2
[root@localhost libjingle-0.3.0]#

I've tried even with version 0.2.1 of libjingle but I have the same
problem. What can I do? As i said, I have Fedora Core 5 (kernel
2.6.15-1.2054_FC5-i686), and I haven't this porblem on my other Linux
installation (OpenSuSe 10.0).

We can't help you based on the information given. See this guideline
about posting code that doesn't work:

http://parashift.com/c++-faq-lite/how-to-post.html#faq-5.8

Make sure your follow-up question also fits the topic of this group,
which is defined here:

http://parashift.com/c++-faq-lite/how-to-post.html#faq-5.9

Cheers! --M
 
P

Pete C

Raffounz said:
<snip> ... when I type make after a while I receive this error:


<snip>
../../talk/base/base64.h:25: error: extra qualification 'Base64::' on
member 'Base64Table'

This is a compilation error that occurs when you write inline functions
like this:

class C
{
void C::nothing() {} // error: 'C::' not allowed here
};

It's not your fault, it's an error in the libjingle source code (as you
would have seen if you'd looked at the sourceforge bugs page).

You can either install an earlier g++, or (preferably) fix the error in
the source. Don't forget to submit your patch!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,776
Messages
2,569,602
Members
45,184
Latest member
ZNOChrista

Latest Threads

Top