This is the mail archive of the ecos-discuss@sourceware.org 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]

"old_net" package building error


Hi everyone,

I am rather meshed up,so I restore my startline.

I like to build ecos-lib for linking with net test program nc_test_slave.
I like to use OpenBSD Stack so I selected "old_net" in Package Pulldown
in Templates window of configtool.

Previously I noticed there lurked configure mistake and appeared Conflict error,
"CYGINT_ISO_STRING_BSD_FUNCS Unsatisfied Requires
1>=CYGINT_ISO_STRING_BSD_FUNCS"
but I amended error in CDL file.
(I have inserted next line in cdl_package CYGPKG_NET.
implements CYGINT_ISO_STRING_BSD_FUNCS
I deleted it.
)
Then previous building error
/opt/ecos/ecos-2.0/packages/language/c/libc/stdio/v2_0/src/output/vfnprintf.cxx:675:
internal error: Segmentation fault
dissapeared.


But again first error happened.
make[1]: Leaving directory `/ecos-c/cygwin/home/LINK/inserter20070824-oldnet-from0803-2/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/inserter20070824-oldnet-from0803-2/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


I thought that CYGINT_ISO_STRING_BSD_FUNCS mistake was all cause of all errors,
but I am confirmed it is not concerned with up-mentioned error.


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.

When I build using "net"package,it suceeded.

I like to use "OpenBSD Stack" so it is necessary to build using "old_net".

Please teach me to resolve this error.

As for Andrew's suggestion that I should get latest eCos version.
I checked eCos site,
http://ecos.sourceware.org/getstart.html
and affirmed v2.0 is latetest version.

Also since I installed 2-3 months ago,I am not inclined to
think version out-of-dateness.

Of cource I am willing to listen to professional opinion.
In that case please teach me how to version-up.

I would appreciate your help.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]