Outils pour utilisateurs

Outils du site


ltib

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

quand je fais

./configure 
make dans qtopia, j'obtiens

rm -f libqpe.so.1.5.3 libqpe.so libqpe.so.1 libqpe.so.1.5 g++ -shared -Wl,-soname,libqpe.so.1 -o libqpe.so.1.5.3 .obj/release-shared/qmemoryfile.o .obj/release-shared/calendar.o .obj/release-shared/global.o .obj/release-shared/localtr.o .obj/release-shared/mimetype.o .obj/release-shared/menubutton.o .obj/release-shared/filemanager.o .obj/release-shared/fileselector.o .obj/release-shared/resource.o .obj/release-shared/qpeapplication.o .obj/release-shared/qpestyle.o .obj/release-shared/qpedialog.o .obj/release-shared/config.o .obj/release-shared/applnk.o .obj/release-shared/sound.o .obj/release-shared/tzselect.o .obj/release-shared/qmath.o .obj/release-shared/alarmserver.o .obj/release-shared/password.o .obj/release-shared/timestring.o .obj/release-shared/storage.o .obj/release-shared/qpemessagebox.o .obj/release-shared/qpedebug.o .obj/release-shared/qpemenubar.o .obj/release-shared/qpetoolbar.o .obj/release-shared/categorymenu.o .obj/release-shared/categoryedit_p.o .obj/release-shared/categoryselect.o .obj/release-shared/categorywidget.o .obj/release-shared/mediarecorderplugininterface.o .obj/release-shared/mediaplayerplugininterface.o .obj/release-shared/qdawg.o .obj/release-shared/datebookdb.o .obj/release-shared/xmlreader.o .obj/release-shared/imageedit.o .obj/release-shared/datebookmonth.o .obj/release-shared/qmemoryfile_unix.o .obj/release-shared/custom-qtopia.o .obj/release-shared/fontmanager.o .obj/release-shared/fontdatabase.o .obj/release-shared/qpedecoration_qws.o .obj/release-shared/network.o .obj/release-shared/networkinterface.o .obj/release-shared/qcopenvelope_qws.o .obj/release-shared/power.o .obj/release-shared/ir.o .obj/release-shared/pluginloader_p.o .obj/release-shared/bgexport.o .obj/release-shared/quuid.o .obj/release-shared/qlibrary.o .obj/release-shared/process.o .obj/release-shared/process_unix.o .obj/release-shared/qlibrary_unix.o .obj/release-shared/categories.o .obj/release-shared/stringutil.o .obj/release-shared/vcc_yacc.o .obj/release-shared/vobject.o .obj/release-shared/cp1252textcodec.o .obj/release-shared/contact.o .obj/release-shared/event.o .obj/release-shared/timeconversion.o .obj/release-shared/palmtoprecord.o .obj/release-shared/task.o .obj/release-shared/passwordbase_p.o .obj/release-shared/categoryeditbase_p.o .obj/release-shared/moc_menubutton.o .obj/release-shared/moc_fileselector.o .obj/release-shared/moc_qpeapplication.o .obj/release-shared/moc_qpedialog.o .obj/release-shared/moc_tzselect.o .obj/release-shared/moc_storage.o .obj/release-shared/moc_qpemenubar.o .obj/release-shared/moc_qpetoolbar.o .obj/release-shared/moc_categories.o .obj/release-shared/moc_categorymenu.o .obj/release-shared/moc_categoryselect.o .obj/release-shared/moc_imageedit.o .obj/release-shared/moc_datebookmonth.o .obj/release-shared/moc_ir.o .obj/release-shared/moc_process.o .obj/release-shared/moc_fileselector_p.o .obj/release-shared/moc_categoryedit_p.o .obj/release-shared/moc_qpedecoration_p.o .obj/release-shared/moc_bgexport_p.o .obj/release-shared/moc_qlibrary_p.o .obj/release-shared/moc_passwordbase_p.o .obj/release-shared/moc_categoryeditbase_p.o -lcrypt -luuid -lm -ldl -ldl -L/home/bvdp/ltib-20100203/rpm/BUILD/qtopia-free-2.2.0/qtopia/lib -L/home/bvdp/ltib-20100203/rpm/BUILD/qtopia-free-2.2.0/qt2/lib -lqte /usr/bin/ld: cannot find -luuid collect2: ld a retourné 1 code d'état d'exécution make[5]: * [../../../lib/libqpe.so.1.5.3] Erreur 1 make[5]: quittant le répertoire « /home/bvdp/ltib-20100203/rpm/BUILD/qtopia-free-2.2.0/qtopia/src/libraries/qtopia » make[4]: * [all] Erreur 2 make[4]: quittant le répertoire « /home/bvdp/ltib-20100203/rpm/BUILD/qtopia make[3]: * [sub-libraries-qtopia] Erreur 2 make[3]: quittant le répertoire « /home/bvdp/ltib-20100203/rpm/BUILD/qtopia make[2]: * [all] Erreur 2 make[2]: quittant le répertoire « /home/bvdp/ltib-20100203/rpm/BUILD/qtopia make[1]: * [all] Erreur 2 make[1]: quittant le répertoire « /home/bvdp/ltib-20100203/rpm/BUILD/qtopia * * * ERROR: Building Qtopia has failed. * * Please search the make output for any error messages. * * Hint: If the configuration has changed since the last successfull * build consider using make clean to ensure that all binaries * are rebuilt using the new configuration. * * For more information about the build process please use a browser * and go to the getting started section in: * /home/bvdp/ltib-20100203/rpm/BUILD/qtopia-free-2.2.0/qtopia/doc/html/ *

peut etre essayer de ne pas mettre d'interface graphique

pas de clavier tactile alors

console par ssh?

par serial?

support de logicpd?

ltib.txt · Dernière modification: 2011/06/26 13:26 par 86.75.234.172