Modify

Opened 6 years ago

Closed 3 years ago

#10669 closed defect (obsolete)

building trunk fails in tools/mtd-utils

Reported by: James Braid <jamesb@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: toolchain Version: Trunk
Keywords: Cc:

Description

Trying to build from trunk fails with this error:

gcc -g -o /home/jamesb/build/openwrt/build_dir/host/mtd-20101124/ubinize /home/jamesb/build/openwrt/build_dir/host/mtd-20101124/ubinize.o /home/jamesb/build/openwrt/build_dir/host/mtd-20101124/libubi.a /home/jamesb/build/openwrt/build_dir/host/mtd-20101124/ubiutils-common.o /home/jamesb/build/openwrt/build_dir/host/mtd-20101124/libiniparser.a /home/jamesb/build/openwrt/build_dir/host/mtd-20101124/libubigen.a -L/home/jamesb/build/openwrt/build_dir/host/mtd-20101124/../lib -lmtd
/usr/bin/ld: cannot find -lmtd
collect2: ld returned 1 exit status

Editing build_dir/host/mtd-20101124/ubi-utils/Makefile and changing the LDLIBS definition to not include '..' seems to fix the build problem for now.

Attachments (0)

Change History (2)

comment:1 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

comment:2 Changed 3 years ago by jogo

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

mtd-utils have been updated quite a lot since opening the ticket, I assume it is now fixed. If this still happens, please reopen the ticket.

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.