<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2>
<DIV>
<P><FONT face=Arial size=2>Hello <SPAN class=924362412-28052004>to the OLSR
community.</SPAN></FONT></P>
<P><FONT face=Arial size=2>I am trying to cross-compile the OLSR sources with my
cross-compiler: I took the Makefile that is available in the package I
downloaded from unik site and modified it as follows:</FONT></P>
<P><FONT face=Arial size=2></FONT> </P>
<P><FONT face=Arial size=2>#CC= gcc</FONT></P>
<P><FONT face=Arial size=2>CC= /opt/arm/arm-linux/bin/gcc</FONT></P>
<P><SPAN class=924362412-28052004><FONT face=Arial size=2>I already successfully
used this cross-compiler, to compile the power info plugin distributed with
unik-olsr, for example.</FONT></SPAN></P>
<P><FONT face=Arial size=2>When trying to cross-compile OLSR sources I get
plenty of parsing errors tough, in fact the cross-compiler cannot even go trough
compilation of first source fail and I do not have a clue of where those errors
come from (I guess flags and libs are the problem).</FONT></P>
<P><FONT face=Arial size=2><SPAN class=924362412-28052004>Here follows one of
the several compile errors I get:</SPAN></FONT></P>
<P><FONT face=Arial size=2><SPAN
class=924362412-28052004>>/opt/arm/arm-linux/sys-include/net/dst.h:67: parse
error before '}' token<BR>>/opt/arm/arm-linux/sys-include/net/dst.h:77: parse
error before "__u32"<BR>>/opt/arm/arm-linux/sys-include/net/dst.h:85: parse
error before "atomic_t"<BR>>/opt/arm/arm-linux/sys-include/net/dst.h:87:
parse error before '}' token<BR>>In file included from
/opt/arm/include/linux/sched.h:13,<BR>>
from
/opt/arm/arm-linux/sys-include/net/inetpeer.h:14,<BR>>
from
/opt/arm/arm-linux/sys-include/net/route.h:29,<BR>>
from
src/defs.h:28,<BR>>
from src/interface.c:23:<BR>>/opt/arm/include/linux/times.h:5: parse error
before "clock_t"<BR>>/opt/arm/include/linux/times.h:7: parse error before
"tms_cutime"<BR>>/opt/arm/include/linux/times.h:8: parse error before
"tms_cstime"<BR></SPAN></FONT><FONT face=Arial size=2><SPAN
class=924362412-28052004></SPAN></FONT></P>
<P><FONT face=Arial size=2><SPAN class=924362412-28052004>Can anyone help
me?</SPAN></FONT></P>
<P><FONT face=Arial size=2><SPAN class=924362412-28052004>Thank
you.</P></SPAN></FONT></DIV></FONT></DIV></BODY></HTML>