From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16283 invoked by alias); 27 Aug 2007 07:21:17 -0000 Received: (qmail 15909 invoked by uid 22791); 27 Aug 2007 07:21:15 -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; Mon, 27 Aug 2007 07:21:06 +0000 Received: from ariga (p3109-ipbf1207marunouchi.tokyo.ocn.ne.jp [124.84.132.109]) by pop132.ocn.ne.jp (OCN) with SMTP id l7R7L3vH004368 for ; Mon, 27 Aug 2007 16:21:03 +0900 (JST) Message-ID: <000501c7e87a$d433fee0$1c0110ac@ariga> From: "ariga masahiro" To: Date: Mon, 27 Aug 2007 07:21:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-2022-jp"; reply-type=original 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: [ECOS] How to make Stand_Alone void in "net" pachage ? X-SW-Source: 2007-08/txt/msg00140.txt.bz2 Hi everyone, I am sorry,I feel dumb about this, I am permanently in predicament. Would you please teach me patiently ? I made ecos.lib by using "net" package. I liked to use interrupt,so I made CYGPKG_IO_ETH_DRIVERS_STAND_ALONE void by inserting "default_value 0". I succeeded building ecos.lib, but when I linked with nc_test_slave.c error appeared. Looks wrongly included, /opt/ecos/gnutools/sh-elf/sh-elf/include whereas at good time(i.e. CYGPKG_IO_ETH_DRIVERS_STAND_ALONE=1) /cygwin/home/LINK/inserter20070827-for-nc_test_slave-net/untitled1_instal l/include. /LINK/inserter20070827-for-nc_test_slave-net is ecos.lib's work directory. How should I do correctry to make CYGPKG_IO_ETH_DRIVERS_STAND_ALONE=0 in "net" package ? Or samely,how do I make it possible to use interrupt in Ethernet ? --below succesful making log(i.e. CYGPKG_IO_ETH_DRIVERS_STAND_ALONE=1) $ make sh-elf-gcc -c -o nc_test_slave.o -g -Wall -I/ecos-c/cygwin/home/LINK/inserter200 70827-for-nc_test_slave-net/untitled1_install/include -ffunction-sections -fdata -sections nc_test_slave.c In file included from /ecos-c/cygwin/home/LINK/inserter20070827-for-nc_test_slav e-net/untitled1_install/include/pkgconf/hal.h:17, from /ecos-c/cygwin/home/LINK/inserter20070827-for-nc_test_slav e-net/untitled1_install/include/pkgconf/kernel.h:13, from /ecos-c/cygwin/home/LINK/inserter20070827-for-nc_test_slav e-net/untitled1_install/include/cyg/posix/muttypes.h:60, from /ecos-c/cygwin/home/LINK/inserter20070827-for-nc_test_slav e-net/untitled1_install/include/sys/types.h:97, from /ecos-c/cygwin/home/LINK/inserter20070827-for-nc_test_slav e-net/untitled1_install/include/sys/param.h:719, from nc_test_framework.h:39, from nc_test_slave.c:34: /ecos-c/cygwin/home/LINK/inserter20070827-for-nc_test_slave-net/untitled1_instal l/include/pkgconf/hal_sh_sh77x9_inserter.h:41:1: warning: "CYG_HAL_STARTUP_RAM" redefined In file included from /ecos-c/cygwin/home/LINK/inserter20070827-for-nc_test_slav e-net/untitled1_install/include/pkgconf/net.h:11, from /ecos-c/cygwin/home/LINK/inserter20070827-for-nc_test_slav e-net/untitled1_install/include/sys/param.h:707, from nc_test_framework.h:39, from nc_test_slave.c:34: /ecos-c/cygwin/home/LINK/inserter20070827-for-nc_test_slave-net/untitled1_instal l/include/pkgconf/system.h:33:1: warning: this is the location of the previous d efinition sh-elf-gcc -nostartfiles -L/ecos-c/cygwin/home/LINK/inserter20070827-for-nc_test _slave-net/untitled1_install/lib -Wl,--gc-sections -Wl,--Map -Wl,nc_test_slave.m ap -o nc_test_slave nc_test_slave.o -Ttarget.ld -nostdlib -- below is error making log(i.e. CYGPKG_IO_ETH_DRIVERS_STAND_ALONE=0) $ make sh-elf-gcc -c -o nc_test_slave.o -g -Wall -I/ecos-c/cygwin/home/LINK/inserter200 70827-for-nc_test_slave-net-standalone-0/untitled1_install/include -ffunction-se ctions -fdata-sections nc_test_slave.c In file included from nc_test_framework.h:39, from nc_test_slave.c:34: /opt/ecos/gnutools/sh-elf/sh-elf/include/sys/param.h:97:28: sys/simplelock.h: No such file or directory /opt/ecos/gnutools/sh-elf/sh-elf/include/sys/param.h:344:27: machine/param.h: No such file or directory /opt/ecos/gnutools/sh-elf/sh-elf/include/sys/param.h:345:28: machine/limits.h: N o such file or directory In file included from nc_test_framework.h:40, from nc_test_slave.c:34: /opt/ecos/gnutools/sh-elf/sh-elf/include/sys/socket.h:171: parse error before "u _int8_t" /opt/ecos/gnutools/sh-elf/sh-elf/include/sys/socket.h:174: parse error before '} ' token /opt/ecos/gnutools/sh-elf/sh-elf/include/sys/socket.h:189: parse error before "u _int8_t" /opt/ecos/gnutools/sh-elf/sh-elf/include/sys/socket.h:192: parse error before "_ _ss_pad2" /opt/ecos/gnutools/sh-elf/sh-elf/include/sys/socket.h:194: parse error before '} ' token /opt/ecos/gnutools/sh-elf/sh-elf/include/sys/socket.h:344: parse error before "s ocklen_t" /opt/ecos/gnutools/sh-elf/sh-elf/include/sys/socket.h:348: parse error before "m sg_controllen" /opt/ecos/gnutools/sh-elf/sh-elf/include/sys/socket.h:350: parse error before '} ' token /opt/ecos/gnutools/sh-elf/sh-elf/include/sys/socket.h:370: parse error before "s ocklen_t" /opt/ecos/gnutools/sh-elf/sh-elf/include/sys/socket.h:374: parse error before '} ' token In file included from /opt/ecos/gnutools/sh-elf/sh-elf/include/sys/socket.h:425, from nc_test_framework.h:40, from nc_test_slave.c:34: /opt/ecos/gnutools/sh-elf/sh-elf/include/sys/cdefs.h:85:27: machine/cdefs.h: No such file or directory In file included from nc_test_framework.h:40, from nc_test_slave.c:34: /opt/ecos/gnutools/sh-elf/sh-elf/include/sys/socket.h:428: parse error before "s ocklen_t" /opt/ecos/gnutools/sh-elf/sh-elf/include/sys/socket.h:429: parse error before "s ocklen_t" /opt/ecos/gnutools/sh-elf/sh-elf/include/sys/socket.h:430: parse error before "s ocklen_t" /opt/ecos/gnutools/sh-elf/sh-elf/include/sys/socket.h:431: parse error before "s ocklen_t" /opt/ecos/gnutools/sh-elf/sh-elf/include/sys/socket.h:432: parse error before "s ocklen_t" /opt/ecos/gnutools/sh-elf/sh-elf/include/sys/socket.h:433: parse error before "s ocklen_t" /opt/ecos/gnutools/sh-elf/sh-elf/include/sys/socket.h:436: parse error before "s ocklen_t" /opt/ecos/gnutools/sh-elf/sh-elf/include/sys/socket.h:440: parse error before "s ocklen_t" /opt/ecos/gnutools/sh-elf/sh-elf/include/sys/socket.h:442: parse error before "s ocklen_t" In file included from nc_test_framework.h:41, from nc_test_slave.c:34: /opt/ecos/gnutools/sh-elf/sh-elf/include/sys/ioctl.h:80:24: sys/ttycom.h: No suc h file or directory /opt/ecos/gnutools/sh-elf/sh-elf/include/sys/ioctl.h:100:22: sys/dkio.h: No such file or directory /opt/ecos/gnutools/sh-elf/sh-elf/include/sys/ioctl.h:101:23: sys/filio.h: No suc h file or directory In file included from nc_test_framework.h:43, from nc_test_slave.c:34: /opt/ecos/gnutools/sh-elf/sh-elf/include/sys/time.h:187: field `it_interval' has incomplete type /opt/ecos/gnutools/sh-elf/sh-elf/include/sys/time.h:188: field `it_value' has in complete type /opt/ecos/gnutools/sh-elf/sh-elf/include/sys/time.h:189: confused by earlier err ors, bailing out make: *** [nc_test_slave.o] Error 1 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 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