[Live-devel] compiling live on arm9
Ross Finlayson
finlayson at live.com
Thu Apr 22 16:00:06 PDT 2004
>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 have noted that header is deprecated in favour of sstream
Sigh... This "strstrea.h" vs. "strstream" vs. "strstream.h" vs. "sstream"
business is really pissing me off. I wish people would decide once and for
all which one we should be using :-)
Ross Finlayson
LIVE.COM
<http://www.live.com/>
More information about the live-devel
mailing list