This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Re: net configuration problem
- From: "ariga masahiro" <ariga at link-lab dot co dot jp>
- To: <ecos-discuss at ecos dot sourceware dot org>
- Date: Thu, 23 Aug 2007 17:56:19 +0900
- Subject: Re: [ECOS] Re: net configuration problem
- References: <001501c7e52d$797c0b50$1c0110ac@ariga>
Hi everyone,
I tinik that the cause of previous reported Segmentation fault
error entered in my mind.
So I should relate it to you.
--previous reported Segmentation fault
make[1]: Leaving directory
`/ecos-c/cygwin/home/LINK/inserter20070823-for-nc_test_slave-OPENBSD/untitled1_build/net/tcpip/v2_0'
/opt/ecos/ecos-2.0/packages/net/tcpip/v2_0/src/sys/netinet/tcp_input.c: In
function `tcp_input':
make: Leaving directory
`/ecos-c/cygwin/home/LINK/inserter20070823-for-nc_test_slave-OPENBSD/untitled1_build'
/opt/ecos/ecos-2.0/packages/net/tcpip/v2_0/src/sys/netinet/tcp_input.c:2136:
internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[1]: *** [src/sys/netinet/tcp_input.o.d] Error 1
make: *** [build] Error 2
When I build RedBoot,I discovered that if I
include cdl_option CYGFUN_LIBC_STRING_BSD_FUNCS's
next line
implements CYGINT_ISO_STRING_BSD_FUNCS
I was encountered next errors.
-- error log
/ecos-c/cygwin/home/LINK/inserter20070823-oldnet-from0803-NOKOME/untitled1_install/include/pkgconf/hal_sh_sh77x9_inserter.h:41:1:
warning: "CYG_HAL_STARTUP_RAM" redefined
In file included from
/ecos-c/cygwin/home/LINK/inserter20070823-oldnet-from0803-NOKOME/untitled1_install/include/pkgconf/infra.h:12,
from
/ecos-c/cygwin/home/LINK/inserter20070823-oldnet-from0803-NOKOME/untitled1_install/include/cyg/infra/cyg_ass.h:66,
from
/ecos-c/cygwin/home/LINK/inserter20070823-oldnet-from0803-NOKOME/untitled1_install/include/cyg/libc/stdio/stream.hxx:63,
from
/opt/ecos/ecos-2.0/packages/language/c/libc/stdio/v2_0/src/output/vfnprintf.cxx:100:
/ecos-c/cygwin/home/LINK/inserter20070823-oldnet-from0803-NOKOME/untitled1_install/include/pkgconf/system.h:33:1:
warning: this is the location of the previous definition
make[1]: Leaving directory
`/ecos-c/cygwin/home/LINK/inserter20070823-oldnet-from0803-NOKOME/untitled1_build/language/c/libc/stdio/v2_0'
/opt/ecos/ecos-2.0/packages/language/c/libc/stdio/v2_0/src/output/vfnprintf.cxx:
In
make: Leaving directory
`/ecos-c/cygwin/home/LINK/inserter20070823-oldnet-from0803-NOKOME/untitled1_build'
function `int vfnprintf(CYG_ADDRESS (*)[9999], unsigned int, const char*,
void*)':
/opt/ecos/ecos-2.0/packages/language/c/libc/stdio/v2_0/src/output/vfnprintf.cxx:675:
internal
error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[1]: *** [src/output/vfnprintf.o.d] Error 1
make: *** [build] Error 2
There appeared Resolve Conflicts
CYGINT_ISO_STRING_BSD_FUNCS Unsatisfied Requires
1>=CYGINT_ISO_STRING_BSD_FUNCS
and,
Proposed solution:
CYGFUN_LIBC_TIME_POSIX Disabled
CYGIMP_LIBC_TIME_ASCTIME_R_INLINE Disabled
CYGIMP_LIBC_TIME_CTIME_R_INLINE Disabled
CYGIMP_LIBC_TIME_GMTIME_R_INLINE Disabled
CYGIMP_LIBC_TIME_LOCALTIME_R_INLINE Disabled
CYGFUN_LIBC_STRING_BSD_FUNCS Disabled
but I couldn't understand these so I relied auto amendment.
I couldn't resolve this error
so I cheated myself and commented that line.
Now I think this is my original sin.
I think it may resolve by editing CDL files.
Or as Andrew suggests,
this is also eCos version problem ?
Masahiro Ariga
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss