Re: [OpenSIPStack] =?iso-8859-1?q?R=E9f=2E_=3A__R=E9f=2E_=3A_Re=3A_OS?= =?iso-8859-1?q?S_=3A_Cross
Brought to you by:
joegenbaclor
From: Joegen E. B. <joe...@gm...> - 2007-08-03 10:06:37
|
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 library= =2E Kolneath SOMETH wrote: > 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 se= ems=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 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 : Kolnea= th=20 > SOMETH/DRD/SAGEM) > Objet : [OpenSIPStack] R=E9f. : Re: OSS : Crosscompiling compil= ation problem > > > > Hi Joegen, > > Thank you for your help.=20 > I modified at the line " for ac_header in `echo=20 > "${OPENSIPSTACKDIR}/external/Expat-2.0.0/lib/expat.h"` " to point to th= e=20 > expat directory. > I did the same way too (as decribe in the forum u provided) by disable = the=20 > > exit(1) of every existence checking expat, sdl, sqlite,... > But the compilation error still persists for the (-lexpat)....I am find= ing=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 no= t=20 > have prior experience cross compiling OpenSIPStack myself. It would be= =20 > 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.= html > > > If you are able to solve this problem, please provide your findings to = > 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 >> Hello Everyone, >> >> I launched the ./configure script followed by --host mips-linux (cross= =20 >> compiling). The error says that *checking for=20 >> /usr/local/include/expat.h... configure: error: cannot check for file = >> 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 = >> files ? >> >> Could any of you kindly give me the direction in order to get through = >> 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= =20 >> 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= =20 >> advise the sender immediately and delete this e-mail and all attached = >> documents from your computer system. Any unauthorised disclosure,=20 >> distribution or copying hereof is prohibited." >> =20 > > > > > > > " Ce courriel et les documents qui y sont attaches peuvent contenir des= =20 > 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 courr= iel=20 > et des documents attaches sans autorisation prealable de son emetteur e= st=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 = > 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." > -----------------------------------------------------------------------= -- > 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/ > _______________________________________________ > 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 escomp= te, merci d'en informer l'expediteur immediatement et de detruire ce cour= riel ainsi que tous les documents attaches de votre systeme informatique= =2E Toute divulgation, distribution ou copie du present courriel et des d= ocuments attaches sans autorisation prealable de son emetteur est interdi= te."=20 > > " This e-mail and any attached documents may contain confidential or pr= oprietary information. If you are not the intended recipient, please advi= se the sender immediately and delete this e-mail and all attached documen= ts from your computer system. Any unauthorised disclosure, distribution o= r copying hereof is prohibited." > -----------------------------------------------------------------------= -- > 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/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > =20 |