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

[microblaze-uclinux] Wireless tools



Hello,

Has anybody used wireless tools? I am facing some issues while
compiling with wireless tools.
I have successfully included/compiled the wireless extensions with the
petalinux tool chain. But for wireless tools I am getting following
error (I am compiling without math lib).

make[2]: Entering directory
`/home/makvi/Work/emb_linux/petalinux-v0.30-rc1/software/petalinux-dist/user/wireless_tools'
microblaze-uclinux-gcc  -Os -g -fomit-frame-pointer -pipe -fno-common
-fno-builtin -Wall  -mno-xl-soft-mul -mcpu=v7.10.d   -DEMBED
-I/home/makvi/Work/emb_linux/petalinux-v0.30-rc1/software/petalinux-dist
-I/home/makvi/Work/emb_linux/petalinux-v0.30-rc1/software/petalinux-dist/include
-I/home/makvi/Work/emb_linux/petalinux-v0.30-rc1/software/petalinux-dist/include
-Dlinux -D__linux__ -Dunix -D__uClinux__ -DLINUX    -DWE_NOLIBM=y  -c
iwlib.c
iwlib.c:45:2: warning: #warning "Wireless Extension later than v16 detected,"
iwlib.c:46:2: warning: #warning "Maybe you should get a more recent version"
iwlib.c:47:2: warning: #warning "of the Wireless Tools package !"
rm -f libiw.a
ar cru libiw.a iwlib.o
ranlib libiw.a
microblaze-uclinux-gcc  -Os -g -fomit-frame-pointer -pipe -fno-common
-fno-builtin -Wall  -mno-xl-soft-mul -mcpu=v7.10.d   -DEMBED
-I/home/makvi/Work/emb_linux/petalinux-v0.30-rc1/software/petalinux-dist
-I/home/makvi/Work/emb_linux/petalinux-v0.30-rc1/software/petalinux-dist/include
-I/home/makvi/Work/emb_linux/petalinux-v0.30-rc1/software/petalinux-dist/include
-Dlinux -D__linux__ -Dunix -D__uClinux__ -DLINUX    -DWE_NOLIBM=y
-fPIC -c -o iwlib.so iwlib.c
iwlib.c:45:2: warning: #warning "Wireless Extension later than v16 detected,"
iwlib.c:46:2: warning: #warning "Maybe you should get a more recent version"
iwlib.c:47:2: warning: #warning "of the Wireless Tools package !"
microblaze-uclinux-gcc  -shared
-L/home/makvi/Work/emb_linux/petalinux-v0.30-rc1/software/petalinux-dist/lib
-mno-xl-soft-mul -mcpu=v7.10.d  -o libiw.so.26 -Wl,-soname,libiw.so.26
 -lc iwlib.so
microblaze-uclinux-gcc: unrecognized option `-shared'
libiw.so.26.elf2flt: In function `_start':
libiw.so.26.elf2flt(.text+0x44): undefined reference to `main'
libiw.so.26.elf2flt: In function `__uClibc_start_main':
libiw.so.26.elf2flt(.text+0x1e0): undefined reference to `main'
collect2: ld returned 1 exit status
make[2]: *** [libiw.so.26] Error 1
make[2]: Leaving directory
`/home/makvi/Work/emb_linux/petalinux-v0.30-rc1/software/petalinux-dist/user/wireless_tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/makvi/Work/emb_linux/petalinux-v0.30-rc1/software/petalinux-dist/user'
make: *** [subdirs] Error 1

It does not complain with gcc.
I thought, -share is not supported so tried removing that flag. After
that "microblaze-uclinux-gcc: unrecognized option `-shared'" does not
come, but the other error remains same. Does anybody faced this, any
clue? Thanks.
-- 
Thanks
Mak
___________________________
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/