[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] unknown option --fatal-warnings



Hi again Tom,

Can you please replace the current test (around line 92 of petalinux-dist/vendors/config/common/config.arch) with the following (all one one line)

LDFLAGS += $(shell if $(CC) -Wl,--fatal-warnings -nostdlib -xc /dev/null -o /tmp/$$$$.out > /dev/null 2>&1; then echo "-Wl,--fatal-warnings"; rm /tmp/$$$$.out; fi;)

and tell me if it works for you?

Thanks,

John


Tom wrote:
Hi,

I am trying to go thru the tutorial for the XILINX
XC3S500E board. All steps work fine without any
errors, but at the "make all" command I get the error
message attached below. Seems as if the linker is
complaining about an option called "--fatal-warnings".
I am really new to building kernels and have no idea
how to resolve this problem. Any hint would be great.
Hope, I have attached enough information for this
issue. All commands entered before are given exactly
as in the tutorial. Btw. Downloading the pre-build
iamges works fine.

Thanks in advance.

Kind regards,

Marcus


These are the last few lines given by the command
"make all":

Making symlinks in include/
make[2]: Leaving directory
`/home/marcus/tmp/petalinux-v0.20-rc3/software/petalinux-dist/include'
make make_links                        || exit $?
make[2]: Entering directory
`/home/marcus/tmp/petalinux-v0.20-rc3/software/petalinux-dist/lib'
Making symlinks in lib/
make[2]: Leaving directory
`/home/marcus/tmp/petalinux-v0.20-rc3/software/petalinux-dist/lib'
make[1]: Leaving directory
`/home/marcus/tmp/petalinux-v0.20-rc3/software/petalinux-dist/lib'
make[1]: Entering directory
`/home/marcus/tmp/petalinux-v0.20-rc3/software/petalinux-dist/include'
find . -depth -type l -a ! -name Makefile -exec rm {}
\; >> /dev/null 2>&1 || exit 0
find . -depth -type d -not -path '*.svn*' -not -path
'*CVS*' -not -path "." -exec rmdir {} \;  >> /dev/null
2>&1 || exit 0
Making symlinks in include/
make[1]: Leaving directory
`/home/marcus/tmp/petalinux-v0.20-rc3/software/petalinux-dist/include'
make[1]: Entering directory
`/home/marcus/tmp/petalinux-v0.20-rc3/software/petalinux-dist/user'
for i in agetty busybox cgi_generic cgihtml/examples
cxxtest dhcpcd-new dhrystone fileutils flatfsd fnord
ftpd games gpio-test hd inetd init keypad-test login
mtd-utils net-tools netflash ping portmap ramimage
shutils sysutils telnetd thttpd version
/home/marcus/tmp/petalinux-v0.20-rc3/software/petalinux-dist/vendors/Xilinx/Spartan3E500-RevC/.
/home/marcus/tmp/petalinux-v0.20-rc3/software/petalinux-dist/prop;
do \
                if [ -d $i ]; then \
                        touch $i/.sgbuilt_user; \
                        make -C $i || exit $? ; \
                fi; \
        done
make[2]: Entering directory
`/home/marcus/tmp/petalinux-v0.20-rc3/software/petalinux-dist/user/agetty'
microblaze-uclinux-gcc  -Os -g -fomit-frame-pointer
-pipe -fno-common -fno-builtin -Wall  -mno-xl-soft-mul
-mno-xl-soft-div -mxl-barrel-shift -mcpu=v6.00.b -DEMBED
-I/home/marcus/tmp/petalinux-v0.20-rc3/software/petalinux-dist
-I/home/marcus/tmp/petalinux-v0.20-rc3/software/petalinux-dist/include
-I/home/marcus/tmp/petalinux-v0.20-rc3/software/petalinux-dist/include
-Dlinux -D__linux__ -Dunix -D__uClinux__ -DLINUX
-D__USE_BSD   -c -o agetty.o agetty.c
microblaze-uclinux-gcc  -Wl,--fatal-warnings
-L/home/marcus/tmp/petalinux-v0.20-rc3/software/petalinux-dist/lib
-mno-xl-soft-mul -mno-xl-soft-div -mxl-barrel-shift
-mcpu=v6.00.b  -o agetty agetty.o
/home/marcus/tmp/petalinux-v0.20-rc3/tools/linux-i386/microblaze-uclinux-tools/bin/../lib/gcc/microblaze-uclinux/3.4.1/../../../../microblaze-uclinux/bin/ld.real:
Unbekannte Option >>--fatal-warnings<<
/home/marcus/tmp/petalinux-v0.20-rc3/tools/linux-i386/microblaze-uclinux-tools/bin/../lib/gcc/microblaze-uclinux/3.4.1/../../../../microblaze-uclinux/bin/ld.real:
use the --help option for usage information
collect2: ld returned 1 exit status
make[2]: *** [agetty] Fehler 1
make[2]: Leaving directory
`/home/marcus/tmp/petalinux-v0.20-rc3/software/petalinux-dist/user/agetty'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory
`/home/marcus/tmp/petalinux-v0.20-rc3/software/petalinux-dist/user'
make: *** [subdirs] Fehler 1
marcus@inspiron:~/tmp/petalinux-v0.20-rc3/software/petalinux-dist>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/



___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/