<div class="gmail_quote">
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I have downloaded nagios 3.2.0 and iam trying to cross compile for xscale big endian platform. <br> <br>It configured fine as shown below but while compiling, i get Error. <br>
 <br>I configured as <br>./configure host=xscale CC=xscale_be-gcc<br>checking for a BSD-compatible install... /usr/bin/install -c<br>checking build system type... i686-pc-linux-gnu<br>checking host system type... xscale-unknown-none<br>
checking for xscale-gcc... xscale_be-gcc<br>checking for C compiler default output file name... a.out<br>checking whether the C compiler works... yes<br>checking whether we are cross compiling... yes<br>checking for suffix of executables...<br>
checking for suffix of object files... o<br>checking whether we are using the GNU C compiler... yes<br>checking whether xscale_be-gcc accepts -g... yes<br>checking for xscale_be-gcc option to accept ANSI C... none needed<br>
checking whether make sets $(MAKE)... yes<br>checking for strip... /usr/bin/strip<br>checking how to run the C preprocessor... xscale_be-gcc -E<br><br>    and so on................<br> <br>then When i do a "make all',<br>
I get the error as below<br> <br>In file included from ../include/nebcallbacks.h:29,<br>                 from broker.c:30:<br>../include/nebmodules.h:80: error: parse error before "lt_ptr"<br>../include/nebmodules.h:80: warning: no semicolon at end of struct or union<br>
../include/nebmodules.h:81: warning: data definition has no type or storage class<br>../include/nebmodules.h:91: error: parse error before '}' token<br>../include/nebmodules.h:91: warning: data definition has no type or storage class<br>
In file included from broker.c:30:<br>../include/nebcallbacks.h:81: error: parse error before '*' token<br>In file included from broker.c:32:<br>../include/nebmods.h:54: error: parse error before '*' token<br>
../include/nebmods.h:57: error: parse error before '*' token<br> <br>Iam using xscale_be-gcc (GCC) 3.3.1<br> <br>"make cgis" compiles fine without any errors. <br> <br>Please help me how to proceed. <br>
</blockquote>
<div><br> </div>
<div><br> </div></div><br>