Ceci est une ancienne révision du document !
Hi paul I've tried tlib but without success:
I selected logic omap 35xx reference board and I get an error on:
arch/arm/kernel/process.c:154:23: error: macro “ledtrig_idle_state” passed 1 arguments, but takes just 0
while compiling the kernel :(
same error if I run ./tlib -c to ignore errors….
do you have any idea which part I should unselect?
I've tried windows CE, but I get nothing else than the explorer and the media player… :( I would like linux so much!!!!
here is the log if you have some ideas…
have a good week end
I selected logic omap 35xx reference board and I get an error on:
arch/arm/kernel/process.c:154:23: error: macro “ledtrig_idle_state” passed = 1 arguments, but takes just 0
while compiling the kernel :(
same error if I run ./tlib -c to ignore errors….
Hmm, first I'd have to ask what plaform I assume torpedo. What and config was selected? Send me
config/platform/omap3_torpedo/.config
so I can use that to replicate the issue here.
As a quick hack, do “
./ltib -p kernel -m prep
” to get the kernel source in rpm/BUILD/linux-2.6.28-rc8, then comment out the invocation of ledtrig_idle_state in
RPM/build/linux-2.6.28-rc8/arch/arm/kernel/process.c
, and then rebuild/deploy the kernel (by “
./ltib -p kernel -m scbuild && ./ltib -p kernel -m scdeploy
That should get you past the stubmling block - I'll have to dig through the Torpedo kernel config and figure out what's borked.
– Peter Barada peter@the-baradas.com
ls in /home/bvdp/ltib-20100203/config/platform/omap3_torpedo
returns:
busybox.config deployment.txt linux-2.6.29-rc3-android-omap3_torpedo.config merge pkg_map defconfig linux-2.6.28-rc8-pm-omap3_torpedo.config main.lkc packages.lkc preconfigs
./ltib -p kernel -m prep
Processing: kernel-2.6.31-rc7-omap3logic
Build path taken because: build key set, no prebuilt rpm,
Cowardly refusing to clobber existing directory: /home/bvdp/ltib-20100203/rpm/BUILD/linux-2.6.31-rc7 Remove this by hand if you really want to rebuild this package from scratch
f_prep() returned an error, exiting traceback: main:555
Exiting on error or interrupt
./ltib -p kernel
ca chie…
find . | grep process.c
./rpm/BUILD/linux-2.6.31-rc7/kernel/power/process.c ./rpm/BUILD/linux-2.6.31-rc7/arch/microblaze/kernel/process.c ./rpm/BUILD/linux-2.6.31-rc7/arch/parisc/kernel/process.c ./rpm/BUILD/linux-2.6.31-rc7/arch/m68knommu/kernel/process.c ./rpm/BUILD/linux-2.6.31-rc7/arch/um/kernel/skas/process.c ./rpm/BUILD/linux-2.6.31-rc7/arch/um/kernel/process.c ./rpm/BUILD/linux-2.6.31-rc7/arch/um/os-Linux/skas/process.c ./rpm/BUILD/linux-2.6.31-rc7/arch/um/os-Linux/process.c ./rpm/BUILD/linux-2.6.31-rc7/arch/blackfin/kernel/process.c ./rpm/BUILD/linux-2.6.31-rc7/arch/mips/kernel/process.c ./rpm/BUILD/linux-2.6.31-rc7/arch/arm/kernel/process.c ./rpm/BUILD/linux-2.6.31-rc7/arch/powerpc/kernel/process.c ./rpm/BUILD/linux-2.6.31-rc7/arch/frv/kernel/process.c ./rpm/BUILD/linux-2.6.31-rc7/arch/h8300/kernel/process.c ./rpm/BUILD/linux-2.6.31-rc7/arch/m32r/kernel/process.c ./rpm/BUILD/linux-2.6.31-rc7/arch/s390/kernel/process.c ./rpm/BUILD/linux-2.6.31-rc7/arch/x86/kernel/process.c ./rpm/BUILD/linux-2.6.31-rc7/arch/mn10300/kernel/process.c ./rpm/BUILD/linux-2.6.31-rc7/arch/cris/kernel/process.c ./rpm/BUILD/linux-2.6.31-rc7/arch/cris/arch-v10/kernel/process.c ./rpm/BUILD/linux-2.6.31-rc7/arch/cris/arch-v32/kernel/process.c ./rpm/BUILD/linux-2.6.31-rc7/arch/xtensa/kernel/process.c ./rpm/BUILD/linux-2.6.31-rc7/arch/m68k/kernel/process.c ./rpm/BUILD/linux-2.6.31-rc7/arch/alpha/kernel/process.c ./rpm/BUILD/linux-2.6.31-rc7/arch/ia64/kvm/process.c ./rpm/BUILD/linux-2.6.31-rc7/arch/ia64/kernel/process.c ./rpm/BUILD/linux-2.6.31-rc7/arch/avr32/kernel/process.c
il faut modifier
./rpm/BUILD/linux-2.6.31-rc7/arch/arm/kernel/process.c
cp rpm/BUILD/linux-2.6.31-rc7/arch/arm/kernel/process.c rpm/BUILD/linux-2.6.31-rc7/arch/arm/kernel/process.c.sav
apres relancer la compil, erreur sur qtopia
+ echo note that e2fsprogs-devel and libjpeg/libjpeg-devel are required on host note that e2fsprogs-devel and libjpeg/libjpeg-devel are required on host + cp -r tmake/lib/qws/linux-arm-g++ tmake/lib/qws/linux–g++ + cp -r qtopia/mkspecs/qws/linux-arm-g++ qtopia/mkspecs/qws/linux–g++ + test -e qtopia/src/libraries/qtopia/custom-linux–g++.h + cp qtopia/src/libraries/qtopia/custom-linux-generic-g++.h qtopia/src/libraries/qtopia/custom-linux–g++.h + test -e qtopia/src/libraries/qtopia/custom-linux–g++.cpp + cp qtopia/src/libraries/qtopia/custom-linux-generic-g++.cpp qtopia/src/libraries/qtopia/custom-linux–g++.cpp + echo Patch #22 (qtopia-free-2.2.0-gcc-4.3.2-2.patch): Patch #22 (qtopia-free-2.2.0-gcc-4.3.2-2.patch): + patch -p1 -s + exit 0 Executing(%build): /bin/sh -e /home/bvdp/ltib-20100203/tmp/rpm-tmp.57337 + umask 022 + cd /home/bvdp/ltib-20100203/rpm/BUILD + cd qtopia-free-2.2.0 + source ./ltibqtopiaconfig /home/bvdp/ltib-20100203/tmp/rpm-tmp.57337: 1: source: not found error: Bad exit status from /home/bvdp/ltib-20100203/tmp/rpm-tmp.57337 (%build)
RPM build errors:
Bad exit status from /home/bvdp/ltib-20100203/tmp/rpm-tmp.57337 (%build)
Build time for qtopia-omap: 19 seconds
Failed building qtopia-omap
f_buildrpms() returned an error, exiting traceback: main:555
Started: Tue Feb 23 14:57:59 2010 Ended: Tue Feb 23 16:41:33 2010 Elapsed: 6214 seconds
These packages failed to build: qtopia-omap
Build Failed
Exiting on error or interrupt