mokomakefile error

Julian Chu julian_chu at openmoko.com
Fri Jun 20 06:12:11 CEST 2008


On Wed, Jun 18, 2008 at 12:25:05PM +0200, Marcus Bauer wrote:
> /om/openembedded/packages/linux/linux-openmoko_2.6.24+git.bb, do_compile)
> NOTE: package linux-openmoko-2.6.24+git20080618: started
> NOTE: package linux-openmoko-1_2.6.24+git20080618-r0: task do_compile: started
> ERROR: function do_compile failed
> ERROR: log data follows (/om/build/tmp/work/om-gta02-angstrom-linux-gnueabi/
> linux-openmoko-1_2.6.24+git20080618-r0/temp/log.do_compile.1288)
> | NOTE: make -e MAKEFLAGS= include/linux/version.h CC=ccache arm-angstrom-linux-gnueabi-gcc  
>                            LD=arm-angstrom-linux-gnueabi-ld
> | make: *** No rule to make target `include/linux/version.h'.  Stop.
> | FATAL: oe_runmake failed
> NOTE: Task failed: /om/build/tmp/work/om-gta02-angstrom-linux-gnueabi/
>  linux-openmoko-1_2.6.24+git20080618-r0/temp/log.do_compile.1288

it seems like something error in compiling (bitbake pass wrong arguments
to autotools?)

but it didn't happen in my computer.
> NOTE: package linux-openmoko-1_2.6.24+git20080618-r0: task do_compile: failed
> ERROR: TaskFailed event exception, aborting
> NOTE: package linux-openmoko-2.6.24+git20080618: failed
> ERROR: Build of /om/openembedded/packages/linux/linux-openmoko_2.6.24+git.bb do_compile failed
> ERROR: Task 591 (/om/openembedded/packages/linux/linux-openmoko_2.6.24+git.bb, do_compile) failed
> NOTE: Tasks Summary: Attempted 1187 tasks of which 1186 didn't need to be rerun and 1 failed.
> ERROR: '/om/openembedded/packages/linux/linux-openmoko_2.6.24+git.bb' failed
> make: *** [openmoko-devel-image] Error 1
> 
> ==================================================================================
> 
> What can I do to resolve this?
> 
> Thanks,
> Marcus
Hi Marcus,

   I just tried to build openmoko-linux and got a success.
   maybe you can try these commands.

   $cd /path/to/work-directory      # Jump to your work dir
   $source setup-env                # read necessarily variables
   $bitbake -c clean linux-openmoko # clean something in the last time
                                    # when you use Mokomakefile
                                    # (actually, I means _bitbake_)
   $bitbake -c fetch linux-openmoko # Download the kernel source code
                                    # if it failed, keep trying until
                                    # success  :P
   $bitbake linux-openmoko          # Build !!


Cheers and Good luck

-Ju1ian

--
NOTE: package linux-openmoko-2.6.24+git3+9250c1fc7d6f62075d14ad8f396748490a55d61e: started
NOTE: package linux-openmoko-2_2.6.24+git3+9250c1fc7d6f62075d14ad8f396748490a55d61e-r0: task do_configure: started
NOTE: package linux-openmoko-2_2.6.24+git3+9250c1fc7d6f62075d14ad8f396748490a55d61e-r0: task do_configure: completed
NOTE: package linux-openmoko-2.6.24+git3+9250c1fc7d6f62075d14ad8f396748490a55d61e: completed
NOTE: Running task 344 of 422 (ID: 6, /home/walkingice/moko/org.openmoko.openembedded/packages/linux/linux-openmoko_2.6.24+git.bb,
                do_qa_configure)
NOTE: package linux-openmoko-2.6.24+git3+9250c1fc7d6f62075d14ad8f396748490a55d61e: started
NOTE: package linux-openmoko-2_2.6.24+git3+9250c1fc7d6f62075d14ad8f396748490a55d61e-r0: task do_qa_configure: started
NOTE: Checking sanity of the config.log file
NOTE: package linux-openmoko-2_2.6.24+git3+9250c1fc7d6f62075d14ad8f396748490a55d61e-r0:
task do_qa_configure: completed
NOTE: package linux-openmoko-2.6.24+git3+9250c1fc7d6f62075d14ad8f396748490a55d61e: completed
NOTE: Running task 345 of 422 (ID: 7,/home/walkingice/moko/org.openmoko.openembedded/packages/linux/linux-openmoko_2.6.24+git.bb,
                do_compile)
NOTE: package linux-openmoko-2.6.24+git3+9250c1fc7d6f62075d14ad8f396748490a55d61e: started
NOTE: package linux-openmoko-2_2.6.24+git3+9250c1fc7d6f62075d14ad8f396748490a55d61e-r0: task do_compile: started
NOTE: package linux-openmoko-2_2.6.24+git3+9250c1fc7d6f62075d14ad8f396748490a55d61e-r0: task do_compile: completed
NOTE: package linux-openmoko-2.6.24+git3+9250c1fc7d6f62075d14ad8f396748490a55d61e: completed




More information about the openmoko-devel mailing list