This is the mail archive of the ecos-discuss@sources.redhat.com 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]

Re: Problem Problem Problem (i386)


Hi Robby,

Plz, check
http://sources.redhat.com/ml/ecos-discuss/2002-07/msg00164.html
and see if you get some hints...
Regards,
Jose Luiz



Robby Ku wrote:

> Hi...
>
>   Sorry for being a novice in eCos.
> But i really encounters a lot of problems here.
>
> (1) I have been trying to build an Intel x86
> development tools for Windows (follow the instructions
> from
> http://sources.redhat.com/ecos/tools/win-i386-elf.html).
> I've got no problem in configuring and building
> Binutils and GCC. But when I tried to install GDB, the
> following errors appeared:
>
> $ make -w all install CC='gcc -mwin32' 2>&1 | tee
> make.out
> make: Entering directory `/tmp/build/gdb'
> make[1]: Entering directory `/tmp/build/gdb/libiberty'
> if [ x"" != x ]; then \
>   gcc -mwin32 -c -DHAVE_CONFIG_H -g -O2 -I.
> -I/src/gdb/insight-5.1.1/libiberty/.
> ./include  -W -Wall -Wtraditional -pedantic
> /src/gdb/insight-5.1.1/libiberty/ar
> gv.c -o pic/argv.o; \
> else true; fi
> gcc -mwin32 -c -DHAVE_CONFIG_H -g -O2 -I.
> -I/src/gdb/insight-5.1.1/libiberty/../
> include  -W -Wall -Wtraditional -pedantic
> /src/gdb/insight-5.1.1/libiberty/argv.
> c
> cc1.exe: invalid option `win32'
> /src/gdb/insight-5.1.1/libiberty/argv.c:35:20:
> string.h: No such file or directo
> ry
> /src/gdb/insight-5.1.1/libiberty/argv.c:36:20:
> stdlib.h: No such file or directo
> ry
> /src/gdb/insight-5.1.1/libiberty/argv.c: In function
> `dupargv':
> /src/gdb/insight-5.1.1/libiberty/argv.c:100: warning:
> implicit declaration of fu
> nction `malloc'
> /src/gdb/insight-5.1.1/libiberty/argv.c:107: warning:
> implicit declaration of fu
> nction `strlen'
> /src/gdb/insight-5.1.1/libiberty/argv.c:108: warning:
> assignment makes pointer f
> rom integer without a cast
> /src/gdb/insight-5.1.1/libiberty/argv.c:114: warning:
> implicit declaration of fu
> nction `strcpy'
> /src/gdb/insight-5.1.1/libiberty/argv.c: In function
> `freeargv':
> /src/gdb/insight-5.1.1/libiberty/argv.c:152: warning:
> implicit declaration of fu
> nction `free'
> /src/gdb/insight-5.1.1/libiberty/argv.c:154: warning:
> function `free' was previo
> usly declared within a block
> /src/gdb/insight-5.1.1/libiberty/argv.c: In function
> `buildargv':
> /src/gdb/insight-5.1.1/libiberty/argv.c:236: warning:
> function `malloc' was prev
> iously declared within a block
> /src/gdb/insight-5.1.1/libiberty/argv.c:241: warning:
> implicit declaration of fu
> nction `realloc'
> /src/gdb/insight-5.1.1/libiberty/argv.c:315: warning:
> implicit declaration of fu
> nction `strdup'
> /src/gdb/insight-5.1.1/libiberty/argv.c:315: warning:
> assignment makes pointer f
> rom integer without a cast
> make[1]: *** [argv.o] Error 1
> make[1]: Leaving directory `/tmp/build/gdb/libiberty'
> make: *** [all-libiberty] Error 2
> make: Leaving directory `/tmp/build/gdb'
>
> (2) I have installed eCos 1.3.1 on my WinXP PC. I have
> also updated it through CVS using Cygwin. I have set
> the hardware to i386 PC Target with default packages
> under Build>templates. The path for Build tools and
> User tools have also been set. But when I run test, it
> showed me the following:
>
> *** Process 3936 terminated (rc=2)
> *** Killing process 3936 (TerminateProcess)
> *** Process 2448 created "make tests -j1"
> make -r -C hal/common/v1_3_1 headers
> make[1]: Entering directory `/c/Program Files/Red
> Hat/eCos/ecos-work/x86_build/hal/common/v1_3_1'
> makefile:76:
> //C/PROGRA~1/REDHAT~1/eCos/packages/pkgconf/rules.mak:
> No such host or network path
> make[1]:
> stat://C/PROGRA~1/REDHAT~1/eCos/packages/pkgconf/rules.mak:
> No such host or network path
> make[1]: *** No rule to make target
> `//C/PROGRA~1/REDHAT~1/eCos/packages/pkgconf/rules.mak'.
>  Stop.
> make[1]: Leaving directory `/c/Program Files/Red
> Hat/eCos/ecos-work/x86_build/hal/common/v1_3_1'
> make: *** [headers] Error 2
>
> (3) Beside my WinXP Pc, I have a target device
> installed/started up with RedBoot using a bootable
> floppy. Now that I have the RedBoot> prompt, I have
> been trying to load a file from the host, which is my
> WinXP Pc. I have specified the ip addresses for both
> host and local target in redboot. I was able to telnet
> into the redboot target device using my WinXP host PC.
> The problem was that i cant seem to load anything into
> the redboot device through ethernet. I typed the
> following command to try loading a file from reedboot:
>
>   load file_name -b location -m tftp -h host_address
>
> I am using a static IP and tftp has been installed. I
> was able to ping from redboot to host and vice versa.
>
> Note:
> System
> -Host: WinXP PC
> -target device: a x86 SBC installed with RedHat 7.3
>
> Thank you!
>
> Cheers,
>
> Robby Ku
>
> __________________________________________________
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free
> http://sbc.yahoo.com
>
> --
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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


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