./build_kernel.sh fail

Hi All,

I am trying to build linux kernel for beaglebone. I have build successfully before. (2 months ago?)

And now I have linux-stable, and in linux-dev, trying to run ./build_kernel.sh, and my ubuntu complains about dependencies. But even after installing those dependencies, it still will not build, complaining about the same dependencies. But when I try to install dependencies, it says that there is nothing new to install. The two things that it says “please, install” are:

sudo apt-get update
sudo apt-get install libncurses5-dev

I have another directory with older linux-dev, and from there, kernel builds fine. But in the new directory, it complains. BOGGLES my mind! Any help would be greatly appreciated.

Best regards,
Jinsuk

Well... It BOGGLES my mind, when users report these issues, the never
say, which "distro" they are running, nor what "branch" they are
building from.

Regards,

Hi All,

I am trying to build linux kernel for beaglebone. I have build
successfully before. (2 months ago?)

And now I have linux-stable, and in linux-dev, trying to run
./build_kernel.sh,

May I assume you mean the script at [1]?

and my ubuntu complains about dependencies. But even after installing
those dependencies, it still will not build, complaining about the same
dependencies. But when I try to install dependencies, it says that there is
nothing new to install. The two things that it says "please, install" are:

sudo apt-get update
sudo apt-get install libncurses5-dev

I have another directory with older linux-dev, and from there, kernel
builds fine. But in the new directory, it complains. BOGGLES my mind! Any
help would be greatly appreciated.

Can you provide some errors? Using the configuration at [2], I had no
problems at all. Here's the output I got:

http://s3.amazonaws.com/beagleboard/kernel-2013-06-13-21:41:34/build.log
http://s3.amazonaws.com/beagleboard/kernel-2013-06-13-21:41:34/uImage
http://s3.amazonaws.com/beagleboard/kernel-2013-06-13-21:41:34/uImage-dtb.am335x-bone
http://s3.amazonaws.com/beagleboard/kernel-2013-06-13-21:41:34/uImage-dtb.am335x-boneblack
http://s3.amazonaws.com/beagleboard/kernel-2013-06-13-21:41:34/dtb.tgz

[1]
https://github.com/jadonk/validation-scripts/blob/master/ec2-build/build-kernel.sh
[2]
https://github.com/jadonk/validation-scripts/blob/master/ec2-build/build-kernel.txt

Hi,

Sorry for not posting more details. I am using Ubuntu 12.04.2 LTS to build the kernel. I have cloned linux-dev from github.com/RobertCNelson/linux-dev. Branch am33x-v3.2

This is the error that I get:

  • Detected build host [Ubuntu 12.04.2 LTS]
    Debian/Ubuntu/Mint: missing dependicies, please install:

Thanks, it's now fixed:
https://github.com/RobertCNelson/linux-dev/commit/e9a4fe9248da6fef683ab3c09002023a0c8d4c10

Regards,

Awesome. It now works. Thanks for your help. =)

Hi jin,
i am getting the same error as you… how did u rectify it???

Ask the author of the script? Email is in plain text if you look..

Regards,

Hi Vishva,

You can either pull from the git or remove and re-clone. In my case, pull did not work, and I got lazy, so I just rm -rf and re-cloned.

The quick way, is just:

git reset HEAD --hard
git checkout master -f
git branch -D <whatever it was called>
git pull
git checkout origin/<branch name> -b <tmp>

(In a way it's sad, ^ seems so simple to me now days. :wink: )

Then you don't have to re-download everything. :wink:

Regards,