building openmoko kernel image

manoj kumar bewithjonam at gmail.com
Tue Jun 3 11:23:29 CEST 2008


Hello,
     I m trying to build openmoko image using the mokomakefile.
     I finsihed make setup .
     After that i had made some configuration changes in the
mokodir/openmoko/trunk/src/target/kernel/config/defconfig-2.6.22.5.
     When i tried to make the image (make openmoko-devel-image), it failed
after completing some 250 tasks.
     The error is :
....
....
| vsscanf.c:(.text+0x344): multiple definition of `__gmpq_neg'
| .libs/assert.o:assert.c:(.text+0x3b0): first defined here
| scanf/.libs/vsscanf.o: In function `__gmpq_abs':
| vsscanf.c:(.text+0x374): multiple definition of `__gmpq_abs'
| .libs/assert.o:assert.c:(.text+0x3e0): first defined here
| scanf/.libs/vsscanf.o: In function `__gmpz_set_q':
| vsscanf.c:(.text+0x3ad): multiple definition of `__gmpz_set_q'
| .libs/assert.o:assert.c:(.text+0x419): first defined here
| scanf/.libs/vsscanf.o: In function `__gmpz_popcount':
| vsscanf.c:(.text+0x3d7): multiple definition of `__gmpz_popcount'
| .libs/assert.o:assert.c:(.text+0x443): first defined here
| scanf/.libs/vsscanf.o: In function `__gmpz_perfect_square_p':
| vsscanf.c:(.text+0x410): multiple definition of `__gmpz_perfect_square_p'
| .libs/assert.o:assert.c:(.text+0x47c): first defined here
| scanf/.libs/vsscanf.o: In function `__gmpz_neg':
| vsscanf.c:(.text+0x446): multiple definition of `__gmpz_neg'
| .libs/assert.o:assert.c:(.text+0x4b2): first defined here
| scanf/.libs/vsscanf.o: In function `__gmpz_abs':
| vsscanf.c:(.text+0x476): multiple definition of `__gmpz_abs'
| .libs/assert.o:assert.c:(.text+0x4e2): first defined here
| collect2: ld returned 1 exit status
| make[2]: *** [libgmp.la] Error 1
| make[2]: Leaving directory
`/home/antony/moko2/build/tmp/work/i686-linux/gmp-native-4.2.1-r2/gmp-4.2.1'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory
`/home/antony/moko2/build/tmp/work/i686-linux/gmp-native-4.2.1-r2/gmp-4.2.1'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed:
/home/antony/moko2/build/tmp/work/i686-linux/gmp-native-4.2.1-r2/temp/log.do_compile.12381
NOTE: package gmp-native-4.2.1-r2: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package gmp-native-4.2.1: failed
ERROR: Build of /home/antony/moko2/openembedded/packages/gmp/
gmp-native_4.2.1.bb do_compile failed
ERROR: Task 1207 (/home/antony/moko2/openembedded/packages/gmp/
gmp-native_4.2.1.bb, do_compile) failed
           Now if i try to redo the make openmoko-devel-image, error:
make: *** No rule to make target `openmoko-kernel-image'.  Stop.

Now i need help,
   is the way i did my configuration correct?
   how to correct the error which i encountered during the make?

Regards,
R.Manoj Kumar,
Technical Analyst,
Interchain Solutions.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20080603/bc7394c0/attachment.htm 


More information about the community mailing list