Modify

Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#7859 closed defect (fixed)

Error when compiling dev trunk for ar71xx, tp-link TL-941nd

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

I get this error when trying to compile the latest trunk

make -C "/home/manager/ar71xx/trunk/build_dir/linux-ar71xx_generic/linux-2.6.32.20" ARCH="mips" CROSS_COMPILE="mips-openwrt-linux-uclibc-" SUBDIRS="/home/manager/ar71xx/trunk/build_dir/linux-ar71xx_generic/button-hotplug" EXTRA_CFLAGS=" -DCONFIG_BUTTON_HOTPLUG=1  " CONFIG_BUTTON_HOTPLUG=m modules
make[4]: Entering directory `/home/manager/ar71xx/trunk/build_dir/linux-ar71xx_generic/linux-2.6.32.20'
  CC [M]  /home/manager/ar71xx/trunk/build_dir/linux-ar71xx_generic/button-hotplug/button-hotplug.o
/home/manager/ar71xx/trunk/build_dir/linux-ar71xx_generic/button-hotplug/button-hotplug.c: In function 'button_hotplug_work':
/home/manager/ar71xx/trunk/build_dir/linux-ar71xx_generic/button-hotplug/button-hotplug.c:175: error: implicit declaration of function 'broadcast_uevent'
make[5]: *** [/home/manager/ar71xx/trunk/build_dir/linux-ar71xx_generic/button-hotplug/button-hotplug.o] Error 1
make[4]: *** [_module_/home/manager/ar71xx/trunk/build_dir/linux-ar71xx_generic/button-hotplug] Error 2
make[4]: Leaving directory `/home/manager/ar71xx/trunk/build_dir/linux-ar71xx_generic/linux-2.6.32.20'
make[3]: *** [/home/manager/ar71xx/trunk/build_dir/linux-ar71xx_generic/button-hotplug/.built] Error 2
make[3]: Leaving directory `/home/manager/ar71xx/trunk/package/button-hotplug'
make[2]: *** [package/button-hotplug/compile] Error 2
make[2]: Leaving directory `/home/manager/ar71xx/trunk'
make[1]: *** [/home/manager/ar71xx/trunk/staging_dir/target-mips_r2_uClibc-0.9.30.1/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/manager/ar71xx/trunk'
make: *** [world] Error 2

Thank you.

Pitou!

Attachments (0)

Change History (4)

comment:1 Changed 7 years ago by KanjiMonster

I assume you updated an already built checkout. You have to force a re-extraction of the linux kernel to pick up recently added patches and changed files.
A

make target/linux/clean

Should fix it.

comment:2 Changed 7 years ago by anonymous

It did work. Thank you.

We can close this one.

Pitou

comment:3 Changed 7 years ago by florian

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

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

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.