[reSIProcate] resiprocate-devel Digest, Vol 48, Issue 18

Bruce Lowekamp lowekamp at sipeerior.com
Wed Apr 30 21:46:18 CDT 2008


Your compiler is misconfigured.  ostream is a standard c++ include file, 
so if it's not seeing it, the c++ compiler is not configured right.

You need to add to CPPFLAGS something like:

-nostdinc -Icross-compiler-dir/lib/gcc/mipsel-linux-uclibc/3.4.4/include 
-Icross-compiler-dir/include -Icross-compiler-dir/usr/include

or figure out how to get your cross compiler to install correctly.  I 
know openwrt by default installs broken cross compilers.  I don't think 
they're unique.

Just search for where ostream is in your cross-compiler directory.

Bruce





Mandeep Ahuja wrote:
> Hi,
> I checked out the code again and ran it, and got over the white space. 
> So the white space issue is gone.
> Still can't seem to resolve
> [ahuja at canmore resiprocate]$ make
> cd contrib/ares-build.Linux.mips && make
> make[1]: Entering directory 
> `/home/ahuja/Desktop/resiprocate/contrib/ares-build.Linux.mips'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory 
> `/home/ahuja/Desktop/resiprocate/contrib/ares-build.Linux.mips'
> cd rutil; make
> make[1]: Entering directory `/home/ahuja/Desktop/resiprocate/rutil'
> /home/ahuja/aksys/tools/linux/bin/mips_fp_le-g++ -D_REENTRANT  -Os 
> -fno-inline -fno-keep-static-consts -Wall -fPIC -I..       
> -I../build/../contrib/ares -DOS_MAJOR_VER=2 -DOS_MINOR_VER=4 
> -DOS_POINT_VER=22-1 -DOS_PATCH_VER=2115 -DUSE_ARES -c -o 
> obj.small.Linux.mips/DnsUtil.o DnsUtil.cxx
> In file included from ../rutil/Socket.hxx:16,
>                  from DnsUtil.cxx:18:
> ../rutil/TransportType.hxx:4: ostream: No such file or directory <--- 
> This here is at /home/ahuja/aksys/tools/linux/target/usr/include/g++-3. 
> Can't locate it
> make[1]: *** [obj.small.Linux.mips/DnsUtil.o] Error 1
> make[1]: Leaving directory `/home/ahuja/Desktop/resiprocate/rutil'
> make: *** [rutil] Error 2
> 
> Let me know when you have time so you can help me resolve this.
> 
> Thanks a ton
> Mandeep



More information about the resiprocate-devel mailing list