Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#9266 closed defect (invalid)

Unable to compile Trunk Revision 26717

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


Compiling trunk for ar71x returns " No such file or directory"

make clean
make package/symlinks
make prereq
make world V=99
/home/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/lib/gcc/mips-openwrt-linux-uclibcgnueabi/4.5.2/../../../../mips-openwrt-linux-uclibcgnueabi/bin/ld: cannot open output file /home/openwrt/trunk/build_dir/linux-ar71xx_generic/base-files/ /home/openwrt/trunk/build_dir/linux-ar71xx_generic/base-files/ No such file or directory
collect2: ld returned 1 exit status

Attachments (0)

Change History (5)

comment:1 Changed 7 years ago by THP

a fresh build needed. delete build_dir, staging_dir, tmp.

comment:2 Changed 7 years ago by bartusch@…

Ran into that trap, too. Although i should have known better. Cleaning up as proposed by THP, did it for me. My image built cleanly. I think this can be closed.

make[5]: Leaving directory `/somewere/openwrt-tp-wr1043nd-v1/target/linux/ar71xx/image'
make[4]: Leaving directory `/somewere/openwrt-tp-wr1043nd-v1/target/linux/ar71xx'
make[3]: Leaving directory `/somewere/openwrt-tp-wr1043nd-v1/target/linux'
make[2]: Leaving directory `/somewere/openwrt-tp-wr1043nd-v1'

comment:3 Changed 7 years ago by anonymous

I managed to compile by specifying the compiler to use gcc 4.4.5 in the Toolchain Options. This is the current compiler I'm using (on Ubuntu 10.10).

comment:4 Changed 7 years ago by nbd

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

yeah, make dirclean fixes this

comment:5 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

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

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

Note: See TracTickets for help on using tickets.