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

tuyun tuyun263@sohu.com
Fri Mar 11 16:09:00 GMT 2005


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?

            Regards
 				

        tuyun
        tuyun263@sohu.com
          2005-03-11


More information about the Ecos-discuss mailing list