From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8212 invoked by alias); 23 Aug 2007 08:56:33 -0000 Received: (qmail 8065 invoked by uid 22791); 23 Aug 2007 08:56:31 -0000 X-Spam-Check-By: sourceware.org Received: from pop132.ocn.ne.jp (HELO pop132.ocn.ne.jp) (60.37.31.215) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 23 Aug 2007 08:56:28 +0000 Received: from ariga (p3109-ipbf1207marunouchi.tokyo.ocn.ne.jp [124.84.132.109]) by pop132.ocn.ne.jp (OCN) with SMTP id l7N8uO2r025167 for ; Thu, 23 Aug 2007 17:56:25 +0900 (JST) Message-ID: <000c01c7e563$78c9e9d0$1c0110ac@ariga> From: "ariga masahiro" To: References: <001501c7e52d$797c0b50$1c0110ac@ariga> Date: Thu, 23 Aug 2007 08:56:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-2022-jp"; reply-type=response Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Re: net configuration problem X-SW-Source: 2007-08/txt/msg00124.txt.bz2 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 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 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