2006/6/15, Kai Vehmanen <[EMAIL PROTECTED]>:
Hi,

On Thu, 15 Jun 2006, Diego Serafin wrote:

> I'm a sofia-sip newbie and, after successfully compiling for PC (intel)
> platform I'm trying to cross-compile for ARM920. I did not find file
> docs/devel_platform_notes.txt mentioned in README though: do you have some
> hints to correctly ./configure and make it?

as sofia-sip is using the auto{conf,make} build system, cross-compiling is
very straightforward. Just follow any of the many, many tutorials on how
to cross-compile apps utilizing autotools:

http://www.kernelconcepts.de/~fuchs/gpe/doc/devmanual/x167.html
http://www.scratchbox.org/documentation/docbook/tutorial.html
http://is.rice.edu/~welsh/cross-compiler/Cross-Compiling-bookmarks.html
http://wxwidgets.org/docs/embedded.htm

The exact steps required depend on your build environment - are you using
a regular cross-compiler, or build environment such as Scratchbox (see
above), and where the various tools are installed. But basicly it's just a
question of giving the right params to configure, so something like:

./configure --host=arm-linux --build=i686-pc-linux-gnu && make

--
  under work: Sofia-SIP at http://sofia-sip.sf.net

Thank you for interesting links, but I have an already functional cross-compile environment I use for other projects. It is based on 2.95.3 gcc compiled against kernel 2.4.19 headers.

I found the first problem while compiling su_time.c because structure clockid_t does not exist on 2.4 I think. Resolved manually changing config.h to remove HAVE_CLOCK_GETTIME #define. Any clues? auto-conf failure ?

The second failure I found compiling sres.c: ss_family definition is missing. I did not read any check for 'struct sockaddr_storage' or 'struct sockaddr_storage family field' during ./configure phase.

Keep on trying,
Thank you,
DIego.




_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to