albertone74 wrote:
> Hi Clive,
>
> I am just building the kernel on my Fedora 18 machine as I write... I
> woke up earlier this morning to get it sorted out:) I will keep you
> updated..fingers crossed!
Clive,
I do need some help here. Please let me detail what I did:
1. I have installed Fedora 18 in a virtualbox machine on my laptop.
2. Soon after the installation I have run:
Code:
--------------------
sudo yum install update
--------------------
3. Then
Code:
--------------------
sudo yum groupinstall "Development Tools"
sudo yum install rpmdevtools gcc-arm-linux-gnu lzma
rpmdev-setuptree
--------------------
4. As I was getting the following error message "error: cannot open
kernel-wand-3.0.35-cm43.fc18.src.rpm: No such file or directory" I have
downloaded the src rpm and not the binary as advised by you.
Code:
--------------------
wget
http://www.communitysqueeze.org/repo/18/testing/SRPMS/kernel-wand-3.0.35-cm43.fc18.src.rpm
--------------------
5. Finally I have run
Code:
--------------------
rpmbuild --rebuild --target armv7hnl --define "cross_compile arm-linux-gnu-"
kernel-wand-3.0.35-cm43.fc18.src.rpm
--------------------
6. After less then 12 mins the building has been completed. Now, I am
not too sure whether everything went well or not. Indeed I don't get the
binary rpm at all as I was expecting, which is:
Code:
--------------------
~/rpmbuild/RPMS/armv7hnl/kernel-wand-3.0.35-cm41.fc18.armv7hnl.rpm
--------------------
Here attached the last few lines after building the kernel:
Code:
--------------------
Processing files: kernel-wand-3.0.35-cm43.fc18.armv7hnl
Provides: kernel-wand = 3.0.35-cm43.fc18 kernel-wand(armv7hnl-32) =
3.0.35-cm43.fc18
Requires(interp): /bin/sh
Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Requires(post): /bin/sh
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/home/albertone/rpmbuild/BUILDROOT/kernel-wand-3.0.35-cm43.fc18.arm
Wrote:
/home/albertone/rpmbuild/RPMS/armv7hnl/kernel-wand-3.0.35-cm43.fc18.armv7hnl.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.F7DaUA
+ umask 022
+ cd /home/albertone/rpmbuild/BUILD
+ cd kernel-wand-3.0.35
+ /usr/bin/rm -rf
/home/albertone/rpmbuild/BUILDROOT/kernel-wand-3.0.35-cm43.fc18.arm
+ exit 0
--------------------
Do you see anything wrong?
------------------------------------------------------------------------
albertone74's Profile: http://forums.slimdevices.com/member.php?userid=23863
View this thread: http://forums.slimdevices.com/showthread.php?t=98544
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix