Opened 11 years ago

Closed 11 years ago

#204 closed defect (wontfix)

Unable to compile DebWRT on Ubuntu 11.10

Reported by: shakthi.pradeep@… Owned by: amain
Priority: blocker Milestone: milestone:
Component: buildsystem Version: 2.0
Severity: severity 4 Keywords: Unable to compile DebWRT on Ubuntu 11.10
Cc: shakthi.pradeep@…



I am following the instructions at to compile DebWRT for Intel Atom.

Using make menuconfig, I have selected the target as x86. Next, when I run make debian/rootfs, process goes on for a while and I get the following error.

sudo chroot /media/data/Workspace/debwrt/build/debian-x86-generic_Generic-squeeze bash -c "export LC_ALL=C; apt-get -y --force-yes install libc6-i386-cross libc6-dev-i386-cross binutils-i386-linux-gnu gcc-4.3-i386-linux-gnu g++-4.3-i386-linux-gnu linux-kernel-headers-i386-cross"
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libc6-i386-cross
E: Unable to locate package libc6-dev-i386-cross
E: Unable to locate package binutils-i386-linux-gnu
E: Unable to locate package gcc-4.3-i386-linux-gnu
E: Couldn't find any package by regex 'gcc-4.3-i386-linux-gnu'
E: Unable to locate package g++-4.3-i386-linux-gnu
E: Couldn't find any package by regex 'g++-4.3-i386-linux-gnu'
E: Unable to locate package linux-kernel-headers-i386-cross
make: * [debian/buildenv/emdebian-prepare] Error 100

Please help....


Attachments (0)

Change History (3)

comment:1 Changed 11 years ago by amain

Hi Shakhti,

You are running into the problem that I kinda assumed that cross-compiling of DebWrt packages is needed. Based on the selected target architecture I automatically try to download cross compilers from the Emdebian project. Since you are building on a i386/x68 for taret i386/x86, no cross compilers should be needed. We could use the "normal" compilers.

You could have a look into the make target debian/buildenv/emdebian-prepare: in debian/buildenv/ and add a else case for i386. You may have to change things in debian/package/* files as well.

What device are you compiling for? And why not installing Debian i386 right away on it?



comment:2 Changed 11 years ago by Shakthi.pradeep@…

Hello Amain,

Thanks a lot for the quick response. I'll try out what you suggested above and update you on that.

Currently I am following the procedure given at Compilation is still under progress. So far no issue.


comment:3 Changed 11 years ago by amain

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

You are welcome!

Closing ticket.

Add Comment

Modify Ticket

as closed The owner will remain amain.
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.