Re: [Sofia-sip-devel] Sofia-sip for Symbian (Open C version) with GCCE compiler
Uh, sorry my mistake: first you need to run sofia-sip\open_c\autogen.cmd and sofia-sip\open_c\build_sources.cmd files. Note that for this you need awk for Windows (mawk). When running abld the compiler might complain about not finding the Open C headers. Then just correct the paths according to your environment and re-run. Please report if you face any issues and I'll try to fix them asap. BR, Martti On 7/17/07 3:06 PM, ext Otso Kassinen [EMAIL PROTECTED] wrote: Hi. We have faced a problem when trying to compile Sofia-sip for Open C, for use on the Symbian platform. Based on Martti Mela's instructions for building the Open C ported Sofia, we entered the following commands: cd sofia-sip\open_c\group bldmake bldfiles abld build gcce urel (Please note that the ARMV5 compiler is not available; we used GCCE instead, although Martti recommends abld build armv5 urel.) The following compilation error occurs: X:\sofia-sip\libsofia-sip-ua\su\su.c:185: #error su_localinfo() cannot map interface name to number How can this error be corrected? Is it a bug, or maybe something that works for ARMV5 but not for GCCE? (We didn't try ARMV5 build, because the ARMV5 compiler is commercial, according to our knowledge. We didn't want to purchase it just for trying it.) With great probability, we need to use Open C Sofia-sip in our project, so we would appreciate the help of Sofia-sip experts on this error. Details of our build environment * Sofia-sip version: We downloaded the module sofia-sip from the Darcs repository http://sofia-sip.org/repos/ yesterday, on 16 July 2007 * Open C has been installed and the Open C examples work in our system * X: drive is a subst'ed drive that contains the Symbian SDK directories (because Sofia-sip MMP files referred to absolute paths like \Epoc32\...) * We heard of the Open C based Sofia-sip port being available in Martti's message http://article.gmane.org/gmane.comp.telephony.sofia-sip.devel/1717 Regards, - Otso Kassinen MediaTeam Oulu Research Group University of Oulu Finland - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
Re: [Sofia-sip-devel] Sofia-sip for Symbian (Open C version) with GCCE compiler
Thanks for the quick reply. We tried the new commands. Unfortunately, the build still fails. Can you spot what's wrong in our build efforts? Here are the exact commands which I entered: realdarcs get http://www.sofia-sip.org/repos/sofia-sip/ cd sofia-sip\open_c\ autogen.cmd (No errors were displayed) build_sources.cmd (No errors were displayed) cd group bldmake bldfiles abld build gcce urel And here's the output of the compile: (...First comes a long list of copy-operations of header files...) make -r -f \EPOC32\BUILD\sofia-sip\open_c\group\GCCE.make MAKEFILE VERBOSE=-s perl -S makmake.pl -D \sofia-sip\open_c\group\LIBSOFIA-SIP-UA GCCE WARNING: Frozen .DEF file \sofia-sip\open_c\EABI\libsofia-sip-uaU.DEF not found - project not frozen initialiseConfig: GCCE X:\sofia-sip\libsofia-sip-ua\su\su.c:185: #error su_localinfo() cannot map interface name to number ERROR: cpp.EXE failure make: *** [MAKEFILELIBSOFIA-SIP-UA] Error 33 make -r -f \EPOC32\BUILD\sofia-sip\open_c\group\GCCE.make LIBRARY VERBOSE=-s make -s -r -f \EPOC32\BUILD\sofia-sip\open_c\group\LIBSOFIA-SIP-UA\GCCE\LIBSOFIA-SIP-UA.GCCE LIBRARY make[1]: \EPOC32\BUILD\sofia-sip\open_c\group\LIBSOFIA-SIP-UA\GCCE\LIBSOFIA-SIP-UA.GCCE: No such file or directory make[1]: *** No rule to make target `\EPOC32\BUILD\sofia-sip\open_c\group\LIBSOFIA-SIP-UA\GCCE\LIBSOFIA-SIP-UA.GCCE'. Stop. make: *** [LIBRARYLIBSOFIA-SIP-UA] Error 2 make -r -f \EPOC32\BUILD\sofia-sip\open_c\group\GCCE.make RESOURCE CFG=UREL VERBOSE=-s make -s -r -f \EPOC32\BUILD\sofia-sip\open_c\group\LIBSOFIA-SIP-UA\GCCE\LIBSOFIA-SIP-UA.GCCE RESOURCEUREL make[1]: \EPOC32\BUILD\sofia-sip\open_c\group\LIBSOFIA-SIP-UA\GCCE\LIBSOFIA-SIP-UA.GCCE: No such file or directory make[1]: *** No rule to make target `\EPOC32\BUILD\sofia-sip\open_c\group\LIBSOFIA-SIP-UA\GCCE\LIBSOFIA-SIP-UA.GCCE'. Stop. make: *** [RESOURCELIBSOFIA-SIP-UA] Error 2 make -r -f \EPOC32\BUILD\sofia-sip\open_c\group\GCCE.make TARGET CFG=UREL VERBOSE=-s make -s -r -f \EPOC32\BUILD\sofia-sip\open_c\group\LIBSOFIA-SIP-UA\GCCE\LIBSOFIA-SIP-UA.GCCE UREL make[1]: \EPOC32\BUILD\sofia-sip\open_c\group\LIBSOFIA-SIP-UA\GCCE\LIBSOFIA-SIP-UA.GCCE: No such file or directory make[1]: *** No rule to make target `\EPOC32\BUILD\sofia-sip\open_c\group\LIBSOFIA-SIP-UA\GCCE\LIBSOFIA-SIP-UA.GCCE'. Stop. make: *** [TARGETLIBSOFIA-SIP-UA] Error 2 make -r -f \EPOC32\BUILD\sofia-sip\open_c\group\GCCE.make FINAL CFG=UREL VERBOSE=-s One more bit of info on our build environment: we have Symbian SDK 3rd Ed. FP1 for Symbian OS 9.2. Also 'mawk' has been installed. - Otso Kassinen MediaTeam Oulu Research Group University of Oulu Finland On Wed, 18 Jul 2007, Martti Mela wrote: Uh, sorry my mistake: first you need to run sofia-sip\open_c\autogen.cmd and sofia-sip\open_c\build_sources.cmd files. Note that for this you need awk for Windows (mawk). When running abld the compiler might complain about not finding the Open C headers. Then just correct the paths according to your environment and re-run. Please report if you face any issues and I'll try to fix them asap. BR, Martti On 7/17/07 3:06 PM, ext Otso Kassinen [EMAIL PROTECTED] wrote: Hi. We have faced a problem when trying to compile Sofia-sip for Open C, for use on the Symbian platform. Based on Martti Mela's instructions for building the Open C ported Sofia, we entered the following commands: cd sofia-sip\open_c\group bldmake bldfiles abld build gcce urel (Please note that the ARMV5 compiler is not available; we used GCCE instead, although Martti recommends abld build armv5 urel.) The following compilation error occurs: X:\sofia-sip\libsofia-sip-ua\su\su.c:185: #error su_localinfo() cannot map interface name to number How can this error be corrected? Is it a bug, or maybe something that works for ARMV5 but not for GCCE? (We didn't try ARMV5 build, because the ARMV5 compiler is commercial, according to our knowledge. We didn't want to purchase it just for trying it.) With great probability, we need to use Open C Sofia-sip in our project, so we would appreciate the help of Sofia-sip experts on this error. Details of our build environment * Sofia-sip version: We downloaded the module sofia-sip from the Darcs repository http://sofia-sip.org/repos/ yesterday, on 16 July 2007 * Open C has been installed and the Open C examples work in our system * X: drive is a subst'ed drive that contains the Symbian SDK directories (because Sofia-sip MMP files referred to absolute paths like \Epoc32\...) * We heard of the Open C based Sofia-sip port being available in Martti's message http://article.gmane.org/gmane.comp.telephony.sofia-sip.devel/1717 Regards, - Otso Kassinen MediaTeam Oulu Research Group University of Oulu Finland - This SF.net email is sponsored by DB2
[Sofia-sip-devel] Sofia-sip for Symbian (Open C version) with GCCE compiler
Hi. We have faced a problem when trying to compile Sofia-sip for Open C, for use on the Symbian platform. Based on Martti Mela's instructions for building the Open C ported Sofia, we entered the following commands: cd sofia-sip\open_c\group bldmake bldfiles abld build gcce urel (Please note that the ARMV5 compiler is not available; we used GCCE instead, although Martti recommends abld build armv5 urel.) The following compilation error occurs: X:\sofia-sip\libsofia-sip-ua\su\su.c:185: #error su_localinfo() cannot map interface name to number How can this error be corrected? Is it a bug, or maybe something that works for ARMV5 but not for GCCE? (We didn't try ARMV5 build, because the ARMV5 compiler is commercial, according to our knowledge. We didn't want to purchase it just for trying it.) With great probability, we need to use Open C Sofia-sip in our project, so we would appreciate the help of Sofia-sip experts on this error. Details of our build environment * Sofia-sip version: We downloaded the module sofia-sip from the Darcs repository http://sofia-sip.org/repos/ yesterday, on 16 July 2007 * Open C has been installed and the Open C examples work in our system * X: drive is a subst'ed drive that contains the Symbian SDK directories (because Sofia-sip MMP files referred to absolute paths like \Epoc32\...) * We heard of the Open C based Sofia-sip port being available in Martti's message http://article.gmane.org/gmane.comp.telephony.sofia-sip.devel/1717 Regards, - Otso Kassinen MediaTeam Oulu Research Group University of Oulu Finland - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel