[ECOS] Re: Default Network Interface Card support in examples of book Anthony J. Massa - "eCos S/W dev"

Nodir Qodirov nodir.qodirov@gmail.com
Sat Apr 4 15:05:00 GMT 2009


>> -------------------------------->
>> make[1]: *** [src/hal_misc.o.d] Error 1
>> make[1]: *** Waiting for unfinished jobs....
>> cc1.exe: Invalid option `-finline-limit=7000'

> It looks like you need to upgrade your compiler. It does not recognize
> this compiler option, which is should do. So i guess you have an old
> version of the compiler.
>      Andrew

Dear Andrew, first of all thanks for advice!

I updated all of my development tools with latest available ones
(binutils-2.19.1. insight-6.8. gcc-4.3.3.) and with latest eCos
repository too. I tried again and again 3 times (2 times at one
desktop, 1 time on fresh OS system, which hadn't any eCos development
tools before). I mean, I checked each step in details, but I couldn't
build RedBoot (with "i386 PC target with RTL8139 ethernet" template
and "redboot_FLOPPY.ecm" minimal configuration). I changed only
"Redboot Networking" package, setting options "Default IP address" to
"192.168.0.10" and "enabling" checkbox "Do not try to use BOOTP" as
says book  Anthony J. Massa - "eCos S/W dev". When I try to build
RedBoot I'm getting same error message (at all 3 cases) which is:

---------------------------------------------------------------------------------------------------------------->
make: Entering directory `/ecos-d/workdir/redboot_realtek/redboot_build'
make -r -C hal/i386/arch/current headers
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/arch/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/arch/current'
make -r -C hal/i386/generic/current headers
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/generic/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/generic/current'
make -r -C hal/i386/pc/current headers
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/pc/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/pc/current'
make -r -C hal/i386/pcmb/current headers
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/pcmb/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/pcmb/current'
make -r -C io/pci/current headers
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/io/pci/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/io/pci/current'
make -r -C devs/eth/rltk/8139/current headers
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/devs/eth/rltk/8139/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/devs/eth/rltk/8139/current'
make -r -C devs/eth/i386/pc/rltk8139/current headers
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/devs/eth/i386/pc/rltk8139/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/devs/eth/i386/pc/rltk8139/current'
make -r -C hal/common/current headers
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/common/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/common/current'
make -r -C infra/current headers
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/infra/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/infra/current'
make -r -C redboot/current headers
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/redboot/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/redboot/current'
make -r -C isoinfra/current headers
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/isoinfra/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/isoinfra/current'
make -r -C language/c/libc/string/current headers
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/language/c/libc/string/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/language/c/libc/string/current'
make -r -C services/crc/current headers
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/services/crc/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/services/crc/current'
make -r -C io/eth/current headers
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/io/eth/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/io/eth/current'
headers finished
make -r -C hal/i386/arch/current build
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/arch/current'
make[1]: Nothing to be done for `build'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/arch/current'
make -r -C hal/i386/generic/current build
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/generic/current'
make[1]: Nothing to be done for `build'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/generic/current'
make -r -C hal/i386/pc/current build
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/pc/current'
make[1]: Nothing to be done for `build'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/pc/current'
make -r -C hal/i386/pcmb/current build
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/pcmb/current'
make[1]: Nothing to be done for `build'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/pcmb/current'
make -r -C io/pci/current build
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/io/pci/current'
make[1]: Nothing to be done for `build'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/io/pci/current'
make -r -C devs/eth/rltk/8139/current build
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/devs/eth/rltk/8139/current'
make[1]: Nothing to be done for `build'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/devs/eth/rltk/8139/current'
make -r -C devs/eth/i386/pc/rltk8139/current build
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/devs/eth/i386/pc/rltk8139/current'
make[1]: Nothing to be done for `build'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/devs/eth/i386/pc/rltk8139/current'
make -r -C hal/common/current build
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/common/current'
make[1]: Nothing to be done for `build'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/common/current'
make -r -C infra/current build
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/infra/current'
make[1]: Nothing to be done for `build'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/infra/current'
make -r -C redboot/current build
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/redboot/current'
make[1]: Nothing to be done for `build'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/redboot/current'
make -r -C isoinfra/current build
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/isoinfra/current'
make[1]: Nothing to be done for `build'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/isoinfra/current'
make -r -C language/c/libc/string/current build
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/language/c/libc/string/current'
make[1]: Nothing to be done for `build'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/language/c/libc/string/current'
make -r -C services/crc/current build
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/services/crc/current'
make[1]: Nothing to be done for `build'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/services/crc/current'
make -r -C io/eth/current build
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/io/eth/current'
make[1]: Nothing to be done for `build'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/io/eth/current'
make -r -C hal/common/current
/ecos-d/workdir/redboot_realtek/redboot_install/lib/extras.o
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/common/current'
make[1]: `/ecos-d/workdir/redboot_realtek/redboot_install/lib/extras.o'
is up to date.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/common/current'
make -r -C hal/i386/arch/current
/ecos-d/workdir/redboot_realtek/redboot_install/lib/vectors.o
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/arch/current'
make[1]: `/ecos-d/workdir/redboot_realtek/redboot_install/lib/vectors.o'
is up to date.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/arch/current'
make -r -C hal/i386/arch/current
/ecos-d/workdir/redboot_realtek/redboot_install/lib/target.ld
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/arch/current'
make[1]: `/ecos-d/workdir/redboot_realtek/redboot_install/lib/target.ld'
is up to date.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/arch/current'
make -r -C redboot/current
/ecos-d/workdir/redboot_realtek/redboot_install/bin/redboot.elf
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/redboot/current'
i386-elf-gcc -c
-I/ecos-d/workdir/redboot_realtek/redboot_install/include
-I/ecos-d/ecos/packages/redboot/current
-I/ecos-d/ecos/packages/redboot/current/src
-I/ecos-d/ecos/packages/redboot/current/tests -I. -finline-limit=7000
-Wall -Wpointer-arith -Wstrict-prototypes -Wundef  -Wno-write-strings
-g -O2 -ffunction-sections -fdata-sections  -fno-exceptions -o
/ecos-d/workdir/redboot_realtek/redboot_install/lib/version.o
/ecos-d/ecos/packages/redboot/current/src/version.c
i386-elf-gcc -g -nostdlib -Wl,--gc-sections -Wl,-static
-L/ecos-d/workdir/redboot_realtek/redboot_install/lib -Ttarget.ld -o
/ecos-d/workdir/redboot_realtek/redboot_install/bin/redboot.elf
/ecos-d/workdir/redboot_realtek/redboot_install/lib/version.o
/tools/H-I686~1/bin/../lib/gcc/i386-elf/4.3.3/../../../../../H-i686-pc-cygwin/i386-elf/bin/ld:
cannot find libgcc.a
collect2: ld returned 1 exit status
make[1]: *** [/ecos-d/workdir/redboot_realtek/redboot_install/bin/redboot.elf]
Error 1
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/redboot/current'
make: *** [build] Error 2
make: Leaving directory `/ecos-d/workdir/redboot_realtek/redboot_build'

<----------------------------------------------------------------------------------------------------------------

eCos Configuration Tool gives me this error after building 89% of
RedBoot. Maybe I'm doing some small configuration error, if somebody
could build RedBoot for PC target with "Realtek RTL8139 Family PCI
Fast Ethernet NIC" successfully, please give some light...

Thanking for any help,
Nodir.

-- 
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