This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Compile errors for eCos 2.0 with i386 target


I recently installed the eCos 2.0 development environment and attempted to build the library image for an i386 target with all of the default settings. I received the following compiler errors:

/opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0/src/sys/netinet/ip_mroute.c: In function `ip_mrouter_init':
/opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0/src/sys/netinet/ip_mroute.c:589: `expire_upcalls_ch' has an incomplete type
/opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0/src/sys/netinet/ip_mroute.c: In function `X_ip_mrouter_done':
/opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0/src/sys/netinet/ip_mroute.c:632: too many arguments to function `untimeout'
/opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0/src/sys/netinet/ip_mroute.c: In function `expire_upcalls':
/opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0/src/sys/netinet/ip_mroute.c:1376: `expire_upcalls_ch' has an incomplete type
/opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0/src/sys/netinet/ip_mroute.c: In function `cyg_rsvp_input':
/opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0/src/sys/netinet/ip_mroute.c:2146: warning: unused variable `proto'
/ecos-c/cygwin/opt/ecos/work/smarthub_install/include/net/if_var.h: At top level:
/opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0/src/sys/netinet/ip_mroute.c:232: storage size of `expire_upcalls_ch' isn't known
make[1]: Leaving directory `/ecos-c/cygwin/opt/ecos/work/smarthub_build/net/bsd_tcpip/v2_0'
make[1]: *** [src/sys/netinet/ip_mroute.o.d] Error 1
make: Leaving directory `/ecos-c/cygwin/opt/ecos/work/smarthub_build'
make: *** [build] Error 2


I do not understand why such a basic build would contain compiler errors. This should be tested and passed software, yes? What's going on?

Josh Fitzgerald
San Francisco, CA


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]