[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ccrtp-devel] baby steps: ccrtp, uclibc++, embedded openWRT
From: |
David Sugar |
Subject: |
Re: [Ccrtp-devel] baby steps: ccrtp, uclibc++, embedded openWRT |
Date: |
Sun, 19 Nov 2006 10:13:01 -0500 |
User-agent: |
Thunderbird 1.5.0.8 (Macintosh/20061025) |
I see the problem. It is actually in libccgnu2.pc. It passes -I the
ccinclude directory rather than the include dir. ccinclude was
depreciated. This will be fixed in the next common c++ release shortly
(sometime today), along with another unrelated solaris compile bug.
Werner Dittmann wrote:
> Chuck,
>
> probably you are missing the commoncpp library that contains some basic
> stuff used by ccRTP, such as threads, mutexes etc.
>
> Please have a look at:
> http://wiki.gnutelephony.org/index.php/GNU_Common_CPP_Framework
>
> to get some more info about this.
>
> Regards,
> Werner
>
>
> Chuck Harrison wrote:
>> Hi,
>>
>> disclaimer: I'm a bit of a n00b so if this is the wrong place to
>> post please point me elsewhere.
>>
>> I'm bringing up an rtp-based audio system on an embedded mips
>> processor under the openWRT linux distro, http://www.openwrt.org .
>> I have uClibc++ (an embedded-systems substitute for stdlibc++)
>> common c++ 1.5.1, and ccrtp 1.5.0.
>>
>> My first surprise is that ccrtp configure decides that
>> pkg_cv_COMMON_CFLAGS='-D_GNU_SOURCE
>> -I/home/trunk/build_mipsel/commoncpp2-1.5.1/include/cc++2/cc++2 '
>> The only subdirectory under my commoncpp2-1.5.1/include is cc++,
>> which contains things like address.h, buffer.h, ... zstream.h .
>>
>> My second surprise (which is also an include-files issue but I
>> think it's independent) is that ccrtp compile fails with
>> "_Atomic_word does not name a type". This is libtool calling g++:
>>
>> mipsel-linux-uclibc-g++ -DHAVE_CONFIG_H -I. -I. -I.
>> -I/home/trunk/staging_dir_m
>> ipsel/usr/include -I/home/trunk/staging_dir_mipsel/include -Wall -ansi
>> -pedantic
>> -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fno-builtin
>> -fno-rtti -nostdi
>> nc++ -D_GNU_SOURCE
>> -I/home/trunk/build_mipsel/commoncpp2-1.5.1/include/cc++2/cc+
>> +2 -c rtppkt.cpp -fPIC -DPIC -o .libs/rtppkt.o
>> In file included from private.h:89,
>> from rtppkt.cpp:44:
>> /home/trunk/staging_dir_mipsel/usr/include/cc++/thread.h:539: error:
>> `_Atomic_wo
>> rd' does not name a type
>>
>> Now _Atomic_word is defined in atomic_word.h
>> address@hidden:/home/trunk$ ls
>> staging_dir_mipsel/include/c++/3.4.6/mipsel-linux-
>> uclibc/bits
>> atomic_word.h c++locale.h [...]
>>
>> and included from atomicity.h
>> address@hidden:/home/trunk$ ls staging_dir_mipsel/include/c++/3.4.6/bits
>> allocator.h locale_facets.h stl_pair.h
>> atomicity.h locale_facets.tcc stl_queue.h
>> basic_ios.h localefwd.h [...]
>>
>> and both of these are under the
>> -I/home/trunk/staging_dir_mipsel/include
>> path given to g++.
>>
>> Thanks for any help.
>>
>> Cheers,
>> Chuck
>>
>>
>> _______________________________________________
>> Ccrtp-devel mailing list
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/ccrtp-devel
>>
>
>
>
> _______________________________________________
> Ccrtp-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/ccrtp-devel
- [Ccrtp-devel] baby steps: ccrtp, uclibc++, embedded openWRT, Chuck Harrison, 2006/11/18
- Re: [Ccrtp-devel] baby steps: ccrtp, uclibc++, embedded openWRT, Werner Dittmann, 2006/11/19
- Re: [Ccrtp-devel] baby steps: ccrtp, uclibc++, embedded openWRT,
David Sugar <=
- [Ccrtp-devel] from rtppkt.cpp:44: ... include/cc++/address.h:240: error: extra '; ', Chuck Harrison, 2006/11/20
- Re: [Ccrtp-devel] from rtppkt.cpp:44: ... include/cc++/address.h:240: error: extra '; ', David Sugar, 2006/11/21
- Re: [Ccrtp-devel] from rtppkt.cpp:44: ... include/cc++/address.h:240:error: extra '; ', Chuck Harrison, 2006/11/21
- [Ccrtp-devel] rtcpp-1.5.0/demo/rtpsend ... undefined reference to 'pthread_...', Chuck Harrison, 2006/11/21
- Re: [Ccrtp-devel] rtcpp-1.5.0/demo/rtpsend ... undefined reference to'pthread_...', Chuck Harrison, 2006/11/23