求帮忙,本小白在编译时出现错误无法自己解决!

100 views
Skip to first unread message

yz z

unread,
Feb 25, 2012, 12:20:43 PM2/25/12
to 校园网802.1X客户端开发小组
错误内容如下
make[4]: Entering directory `/home/oo0zyz0oo/openwrt/trunk/build_dir/
linux-brcm63xx/njit8021xclient-1.1'
Making all in src
make[5]: Entering directory `/home/oo0zyz0oo/openwrt/trunk/build_dir/
linux-brcm63xx/njit8021xclient-1.1/src'
make all-am
make[6]: Entering directory `/home/oo0zyz0oo/openwrt/trunk/build_dir/
linux-brcm63xx/njit8021xclient-1.1/src'
mips-openwrt-linux-uclibc-gcc -I. -I/home/oo0zyz0oo/openwrt/trunk/
staging_dir/target-mips_uClibc-0.9.33/usr/include -I/home/oo0zyz0oo/
openwrt/trunk/staging_dir/target-mips_uClibc-0.9.33/include -I/home/
oo0zyz0oo/openwrt/trunk/staging_dir/toolchain-mips_gcc-4.6-
linaro_uClibc-0.9.33/usr/include -I/home/oo0zyz0oo/openwrt/trunk/
staging_dir/toolchain-mips_gcc-4.6-linaro_uClibc-0.9.33/include -O2 -
I/usr/include -I/home/oo0zyz0oo/openwrt/trunk/staging_dir/target-
mips_uClibc-0.9.33/usr/include -Os -pipe -mips32 -mtune=mips32 -fno-
caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-
float -MT client-main.o -MD -MP -MF .deps/client-main.Tpo -c -o
client-main.o `test -f 'main.c' || echo './'`main.c
mv -f .deps/client-main.Tpo .deps/client-main.Po
mips-openwrt-linux-uclibc-gcc -I. -I/home/oo0zyz0oo/openwrt/trunk/
staging_dir/target-mips_uClibc-0.9.33/usr/include -I/home/oo0zyz0oo/
openwrt/trunk/staging_dir/target-mips_uClibc-0.9.33/include -I/home/
oo0zyz0oo/openwrt/trunk/staging_dir/toolchain-mips_gcc-4.6-
linaro_uClibc-0.9.33/usr/include -I/home/oo0zyz0oo/openwrt/trunk/
staging_dir/toolchain-mips_gcc-4.6-linaro_uClibc-0.9.33/include -O2 -
I/usr/include -I/home/oo0zyz0oo/openwrt/trunk/staging_dir/target-
mips_uClibc-0.9.33/usr/include -Os -pipe -mips32 -mtune=mips32 -fno-
caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-
float -MT client-auth.o -MD -MP -MF .deps/client-auth.Tpo -c -o
client-auth.o `test -f 'auth.c' || echo './'`auth.c
In file included from /usr/include/sys/socket.h:40:0,
from auth.c:21:
/usr/include/bits/socket.h:431:23: warning: 'struct mmsghdr' declared
inside parameter list [enabled by default]
/usr/include/bits/socket.h:431:23: warning: its scope is only this
definition or declaration, which is probably not what you want
[enabled by default]
auth.c: In function 'FillClientVersionArea':
auth.c:536:11: error: invalid 'asm': invalid use of '%w'
auth.c:536:11: error: invalid 'asm': invalid use of '%w'
{standard input}: Assembler messages:
{standard input}:188: Error: Unrecognized opcode `rorw $8,$17'
{standard input}:188: Error: Unrecognized opcode `rorl $16,$17'
{standard input}:188: Error: Unrecognized opcode `rorw $8,$17'
make[6]: *** [client-auth.o] Error 1
make[6]: Leaving directory `/home/oo0zyz0oo/openwrt/trunk/build_dir/
linux-brcm63xx/njit8021xclient-1.1/src'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/oo0zyz0oo/openwrt/trunk/build_dir/
linux-brcm63xx/njit8021xclient-1.1/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/oo0zyz0oo/openwrt/trunk/build_dir/
linux-brcm63xx/njit8021xclient-1.1'
make[3]: *** [/home/oo0zyz0oo/openwrt/trunk/build_dir/linux-brcm63xx/
njit8021xclient-1.1/.built] Error 2
make[3]: Leaving directory `/home/oo0zyz0oo/openwrt/trunk/package/
njit8021xclient'
make[2]: *** [package/njit8021xclient/compile] Error 2
make[2]: Leaving directory `/home/oo0zyz0oo/openwrt/trunk'
make[1]: *** [/home/oo0zyz0oo/openwrt/trunk/staging_dir/target-
mips_uClibc-0.9.33/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/oo0zyz0oo/openwrt/trunk'
make: *** [world] 错误 2

刘群

unread,
Mar 10, 2012, 7:26:42 AM3/10/12
to njit802...@googlegroups.com
请删除Ubuntu系统里的一个开发包文件

sudo rm /usr/bin/pcap-config
Reply all
Reply to author
Forward
0 new messages