hello guys I am trying to build the openembedded with the bitbake and I am using the bill tutorial for it and I have successfully has exported the path to the environment variable . I am using the local.conf copied from mini2440.conf. But as the building process progresses it gets stuck to a point and after that gives out series of errors. Here is the output: me/piyush/work/oe/build/tmp/staging/i686-linux/usr/lib ../bfd/.libs/libbfd.a ../libiberty/libiberty.a | libtool: link: gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -isystem/home/piyush/work/oe/build/tmp/staging/i686-linux/usr/include -O2 -Wl,-rpath-link -Wl,/home/piyush/work/oe/build/tmp/staging/i686-linux/usr/lib -Wl,-rpath -Wl,/home/piyush/work/oe/build/tmp/staging/i686-linux/usr/lib -Wl,-O1 -o cxxfilt cxxfilt.o bucomm.o version.o filemode.o -L/home/piyush/work/oe/build/tmp/staging/i686-linux/usr/lib ../bfd/.libs/libbfd.a ../libiberty/libiberty.a | ar.o: In function `main': | ar.c:(.text+0x1190): multiple definition of `main' | arlex.o:arlex.c:(.text+0x0): first defined here | arparse.o: In function `yyerror': | arparse.c:(.text+0x9): undefined reference to `linenumber' | arparse.o: In function `yyparse': | arparse.c:(.text+0x42d): undefined reference to `yylex' | collect2: ld returned 1 exit status | make[4]: *** [ar] Error 1 | make[4]: *** Waiting for unfinished jobs.... | arlex.o: In function `main': | arlex.c:(.text+0x0): multiple definition of `main' | ar.o:ar.c:(.text+0x1190): first defined here | arparse.o: In function `yyerror': | arparse.c:(.text+0x9): undefined reference to `linenumber' | arparse.o: In function `yyparse': | arparse.c:(.text+0x42d): undefined reference to `yylex' | collect2: ld returned 1 exit status | make[4]: *** [ranlib] Error 1 | make[4]: Leaving directory `/home/piyush/work/oe/build/tmp/work/armv4t-angstrom-linux-gnueabi/binutils-cros s-2.18.50.0.7-r6/binutils-2.18.50.0.7/build.i686-linux.arm-angstrom-linux-gnueab i/binutils' | make[3]: *** [all-recursive] Error 1 | make[3]: Leaving directory `/home/piyush/work/oe/build/tmp/work/armv4t-angstrom-linux-gnueabi/binutils-cros s-2.18.50.0.7-r6/binutils-2.18.50.0.7/build.i686-linux.arm-angstrom-linux-gnueab i/binutils' | make[2]: *** [all] Error 2 | make[2]: Leaving directory `/home/piyush/work/oe/build/tmp/work/armv4t-angstrom-linux-gnueabi/binutils-cros s-2.18.50.0.7-r6/binutils-2.18.50.0.7/build.i686-linux.arm-angstrom-linux-gnueab i/binutils' | make[1]: *** [all-binutils] Error 2 | make[1]: *** Waiting for unfinished jobs.... | ldmain.o: In function `main': | ldmain.c:(.text+0x1820): multiple definition of `main' | ldlex.o:ldlex.c:(.text+0x0): first defined here | ldgram.o: In function `yyparse': | ldgram.c:(.text+0x8d7): undefined reference to `yylex' | ldgram.c:(.text+0xc78): undefined reference to `ldlex_popstate' | ldgram.c:(.text+0xca2): undefined reference to `ldlex_expression' | ldgram.c:(.text+0xe78): undefined reference to `ldlex_version_file' | ldgram.c:(.text+0xed5): undefined reference to `ldlex_popstate' | ldgram.c:(.text+0xee6): undefined reference to `ldlex_version_file' | ldgram.c:(.text+0x1065): undefined reference to `ldlex_popstate' | ldgram.c:(.text+0x10e9): undefined reference to `ldlex_popstate' | ldgram.c:(.text+0x10ee): undefined reference to `ldlex_expression' | ldgram.c:(.text+0x10f9): undefined reference to `ldlex_script' | ldgram.c:(.text+0x114a): undefined reference to `ldlex_expression' | ldgram.c:(.text+0x1159): undefined reference to `ldlex_popstate' | ldgram.c:(.text+0x1200): undefined reference to `ldlex_popstate' | ldgram.c:(.text+0x1232): undefined reference to `ldlex_expression' | ldgram.c:(.text+0x1241): undefined reference to `ldlex_popstate' | ldgram.c:(.text+0x1284): undefined reference to `ldlex_popstate' | ldgram.c:(.text+0x1291): undefined reference to `ldlex_expression' | ldgram.c:(.text+0x12b8): undefined reference to `ldlex_popstate' | ldgram.c:(.text+0x12c1): undefined reference to `ldlex_script' | ldgram.c:(.text+0x12d1): undefined reference to `ldlex_expression' | ldgram.c:(.text+0x1310): undefined reference to `ldlex_popstate' | ldgram.c:(.text+0x133f): undefined reference to `ldlex_popstate' | ldgram.c:(.text+0x1349): undefined reference to `ldlex_expression' | ldgram.c:(.text+0x1398): undefined reference to `ldlex_popstate' | ldgram.c:(.text+0x13a1): undefined reference to `ldlex_script' | ldgram.c:(.text+0x13b1): undefined reference to `ldlex_expression' | ldgram.c:(.text+0x1b07): undefined reference to `ldlex_popstate' | ldgram.c:(.text+0x1b1c): undefined reference to `ldlex_expression' | ldgram.c:(.text+0x1b4e): undefined reference to `ldlex_both' | ldgram.c:(.text+0x1b97): undefined reference to `ldlex_popstate' | ldgram.c:(.text+0x1ba9): undefined reference to `ldlex_expression' | ldgram.c:(.text+0x1c61): undefined reference to `ldlex_popstate' | ldgram.c:(.text+0x1c71): undefined reference to `ldlex_script' | ldgram.c:(.text+0x1e4e): undefined reference to `ldlex_popstate' | ldgram.c:(.text+0x1e78): undefined reference to `ldlex_expression' | ldgram.c:(.text+0x2177): undefined reference to `ldlex_popstate' | ldgram.c:(.text+0x21a7): undefined reference to `ldlex_defsym' | ldgram.c:(.text+0x2384): undefined reference to `ldlex_popstate' | ldgram.c:(.text+0x2399): undefined reference to `ldlex_script' | ldgram.c:(.text+0x24cf): undefined reference to `ldlex_popstate' | ldgram.c:(.text+0x265c): undefined reference to `ldlex_popstate' | ldgram.c:(.text+0x2669): undefined reference to `ldlex_version_script' | ldgram.c:(.text+0x2679): undefined reference to `ldlex_popstate' | ldgram.c:(.text+0x268a): undefined reference to `ldlex_popstate' | ldgram.c:(.text+0x26a0): undefined reference to `ldlex_mri_script' | lexsup.o: In function `parse_args': | lexsup.c:(.text+0xc28): undefined reference to `parser_input' | lexsup.c:(.text+0xc64): undefined reference to `parser_input' | lexsup.c:(.text+0xf2b): undefined reference to `lex_string' | lexsup.c:(.text+0xf33): undefined reference to `lex_redirect' | lexsup.c:(.text+0xf39): undefined reference to `parser_input' | lexsup.c:(.text+0xf5c): undefined reference to `lex_string' | lexsup.c:(.text+0x12bc): undefined reference to `parser_input' | lexsup.c:(.text+0x16e6): undefined reference to `parser_input' | ldlang.o: In function `load_symbols': | ldlang.c:(.text+0x3cab): undefined reference to `parser_input' | ldmain.o: In function `main': | ldmain.c:(.text+0x24b1): undefined reference to `parser_input' | ldmain.c:(.text+0x24ed): undefined reference to `parser_input' | ldmain.c:(.text+0x24fc): undefined reference to `lex_string' | ldmain.c:(.text+0x26aa): undefined reference to `lex_string' | ldmain.c:(.text+0x26b2): undefined reference to `lex_redirect' | ldexp.o: In function `exp_relop': | ldexp.c:(.text+0x4da): undefined reference to `lineno' | ldexp.o: In function `exp_bigintop': | ldexp.c:(.text+0x51a): undefined reference to `lineno' | ldexp.o: In function `exp_intop': | ldexp.c:(.text+0x55a): undefined reference to `lineno' | ldexp.o: In function `exp_get_abs_int': | ldexp.c:(.text+0x1b38): undefined reference to `lineno' | ldexp.o: In function `exp_nameop': | ldexp.c:(.text+0x1d74): undefined reference to `lineno' | ldmisc.o:ldmisc.c:(.text+0x6a8): more undefined references to `lineno' follow | ldmisc.o: In function `vfinfo': | ldmisc.c:(.text+0x977): undefined reference to `lex_string' | ldmisc.c:(.text+0xb2e): undefined reference to `lineno' | ldfile.o: In function `ldfile_open_command_file': | ldfile.c:(.text+0x384): undefined reference to `lex_push_file' | ldfile.c:(.text+0x39c): undefined reference to `lineno' | ldfile.o: In function `ldfile_try_open_bfd': | ldfile.c:(.text+0x5fa): undefined reference to `parser_input' | ldfile.c:(.text+0x603): undefined reference to `ldlex_both' | ldfile.c:(.text+0x631): undefined reference to `yylex' | ldfile.c:(.text+0x6f1): undefined reference to `yylex' | ldfile.c:(.text+0x701): undefined reference to `yylex' | ldfile.c:(.text+0x717): undefined reference to `yylex' | ldfile.c:(.text+0x781): undefined reference to `ldlex_popstate' | ldfile.c:(.text+0x786): undefined reference to `yyin' | ldfile.c:(.text+0x7a1): undefined reference to `yyin' | ldfile.c:(.text+0x7f9): undefined reference to `yylex' | ldfile.c:(.text+0x831): undefined reference to `yylex' | ldfile.c:(.text+0x856): undefined reference to `yylex' | ldfile.c:(.text+0x869): undefined reference to `yylex' | collect2: ld returned 1 exit status | make[4]: *** [ld-new] Error 1 | make[4]: Leaving directory `/home/piyush/work/oe/build/tmp/work/armv4t-angstrom-linux-gnueabi/binutils-cros s-2.18.50.0.7-r6/binutils-2.18.50.0.7/build.i686-linux.arm-angstrom-linux-gnueab i/ld' | make[3]: *** [all-recursive] Error 1 | make[3]: Leaving directory `/home/piyush/work/oe/build/tmp/work/armv4t-angstrom-linux-gnueabi/binutils-cros s-2.18.50.0.7-r6/binutils-2.18.50.0.7/build.i686-linux.arm-angstrom-linux-gnueab i/ld' | make[2]: *** [all] Error 2 | make[2]: Leaving directory `/home/piyush/work/oe/build/tmp/work/armv4t-angstrom-linux-gnueabi/binutils-cros s-2.18.50.0.7-r6/binutils-2.18.50.0.7/build.i686-linux.arm-angstrom-linux-gnueab i/ld' | make[1]: *** [all-ld] Error 2 | make[1]: Leaving directory `/home/piyush/work/oe/build/tmp/work/armv4t-angstrom-linux-gnueabi/binutils-cros s-2.18.50.0.7-r6/binutils-2.18.50.0.7/build.i686-linux.arm-angstrom-linux-gnueab i' | make: *** [all] Error 2 | + die 'oe_runmake failed' | + oefatal 'oe_runmake failed' | + echo FATAL: 'oe_runmake failed' | FATAL: oe_runmake failed | + exit 1 NOTE: package binutils-cross-2.18.50.0.7-r6: task do_compile: Failed ERROR: Function 'do_compile' failed (see /home/piyush/work/oe/build/tmp/work/armv4t-angstrom-linux-gnueabi/binutils-cross -2.18.50.0.7-r6/temp/log.do_compile.22772 for further information) ERROR: Task 677 (/home/piyush/work/oe/mini2440/re...stripped-down
error in building the openembedded through the bitbake
NOTE: package binutils-cross-2.18.50.0.7-r6: task do_compile: Failed ERROR: Function 'do_compile' failed (see /home/piyush/work/oe/build/tmp/work/armv4t-angstrom-linux-gnueabi/binutils-cross -2.18.50.0.7-r6/temp/log.do_compile.22772 for further information) ERROR: Task 677 (/home/piyush/work/oe/mini2440/recipes/binutils/binutils-cross_2.18.50.0.7.bb, do_compile) failed with exit code '1' Waiting for 3 active tasks to finish: 0: linux-libc-headers-2.6.23-r4 do_populate_staging (pid 22776) 1: gcc-cross-intermediate-4.2.4-r5 do_setscene (pid 22784) 2: qemu-native-0.10.3-r1 do_compile (pid 22796) Waiting for 2 active tasks to finish: 0: gcc-cross-intermediate-4.2.4-r5 do_setscene (pid 22784) 1: qemu-native-0.10.3-r1 do_compile (pid 22796) NOTE: package linux-libc-headers-2.6.23-r4: task do_populate_staging: Succeeded Waiting for 1 active tasks to finish: 0: qemu-native-0.10.3-r1 do_compile (pid 22796) NOTE: package gcc-cross-intermediate-4.2.4-r5: task do_setscene: Succeeded So I want to know why I am getting this error, please help me guys am I missing something or some library. I am using ubuntu 10.04 and I have installed the gcc compiler 3.4 Please tell me guys what is this error all about.