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]

NET package (free BSD errors)


To ECOS World:
Recently I downloaded the binutils(v2.15) and
gcc(v3.2.2) stuff from anonymous cvs, and built the
gnu tools to install ecos on a PC. I am using ecos_cfg
tool(v2.11). I selected a template (i386 PC taget with
i82544 gigabit ethernet ) and tried to build Library.
But the tool gave me the following errors:


i386-elf-gcc -c 
-I/ecos-f/ecos_cfg_files/i386pc_giga/giga_test_install/include
-I/ecos-f/ecos/packages/net/bsd_tcpip/current
-I/ecos-f/ecos/packages/net/bsd_tcpip/current/src
-I/ecos-f/ecos/packages/net/bsd_tcpip/current/tests
-I.
-I/ecos-f/ecos/packages/net/bsd_tcpip/current/src/sys/netinet/
-finline-limit=7000 -Wall -Wpointer-arith
-Wstrict-prototypes -Winline -Wundef  -g -O2
-ffunction-sections -fdata-sections  -fno-exceptions  
-D_KERNEL -Wp,-MD,src/sys/netinet/ip_mroute.tmp -o
src/sys/netinet/net_bsd_tcpip_ip_mroute.o
/ecos-f/ecos/packages/net/bsd_tcpip/current/src/sys/netinet/ip_mroute.c
/ecos-f/ecos/packages/net/bsd_tcpip/current/src/sys/netinet/ip_mroute.c:
In function `ip_mrouter_init':
/ecos-f/ecos/packages/net/bsd_tcpip/current/src/sys/netinet/ip_mroute.c:590:
error: `expire_upcalls_ch' has an incomplete type
make[1]: Leaving directory
`/f/ecos_cfg_files/i386pc_giga/giga_test_build/net/bsd_tcpip/current'
/ecos-f/ecos/packages/net/bsd_tcpip/current/src/sys/netinet/ip_mroute.c:
In function `X_ip_mrouter_done':
make: Leaving directory
`/f/ecos_cfg_files/i386pc_giga/giga_test_build'
/ecos-f/ecos/packages/net/bsd_tcpip/current/src/sys/netinet/ip_mroute.c:634:
error: too many arguments to function `untimeout'
/ecos-f/ecos/packages/net/bsd_tcpip/current/src/sys/netinet/ip_mroute.c:
In function `expire_upcalls':
/ecos-f/ecos/packages/net/bsd_tcpip/current/src/sys/netinet/ip_mroute.c:1381:
error: `expire_upcalls_ch' has an incomplete type
/ecos-f/ecos/packages/net/bsd_tcpip/current/src/sys/netinet/ip_mroute.c:
In function `cyg_rsvp_input':
/ecos-f/ecos/packages/net/bsd_tcpip/current/src/sys/netinet/ip_mroute.c:2151:
warning: unused variable `proto'
/ecos-f/ecos/packages/net/bsd_tcpip/current/src/sys/netinet/ip_mroute.c:
At top level:
/ecos-f/ecos/packages/net/bsd_tcpip/current/src/sys/netinet/ip_mroute.c:232:
error: storage size of `expire_upcalls_ch' isn't known
make[1]: *** [src/sys/netinet/ip_mroute.o.d] Error 1
make: *** [build] Error 2




I searched for "expire_upcalls_ch" which is defined as
"static struct callout_handle expire_upcalls_ch; "
But I haven't found "callout_handle" anywhere in the
repository.
I checked for "untimeout function" and found where it
has been used as "untimeout(expire_upcalls,
(caddr_t)NULL, expire_upcalls_ch);", but untimeout()
has been defined as "void untimeout(timeout_fun *fun,
void * arg){}".

Can anyone came across these errors before and solved,
Or can anyone suggest how to fix these errors.

Thanks in advance,
Bhanu.






		
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail 

-- 
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]