[reSIProcate] resiprocate-devel Digest, Vol 48, Issue 18
Bruce Lowekamp
lowekamp at sipeerior.com
Thu May 1 11:48:57 CDT 2008
Doesn't matter much. On the platforms where I've done that sort of
thing, I do it in a makefile that is a parent to resip. If I was doing
it just for resip, I would probably put something in
build/Makefile.tools that was specific to this particular toolchain
you're using.
Bruce
Mandeep Ahuja wrote:
> Hi Bruce,
>
> Which makefile should i put these flags in and where? I have figured
> what directory I have to include but how do I pass it down to ares and
> following compiles.
>
> Thanks
> Mandeep
>
>
> Bruce Lowekamp wrote:
>
>>
>> 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