[OpenSIPStack] =?iso-8859-1?q?R=E9f=2E_=3A_Re=3A__R=E9f=2E_=3A__R?= =?iso-8859-1?q?=E9f=2E_=3A_Re=3
Brought to you by:
joegenbaclor
From: Kolneath S. <kol...@sa...> - 2007-08-03 12:57:51
|
Yes, Joegen, I have recompiled the expat source with the cross compiling=20 option. So, now I arrive at the end of OpenSBC compilation...and the executable=20 code is there :) and the rest is just the test. By the way, could you tell me how to eliminate some undesired classes as=20 the opensbc execuable is really big (already with the options=20 --enable-expat --enable-minsize and disable most options) ? I already have = a look in the opensipstack makefile but I didn't see where I can eliminate = some classes ( options ). Have a nice weekend, Best reagards, Kolneath SOMETH "Joegen E. Baclor" <joe...@gm...> Envoy=E9 par : ope...@li... 03/08/2007 12:14 Veuillez r=E9pondre =E0 jbaclor; Veuillez r=E9pondre =E0 opensipstack-devel Remis le : 03/08/2007 12:15 =20 Pour : jb...@so..., ope...@li...urcef= orge.net cc : ope...@li..., (ccc : Ko= lneath=20 SOMETH/DRD/SAGEM) Objet : Re: [OpenSIPStack] R=E9f. : R=E9f. : Re: OSS : Crosscompil= ing compilation=20 problem If I am not mistaken, If you are cross compiling, the first thing that=20 you need to cross compile would be expat itself. You need to modify=20 the configure script to not bother looking for expat. So you might need=20 to remove the block that checks for expat. After the configure script=20 has succeeded, you may then manually modify ptbuildopts.h to enable=20 expat and modify the linker flags in the makefile to point to your cross=20 compiled expat lib. Joegen E. Baclor wrote: > Expat is a dependency of OpenSIPStack applications. You will not be=20 > able to compile them without it. Expat is used in both ATLSIP and=20 > OpenSBC code. If you need to get rid of the XML classes, you will have = > to manually remove these classes from the Makefile and modify OpenSBC to = > not use the classes. OpenSBC uses XML for the HTTP Admin. I think=20 > this is doable with some amount of work. However, I think you should=20 > dig deeper how to actually make expat work instead of hacking the=20 library. > > > Kolneath SOMETH wrote: >=20 >> Hi Joegen, >> >> While I passed the arguments such as --disable-expat --disable-vxml.... = to=20 >> ./configure in the folder of opensipstack, I see that the existence=20 >> checking of this associated library ie. expat.h vxml.h.... are still=20 >> lauched by configure. Hence, in opensbc, while I compiled opensbc it=20 seems=20 >> that those associated classes still get compiled and ( there are some=20 >> errors : undefined reference). >> >> But, I have a look in the pwlib folder, I tried to run=20 >> opensipstack/src/pwlib/configure --disable-expat.... I see that the=20 >> existence checking are not lauched, this might help to eliminate the=20 >> undesired class.=20 >> >> Would you have a look so that we can eliminate the classes that we=20 don't=20 >> want to compile. >> >> Thank you in advance, >> >> Best regards, >> Kolneath SOMETH >> kol...@sa... >> kol...@en... >> Mobile : +33 (0)6 18 17 32 45 >> >> >> >> >> >> "Kolneath SOMETH" <kol...@sa...> >> >> Envoy=E9 par : ope...@li... >> 02/08/2007 13:52 >> Veuillez r=E9pondre =E0 opensipstack-devel >> Remis le : 02/08/2007 13:53 >> >>=20 >> Pour : jb...@so... >> cc : ope...@li..., (ccc :=20 Kolneath=20 >> SOMETH/DRD/SAGEM) >> Objet : [OpenSIPStack] R=E9f. : Re: OSS : Crosscompiling=20 compilation problem >> >> >> >> Hi Joegen, >> >> Thank you for your help.=20 >> I modified at the line " for ac=5Fheader in `echo=20 >> "${OPENSIPSTACKDIR}/external/Expat-2.0.0/lib/expat.h"` " to point to=20 the=20 >> expat directory. >> I did the same way too (as decribe in the forum u provided) by disable=20 the=20 >> >> exit(1) of every existence checking expat, sdl, sqlite,... >> But the compilation error still persists for the (-lexpat)....I am=20 finding=20 >> >> it out... >> >> I will let you know for further findings... >> >> Thanks and Best regards, >> Kolneath SOMETH >> kol...@sa... >> kol...@en... >> Mobile : +33 (0)6 18 17 32 45 >> >> >> >> >> >> "Joegen E. Baclor" <joe...@gm...> >> >> 02/08/2007 04:51 >> Veuillez r=E9pondre =E0 jbaclor >> Remis le : 02/08/2007 04:51 >> >>=20 >> Pour : Kolneath SOMETH <kol...@sa...> >> cc : ope...@li... >> Objet : Re: OSS : Crosscompiling compilation problem >> >> >> >> Hi Kolneath, >> >> I can't really help you out with cross compiling issues because I do=20 not=20 >> have prior experience cross compiling OpenSIPStack myself. It would be = >> a case of the blind leading the blind. Anyway, it seems your problem=20 >> has already been discussed in OpenH323 mailing list. See this thread >>=20 >> http://www.openh323.org/pipermail/openh323/Week-of-Mon-20060911/077847.h= tml >> >> >> If you are able to solve this problem, please provide your findings to=20 >> me so I could update the documentations so that others with the same=20 >> problems as yours may have some reference to work with in the future. >> >> Good luck. >> >> Joegen >> >> Kolneath SOMETH wrote: >>=20 >>=20 >>> Hello Everyone, >>> >>> I launched the ./configure script followed by --host mips-linux (cross = >>> compiling). The error says that *checking for=20 >>> /usr/local/include/expat.h... configure: error: cannot check for file=20 >>> existence when cross compiling * >>> >>> As I am root (on my own machine), I copied the expat.h which exists=20 >>> normally under /usr/include into the needed directory=20 >>> /usr/local/include/ in order to cope with this problem. >>> >>> But the previous message still shows even I am able to locate the=20 >>> missing file in that folder. So this means that when the system is=20 >>> crosscompiling, it is unable to check for the existence of the the .h=20 >>> files ? >>> >>> Could any of you kindly give me the direction in order to get through=20 >>> this problem please. >>> >>> Thanks and best regards, >>> >>> Kolneath SOMETH >>> >>> " Ce courriel et les documents qui y sont attaches peuvent contenir=20 >>> des informations confidentielles. Si vous n'etes pas le destinataire=20 >>> escompte, merci d'en informer l'expediteur immediatement et de=20 >>> detruire ce courriel ainsi que tous les documents attaches de votre=20 >>> systeme informatique. Toute divulgation, distribution ou copie du=20 >>> present courriel et des documents attaches sans autorisation prealable = >>> de son emetteur est interdite." >>> >>> " This e-mail and any attached documents may contain confidential or=20 >>> proprietary information. If you are not the intended recipient, please = >>> advise the sender immediately and delete this e-mail and all attached=20 >>> documents from your computer system. Any unauthorised disclosure,=20 >>> distribution or copying hereof is prohibited." >>>=20 >>>=20 >> >> >> >> >> " Ce courriel et les documents qui y sont attaches peuvent contenir des = >> informations confidentielles. Si vous n'etes pas le destinataire=20 >> escompte, merci d'en informer l'expediteur immediatement et de detruire = ce=20 >> courriel ainsi que tous les documents attaches de votre systeme=20 >> informatique. Toute divulgation, distribution ou copie du present=20 courriel=20 >> et des documents attaches sans autorisation prealable de son emetteur=20 est=20 >> interdite."=20 >> >> " This e-mail and any attached documents may contain confidential or=20 >> proprietary information. If you are not the intended recipient, please=20 >> advise the sender immediately and delete this e-mail and all attached=20 >> documents from your computer system. Any unauthorised disclosure,=20 >> distribution or copying hereof is prohibited." >>=20 ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> >> >> >> >> " Ce courriel et les documents qui y sont attaches peuvent contenir des = informations confidentielles. Si vous n'etes pas le destinataire=20 escompte, merci d'en informer l'expediteur immediatement et de detruire ce = courriel ainsi que tous les documents attaches de votre systeme=20 informatique. Toute divulgation, distribution ou copie du present courriel = et des documents attaches sans autorisation prealable de son emetteur est=20 interdite."=20 >> >> " This e-mail and any attached documents may contain confidential or=20 proprietary information. If you are not the intended recipient, please=20 advise the sender immediately and delete this e-mail and all attached=20 documents from your computer system. Any unauthorised disclosure,=20 distribution or copying hereof is prohibited." >>=20 ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> >>=20 >>=20 > > > >=20 ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > >=20 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F opensipstack-devel mailing list ope...@li... https://lists.sourceforge.net/lists/listinfo/opensipstack-devel " Ce courriel et les documents qui y sont attaches peuvent contenir des inf= ormations confidentielles. Si vous n'etes pas le destinataire escompte, me= rci d'en informer l'expediteur immediatement et de detruire ce courriel ai= nsi que tous les documents attaches de votre systeme informatique. Toute di= vulgation, distribution ou copie du present courriel et des documents attac= hes sans autorisation prealable de son emetteur est interdite."=20 " This e-mail and any attached documents may contain confidential or propri= etary information. If you are not the intended recipient, please advise the= sender immediately and delete this e-mail and all attached documents from = your computer system. Any unauthorised disclosure, distribution or copying = hereof is prohibited." |