followup: building pjsip in centos 6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Arif,

I would suggest you manually delete the .depend file if find command
is not helping and run "make dep" again. It's all because of corrupted
.depend file.

regards,
Hemant


On Wed, Mar 14, 2012 at 6:37 PM, Arif Hossain <etothepowerpi at hotmail.com> wrote:
> On Wed, 2012-03-14 at 18:40 +0600, Arif Hossain wrote:
>> I'm trying to build pjsip(www.pjsip.org) in centos 6.2 x86 .
>>
>> $git svn info
>>
>> Path: .
>> URL: http://svn.pjsip.org/repos/pjproject/trunk
>> Repository Root: http://svn.pjsip.org/repos
>> Repository UUID: 74dad513-b988-da41-8d7b-12977e46ad98
>> Revision: 3972
>> Node Kind: directory
>> Schedule: normal
>> Last Changed Author: nanang
>> Last Changed Rev: 3972
>> Last Changed Date: 2012-03-09 09:29:05 +0600 (Fri, 09 Mar 2012)
>>
>>
>> Whenever i issue make dep, it completes without showing an error. after
>> i give make it stops with following error.
>>
>> make[3]: Entering directory
>> `/home/freeburn/pjsip/trunk/third_party/build/portaudio'
>> .libportaudio-i686-pc-linux-gnu.depend:1: *** missing separator. ?Stop.
>> make[3]: Leaving directory
>> `/home/freeburn/pjsip/trunk/third_party/build/portaudio'
>> make[2]: *** [libportaudio] Error 2
>> make[2]: Leaving directory
>> `/home/freeburn/pjsip/trunk/third_party/build/portaudio'
>> make[1]: *** [all] Error 1
>> make[1]: Leaving directory
>> `/home/freeburn/pjsip/trunk/third_party/build'
>> make: *** [all] Error 1
>>
>> in faq page of pjsip its said that if this error happens, then
>>
>> make distclean
>>
>> should solve it. But in my case same error happens after make distclean.
>> someone at the pjsip mailing list suggested to remove every *.depend
>> file by :
>>
>> $ find . -name "*.depend" -print | xargs rm -f
>>
>> i've done that. but still no luck. although this not a pjsip mailing
>> list, the problem occurs because of .depend files, so i thought someone
>> can shed some light on it so that i get a clue for solving it.
>>
>> below is the problem creating .depend file. by viewing that file i'm
>> sure there is something wrong with it. because all the stuffed into one
>> line without any line break or spaces. I dont really know what should be
>> the format of .depend files, but i have seen other .depend files in
>> pjsip source trees have one path listing per line and there is a "space"
>> between entries.
>>
>> listing of the faulty .depend file:
>>
>>
>> $cat-n
>> third_party/build/portaudio/.libportaudio-i686-pc-linux-gnu.depend
>>
>> gives following output:
>> 1
>> output/libportaudio-i686-pc-linux-gnu/output/libportaudio-i686-pc-linux-gnu/output/libportaudio-i686-pc-linux-gnu/output/libportaudio-i686-pc-linux-gnu/output/libportaudio-i686-pc-linux-gnu/output/libportaudio-i686-pc-linux-gnu/output/libportaudio-i686-pc-linux-gnu/output/libportaudio-i686-pc-linux-gnu/output/libportaudio-i686-pc-linux-gnu/output/libportaudio-i686-pc-linux-gnu/output/libportaudio-i686-pc-linux-gnu/output/libportaudio-i686-pc-linux-gnu/output/libportaudio-i686-pc-linux-gnu/output/libportaudio-i686-pc-linux-gnu/
>>
>> notice the "1" from "cat -n".
>>
>> sorry for too much "noise", i was trying to be more verbose.
>>
>>
>> thanks in advance.
>>
>>
>>
>
> After reading .depend file more carefully, i've understood it does not
> contain any dependencies at all. its just some incomplete rule name
> smashed togather. so the problem is in "make dep" which failed to
> produce correct dependencies for every module. but this failure should
> be logged somewhere. although make dep does not end with a error notice,
> may be some log file(like build.log) is kept for further scrutiny. I'm
> willing to look at it if anything wrong with the build script. first i
> have to know where the logs for "make dep" is kept.
>> _________________________________
>
>> ______________
>> Visit our blog: http://blog.pjsip.org
>>
>> pjsip mailing list
>> pjsip at lists.pjsip.org
>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>
>
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux