Hi, everybody!

I've done everything the same as xapp730.pdf. But when I tpye "make",
after    several minites(quite a long time),it shows the Error information
below: 

////////the last part of Error information///////////////
/home/simux/uClinux-dist/microblaze-elf-tools/bin/../lib/gcc/microblaze/3.4.1/../../../../microblaze/bin/ld.real:
unrecognized option `--fatal-warnings'
/home/simux/uClinux-dist/microblaze-elf-tools/bin/../lib/gcc/microblaze/3.4.1/../../../../microblaze/bin/ld.real:
use the --help option for usage information
collect2: ld returned 1 exit status
make[3]: *** [busybox] Error 1
make[3]: Leaving directory `/home/simux/uClinux-dist/user/busybox'
make[2]: *** [busybox] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/simux/uClinux-dist/user'
make: *** [subdirs] Error 1
///////the end////////

Then I search the web via Google, and I revised the
/uClinux-dist/tools/ucfront-ld.c according to J.W's suggestion.
After typing:
make -C tools/ucfront clean
make

The Error information still existed. But the system ignored it, while
another Error information appeared:

//////This is the information after the prev Error/////////////////
[EMAIL PROTECTED]:~/uClinux-dist> ucfront-gcc mb-gcc  -Os -g
-fomit-frame-pointer -pipe -fno-common -fno-builtin -Wall   -msoft-float
-mno-xl-soft-mul -mxl-barrel-shift -mno-xl-soft-div  -DEMBED -Dlinux
-D__linux__ -Dunix -D__uClinux__ -D_BSD_SOURCE=1   -c -o client.o client.c
client.c: In function `dhcpConfig':
client.c:601: warning: unused variable `cmd'
client.c: In function `openSocket':
client.c:1184: warning: implicit declaration of function `deletePidFile'
client.c: In function `checkIfAlreadyRunning':
client.c:1577: warning: implicit declaration of function `kill'
ucfront-gcc mb-gcc  -Os -g -fomit-frame-pointer -pipe -fno-common
-fno-builtin -Wall   -msoft-float -mno-xl-soft-mul -mxl-barrel-shift
-mno-xl-soft-div  -DEMBED -Dlinux -D__linux__ -Dunix -D__uClinux__
-D_BSD_SOURCE=1   -c -o dhcpcd.o dhcpcd.c
ucfront-gcc mb-gcc  -Os -g -fomit-frame-pointer -pipe -fno-common
-fno-builtin -Wall   -msoft-float -mno-xl-soft-mul -mxl-barrel-shift
-mno-xl-soft-div  -DEMBED -Dlinux -D__linux__ -Dunix -D__uClinux__
-D_BSD_SOURCE=1   -c -o peekfd.o peekfd.c
peekfd.c: In function `peekfd':
peekfd.c:38: warning: unused variable `__fd'
ucfront-gcc mb-gcc  -Os -g -fomit-frame-pointer -pipe -fno-common
-fno-builtin -Wall   -msoft-float -mno-xl-soft-mul -mxl-barrel-shift
-mno-xl-soft-div  -DEMBED -Dlinux -D__linux__ -Dunix -D__uClinux__
-D_BSD_SOURCE=1   -c -o signals.o signals.c
signals.c: In function `killPid':
signals.c:55: warning: implicit declaration of function `exit'
ucfront-gcc mb-gcc  -Os -g -fomit-frame-pointer -pipe -fno-common
-fno-builtin -Wall   -msoft-float -mno-xl-soft-mul -mxl-barrel-shift
-mno-xl-soft-div  -DEMBED -Dlinux -D__linux__ -Dunix -D__uClinux__
-D_BSD_SOURCE=1   -c -o udpipgen.o udpipgen.c
ucfront-gcc mb-gcc  -Wl,--fatal-warnings -Wl,-elf2flt -Wl,--fatal-warnings
-Wl,-elf2flt -o dhcpcd arp.o buildmsg.o client.o dhcpcd.o peekfd.o
signals.o udpipgen.o
/home/simux/uClinux-dist/microblaze-elf-tools/bin/../lib/gcc/microblaze/3.4.1/../../../../microblaze/bin/ld.real:???????"--fatal-warnings"
/home/simux/uClinux-dist/microblaze-elf-tools/bin/../lib/gcc/microblaze/3.4.1/../../../../microblaze/bin/ld.real:
use the --help option for usage information
collect2: ld returned 1 exit status
make[3]: *** [dhcpcd] Error 1
make[3]: Leaving directory `/home/simux/uClinux-dist/user/dhcpcd-new'
/////////the end///////////////

Does someone settle this problem! I'm very eager to know howto! Any
constructive suggestions are welcome!

xuyun




_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to