[ECOS] can't build http daemon (system monitor demo) with old_net template

Andrew Lunn andrew@lunn.ch
Sun Mar 13 18:26:00 GMT 2005


On Fri, Mar 11, 2005 at 10:03:58AM +0800, tuyun wrote:
> ecos-discuss??hello??
> 
> 	
> 	I select the old_net template,then add the package http server. 
> There is the error:
> arm-elf-gcc -c  -I/ecos-d/ecossave/old_net_install/include -I/ecos-j/embeded/ecos/ecos/packages/net/httpd/current -I/ecos-j/embeded/ecos/ecos/packages/net/httpd/current/src -I/ecos-j/embeded/ecos/ecos/packages/net/httpd/current/tests -I. -I/ecos-j/embeded/ecos/ecos/packages/net/httpd/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef  -g -O2 -ffunction-sections -fdata-sections  -fno-exceptions   -D__ECOS -Wp,-MD,src/monitor.tmp -o src/net_httpd_monitor.o /ecos-j/embeded/ecos/ecos/packages/net/httpd/current/src/monitor.c
> /ecos-j/embeded/ecos/ecos/packages/net/httpd/current/src/monitor.c:94:24: sys/sysctl.h: No such file or directory
> /ecos-j/embeded/ecos/ecos/packages/net/httpd/current/src/monitor.c: In function `cyg_monitor_network':
> /ecos-j/embeded/ecos/ecos/packages/net/httpd/current/src/monitor.c:1023: warning: long int format, u_int32_t arg (arg 4)
> /ecos-j/embeded/ecos/ecos/packages/net/httpd/current/src/monitor.c:1025: warning: long int format, u_int32_t arg (arg 4)
> /ecos-j/embeded/ecos/ecos/packages/net/httpd/current/src/monitor.c:1027: warning: long int format, u_int32_t arg (arg 4)
> /ecos-j/embeded/ecos/ecos/packages/net/httpd/current/src/monitor.c:1029: warning: long int format, u_int32_t arg (arg 4)
> /ecos-j/embeded/ecos/ecos/packages/net/httpd/current/src/monitor.c:1033: warning: long int format, u_int32_t arg (arg 4)
> /ecos-j/embeded/ecos/ecos/packages/net/httpd/current/src/monitor.c:1035: warning: long int format, u_int32_t arg (arg 4)
> /ecos-j/embeded/ecos/ecos/packages/net/httpd/current/src/monitor.c:1037: warning: long int format, different type arg (arg 4)
> /ecos-j/embeded/ecos/ecos/packages/net/httpd/current/src/monitor.c:1041: warning: long int format, u_int32_t arg (arg 4)
> /ecos-j/embeded/ecos/ecos/packages/net/httpd/current/src/monitor.c:1043: warning: long int format, u_int32_t arg (arg 4)
> /ecos-j/embeded/ecos/ecos/packages/net/httpd/current/src/monitor.c:1045: warning: long int format, different type arg (arg 4)
> /ecos-j/embeded/ecos/ecos/packages/net/httpd/current/src/monitor.c:1100: warning: assignment from incompatible pointer type
> make[1]: Leaving directory `/d/ecossave/old_net_build/net/httpd/current'
> make[1]: *** [src/monitor.o.d] Error 1
> make: Leaving directory `/d/ecossave/old_net_build'
> 
> 
> Is the monitor only written for free bsp stack?

Yes. Monitor will only compile for the FreeBSD stack. The main httpd
engine should compile with both stacks. You just need to disable
monitor. Turn off CYGPKG_HTTPD_MONITOR.

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list