[Live-devel] compiling live on arm9

Richard Guy Briggs richard.briggs at lumenera.com
Thu Apr 22 19:29:08 PDT 2004


Ross Finlayson wrote:

>> Things go fine, succeeding first on the liveMedia directory, then on the
>> first 3 items in groupsock (GroupsockHelper.cpp, GroupEId.cpp, inet.c)
>> and then bomb on:
>>
>> arm-linux-g++  -c -O2  -Dlinux -D__linux__ -Dunix -DEMBED -nostdinc
>> -I/home/rgb/svn/trunk/snapgear/lib/uClibc/include
>> -I/home/rgb/svn/trunk/snapgear/lib/libcrypt_old
>> -I/home/rgb/svn/trunk/snapgear -idirafter
>> /usr/local/lib/gcc-lib/arm-linux/3.2.1/include
>> -I/home/rgb/svn/trunk/snapgear/linux-2.4.x/include -Iinclude
>> -I../UsageEnvironment/include -I. -O -DSOCKLEN_T=socklen_t -Wall -DBSD=1
>> Groupsock.cpp
>> Groupsock.cpp:31:21: strstream: No such file or directory
>>
>> strstream is available in the expected standard path of
>> /usr/local/include/c++/3.2.1/backward .
>
>
> But apparently it's not being found.  So, I suggest adding
>         -I/usr/local/include/c++/3.2.1/backward
> to COMPILE_OPTS in your "config.arm-linux" file, to ensure that the
> compiler gets to search that directory.


I had tried that too, but abandonned it when the deprecation errors came
up along with a huge pile of other errors, starting with:

In file included from /usr/local/include/c++/3.2.1/backward/strstream:51,
                 from Groupsock.cpp:31:
/usr/local/include/c++/3.2.1/backward/backward_warning.h:32:2: warning:
#warning This file includes at least one deprecated or antiquated
header. Please consider using one of the 32 headers found in section
17.4.1.2 of the C++ standard. Examples include substituting the <X>
header for the <X.h> header for C++ includes, or <sstream> instead of
the deprecated header <strstream.h>. To disable this warning use
-Wno-deprecated.
In file included from Groupsock.cpp:31:
/usr/local/include/c++/3.2.1/backward/strstream:52:18: iosfwd: No such
file or directory
/usr/local/include/c++/3.2.1/backward/strstream:53:15: ios: No such file
or directory
/usr/local/include/c++/3.2.1/backward/strstream:54:19: istream: No such
file or directory
/usr/local/include/c++/3.2.1/backward/strstream:55:19: ostream: No such
file or directory
/usr/local/include/c++/3.2.1/backward/strstream:56:18: string: No such
file or directory
In file included from Groupsock.cpp:31:
/usr/local/include/c++/3.2.1/backward/strstream:62: parse error before `<'
   token
/usr/local/include/c++/3.2.1/backward/strstream:67: `_Traits' was not
declared
   in this scope
...
...
...



Adding in the parent directory to the -I list does not help... even
though that is where those others are...

I'll check with the arm folks too...

>     Ross Finlayson





More information about the live-devel mailing list