[ECOS] Re: net configuration problem

ariga masahiro ariga@link-lab.co.jp
Thu Aug 23 02:29:00 GMT 2007


Hi everyone,

After I sent previous mail
I inserted CYGPKG_NET_OPENBSD_STACK
in  template definition and tried to build.
Then I am encountered next error.

What wrong have I done ?

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

Please enlighten me.

Masahiro Ariga

-- below my previous mail,
> Hi everyone,
>
> I beseech you to help me.
>
> I am trying to pass net work test using nc_test_slave.
>
> As prev step,when I made eCos library,
> I chose template package "net".
>
> According to Anthony J.Massa's Book,it says,
> "The eCos Net template includes the OpenBSD implementation".
> So I expected to use OpenBSD Stack..
>
> But I found in Building log,
> it included bsd_tcpip subdirectory files
> like these,
> make -r -C net/bsd_tcpip/v2_0 build
> make[1]: Entering directory 
> `/ecos-c/cygwin/home/LINK/mytarget20070823-for-nc_test_slave/untitled1_build/net/bsd_tcpip/v2_0'
> 
> h-elf-gcc -c  -I/ecos-c/cygwin/home/LINK/mytarget20070823-for-nc_test_slave/untitled1_install/include 
>  -I/opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0 -I/opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0/src 
>  -I/opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0/tests -I. -I/opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0/src/ecos/ 
>  -D_KERNEL -D__ECOS -gdwarf-22 -mb -m3 -Wall -Wpointer-arith -Wstrict-prototypes 
>  -Winline -Wundef -Woverloaded-virtual -ggdb -O2 -ffunction-sections -fdata-sections 
>  -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -D_KERNEL -D__ECOS  
> -Wp,-MD,src/ecos/support.tmp -o src/ecos/net_bsd_tcpip_support.o 
> /opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0/src/ecos/support.c
>
> My target's template definition in ecod.db is below.
> target mytarget {
>        alias       { "mytarget board" }
>        packages    { CYGPKG_HAL_SH
>                      CYGPKG_HAL_SH_SH3
>                      CYGPKG_HAL_SH_SH77X9_mytarget
>                      CYGPKG_IO_FLASH
>                      CYGPKG_DEVS_FLASH_SH_mytarget
>                      CYGPKG_DEVS_FLASH_AMD_AM29XXXXX
>                      CYGPKG_DEVS_ETH_SMSC_LAN91CXX
>                      CYGPKG_DEVS_ETH_SH_mytarget
>                      CYGPKG_IO_SERIAL_SH_mytarget
>                      CYGPKG_IO_SERIAL_SH_SCIF
>                      CYGPKG_IO_ETH_DRIVERS
>        }
>        description "
>           The mytarget provides the packages needed to run
>           eCos on a mytarget board."
> }
> I also used this template definition in making RedBoot.
>
> I like to use OpenBSD Stack,so like to include tcpip subdirectory files.
> What should I do ? 


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



More information about the Ecos-discuss mailing list