Modify

Opened 6 years ago

Last modified 4 years ago

#10594 new defect

mtd does not build when using host toolchain

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

Description

When using the host toolchain (gentoo) mtd does not build.

make[4]: Entering directory `/silo/build/openwrt/build_dir/linux-x86_kvm_guest/mtd'
gcc -Os -pipe -march=amdfam10 -Dtarget_x86=1 -Wall -I/silo/build/openwrt/staging_dir/target-x86_64-pc-linux-gnu/usr/include -I/silo/build/openwrt/staging_dir/target-x86_64-pc-linux-gnu/include -Wall -c -o mtd.o mtd.c
mtd.c: In function 'mtd_refresh':
mtd.c:261:16: error: 'MTDREFRESH' undeclared (first use in this function)
mtd.c:261:16: note: each undeclared identifier is reported only once for each function it appears in
mtd.c: In function 'mtd_write':
mtd.c:479:1: warning: label 'done' defined but not used
mtd.c:438:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result
mtd.c: In function 'do_reboot':
mtd.c:541:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result
mtd.c: In function 'mtd_write_buffer':
mtd.c:124:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result
make[4]: * [mtd.o] Error 1
make[4]: Leaving directory `/silo/build/openwrt/build_dir/linux-x86_kvm_guest/mtd'
make[3]:
* /silo/build/openwrt/build_dir/linux-x86_kvm_guest/mtd/.built Error 2
make[3]: Leaving directory `/silo/build/openwrt/package/mtd'
make[2]: * [package/mtd/compile] Error 2
make[2]: Leaving directory `/silo/build/openwrt'
make[1]:
* /silo/build/openwrt/staging_dir/target-x86_64-pc-linux-gnu/stamp/.package_compile Error 2
make[1]: Leaving directory `/silo/build/openwrt'
make: * [world] Error 2

Attachments (0)

Change History (1)

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

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.