public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Re: net configuration problem
@ 2007-08-23  2:29 ariga masahiro
  2007-08-23  8:56 ` ariga masahiro
  0 siblings, 1 reply; 5+ messages in thread
From: ariga masahiro @ 2007-08-23  2:29 UTC (permalink / raw)
  To: ecos-discuss

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

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [ECOS] Re: net configuration problem
@ 2007-08-23  2:59 ariga masahiro
  0 siblings, 0 replies; 5+ messages in thread
From: ariga masahiro @ 2007-08-23  2:59 UTC (permalink / raw)
  To: ecos-discuss

Hi everyone,

I am very sorry fo bothering you many after-done mails.

But I am in a rather paniky mode so allow me.

When I tried to build ecos library
after inserted CYGPKG_NET_OPENBSD_STACK
I remenbered there happened error messages in configtool winow.

Next are messages.
/opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0/cdl/freebsd_net.cdl, package 
CYGPKG_NET_FREEBSD_STACK: error
    Option `CYGPKG_NET_NGIF' cannot be loaded.
    The name is already in use.
/opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0/cdl/freebsd_net.cdl, package 
CYGPKG_NET_FREEBSD_STACK: error
    Option `CYGPKG_NET_NLOOP' cannot be loaded.
    The name is already in use.
/opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0/cdl/freebsd_net.cdl, package 
CYGPKG_NET_FREEBSD_STACK: error
    Option `CYGPKG_NET_MEM_USAGE' cannot be loaded.
    The name is already in use.
/opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0/cdl/freebsd_net.cdl, package 
CYGPKG_NET_FREEBSD_STACK: error
    Option `CYGPKG_NET_NUM_WAKEUP_EVENTS' cannot be loaded.
    The name is already in use.
/opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0/cdl/freebsd_net.cdl, package 
CYGPKG_NET_FREEBSD_STACK: error
    Option `CYGPKG_NET_THREAD_PRIORITY' cannot be loaded.
    The name is already in use.
/opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0/cdl/freebsd_net.cdl, package 
CYGPKG_NET_FREEBSD_STACK: error
    Option `CYGPKG_NET_FAST_THREAD_PRIORITY' cannot be loaded.
    The name is already in use.
/opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0/cdl/freebsd_net.cdl, package 
CYGPKG_NET_FREEBSD_STACK: error
    Component `CYGPKG_NET_FAST_THREAD_TICKLE_DEVS' cannot be loaded.
    The name is already in use.
CYGHWR_NET_DRIVER_ETH0_ADDRS, no radio buttons are set

I hope these give you hints for resolving my damn 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

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: [ECOS] Re: net configuration problem
@ 2007-08-23  4:04 ariga masahiro
  0 siblings, 0 replies; 5+ messages in thread
From: ariga masahiro @ 2007-08-23  4:04 UTC (permalink / raw)
  To: 韩爽; +Cc: ecos-discuss

Hi Han Shuang and others,

Thank you,Han,for your reply.

Han Shuang wrote,
>To use OpenBSD you should choose the old_net template

After I deleted  CYGPKG_NET_OPENBSD_STACK from
template definition in ecos.db,I tried to configure using "old net".

You are right,changed to use tcpip directory files instead  bsd_tcpip.

But I was encountered the same error.

make[1]: Leaving directory 
`/ecos-c/cygwin/home/LINK/inserter20070823-for-nc_test_slave-old-net/untitled_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-old-net/untitled_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

Are you pinpoint the cause of error ?

Anyway thank you for your reply.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-08-24 11:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-23  2:29 [ECOS] Re: net configuration problem ariga masahiro
2007-08-23  8:56 ` ariga masahiro
2007-08-24 11:38   ` Gary Thomas
2007-08-23  2:59 ariga masahiro
2007-08-23  4:04 ariga masahiro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).