Not able to compile on OSX

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

 



Check the makefiles 
In many files (third party mostly) in the realclean section there is a consisten error, for example for libgsmcodec... when you do a clean it tries to delete ilbc 
that's why it crashes. There are a lot of errors like this one. See the attached diff. 

third_party/build/gsm/Makefile 
realclean: 
- $(subst @@,$(subst /,$(HOST_PSEP), .ilbc -$(TARGET_NAME).depend),$(HOST_RMR)) 
+ $(subst @@,$(subst /,$(HOST_PSEP), .libgsmcodec -$(TARGET_NAME).depend),$(HOST_RMR)) 

Hope this helps 



From: "Fabian Bernhard" <fbernhard@xxxxxxxxx> 
To: "pjsip list" <pjsip at lists.pjsip.org> 
Sent: Tuesday, April 12, 2011 3:48:02 AM 
Subject: Re: Not able to compile on OSX 


Hello! 


On Tue, Apr 12, 2011 at 9:35 AM, Tony Million < tony at bababoo.com > wrote: 



cd to your pjsip dir and execute 



rm `find . -name "*.depend"` 




then you can do 


make clean 
make dep 
make 





fabian at orion-2:/opt/pjproject$ rm `find . -name "*.depend"` 
fabian at orion-2:/opt/pjproject$ make clean 


[...] 


-> all fine till now, but then: 



fabian at orion-2:/opt/pjproject$ make dep 


gives me lots of strange outputs. Since it is a rather long output, I've posted it to pastebin: 


http://pastebin.com/bY5gYyhB 


(Let me know if you prefer to have them in the email directly) 


"make" then fails with the same errors. May be build environment wrong? Why would the pjsip compilation terminate? 


Thanks a lot! 


Fabian 










On 12 Apr 2011, at 08:24, Fabian Bernhard wrote: 


Hello Jorge 







Could you try doing "make clean all" ? It deletes all the *.o . 




Even "make clean all" gives me an error: 


fabian at orion-2:/opt/pjproject$ make clean all 
for dir in pjlib/build pjlib-util/build pjnath/build third_party/build pjmedia/build pjsip/build pjsip-apps/build ; do \ 
if make -C $dir clean; then \ 
true; \ 
else \ 
exit 1; \ 
fi; \ 
done 
make -f /opt/pjproject/build/rules.mak APP=PJLIB app=pjlib clean 
rm -rf output/pjlib-i386-apple-darwin10.7.0/* 
rm -rf output/pjlib-i386-apple-darwin10.7.0 
make -f /opt/pjproject/build/rules.mak APP=TEST app=pjlib-test clean 
rm -rf output/pjlib-test-i386-apple-darwin10.7.0/* 
rm -rf output/pjlib-test-i386-apple-darwin10.7.0 
make -f /opt/pjproject/build/rules.mak APP=PJLIB_UTIL app=pjlib-util clean 
.pjlib-util-i386-apple-darwin10.7.0.depend:1: *** missing separator. Stop. 
make[1]: *** [clean] Error 2 
make: *** [clean] Error 1 


And then "make dep" and after "make". 




[snip] 

_______________________________________________ 
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 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110412/1a6f225c/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pjsip_third_party_makefile.diff.txt
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110412/1a6f225c/attachment.txt>


[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