Modify

Opened 8 years ago

Closed 8 years ago

#7215 closed defect (worksforme)

swconfig build failed since r20939: 'SWITCH_ATTR_CPU_PORT' undeclared

Reported by: achaoge@… Owned by: developers
Priority: high Milestone: Backfire 10.03.1
Component: packages Version: Trunk
Keywords: Cc:

Description

the build error info:

...

mips-openwrt-linux-uclibc-gcc -D_GNU_SOURCE -I/home/gaochao/tmp/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.30.1/usr/include/libnl-tiny -I/home/gaochao/tmp/openwrt/trunk/build_dir/linux-ar71xx/linux-2.6.32.10/include -I/home/gaochao/tmp/openwrt/trunk/build_dir/linux-ar71xx/linux-2.6.32.10/arch/mips/include -I/home/gaochao/tmp/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.30.1/swconfig -I/home/gaochao/tmp/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.30.1/usr/include -I/home/gaochao/tmp/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.30.1/include -I/home/gaochao/tmp/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/include -I/home/gaochao/tmp/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.3.3+cs_uClibc-0.9.30.1/include -Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time -fhonour-copts -msoft-float -c -o swlib.o swlib.c

swlib.c: In function 'add_switch':


swlib.c:589: error: 'SWITCH_ATTR_CPU_PORT' undeclared (first use in this function)

swlib.c:589: error: (Each undeclared identifier is reported only once

swlib.c:589: error: for each function it appears in.)

make[4]: * [swlib.o] Error 1

...

Attachments (0)

Change History (2)

comment:1 Changed 8 years ago by anonymous

make package/swconfig/clean
make target/linux/clean

and try again

comment:2 Changed 8 years ago by jow

  • Resolution set to worksforme
  • Status changed from new to closed

The solution above will fix this.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.