<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-IN" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">I was trying to compile the Firefox browser for a custom embedded device. But it is falling giving the following error:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">cd /home/iepl/work/yocto_build/poky/build/tmp/work/aarch64-pdm3-linux/firefox/52.9.0esr-r0/firefox-52.9.0esr/firefox-build-dir<o:p></o:p></p>
<p class="MsoNormal">| /home/iepl/work/yocto_build/poky/build/tmp/work/aarch64-pdm3-linux/firefox/52.9.0esr-r0/firefox-52.9.0esr/configure --target=aarch64-pdm3-linux --host=x86_64-linux --with-toolchain-prefix=aarch64-pdm3-linux- --build=x86_64-linux --prefix=/usr<o:p></o:p></p>
<p class="MsoNormal">| Reexecuting in the virtualenv<o:p></o:p></p>
<p class="MsoNormal">| Adding configure options from /home/iepl/work/yocto_build/poky/build/tmp/work/aarch64-pdm3-linux/firefox/52.9.0esr-r0/mozconfig<o:p></o:p></p>
<p class="MsoNormal">|   --enable-application=browser<o:p></o:p></p>
<p class="MsoNormal">|   --target=aarch64-pdm3-linux<o:p></o:p></p>
<p class="MsoNormal">|   --prefix=/usr<o:p></o:p></p>
<p class="MsoNormal">|   --enable-application=browser<o:p></o:p></p>
<p class="MsoNormal">|   --enable-official-branding<o:p></o:p></p>
<p class="MsoNormal">|   --disable-elf-hack<o:p></o:p></p>
<p class="MsoNormal">|   --disable-gold<o:p></o:p></p>
<p class="MsoNormal">|   --disable-strip<o:p></o:p></p>
<p class="MsoNormal">|   --disable-install-strip<o:p></o:p></p>
<p class="MsoNormal">|   --with-system-nss<o:p></o:p></p>
<p class="MsoNormal">|   --with-system-nspr<o:p></o:p></p>
<p class="MsoNormal">|   --with-system-zlib<o:p></o:p></p>
<p class="MsoNormal">|   --with-system-bz2<o:p></o:p></p>
<p class="MsoNormal">|   --with-system-libevent<o:p></o:p></p>
<p class="MsoNormal">|   --with-system-libvpx<o:p></o:p></p>
<p class="MsoNormal">|   --with-system-icu<o:p></o:p></p>
<p class="MsoNormal">|   --enable-system-ffi<o:p></o:p></p>
<p class="MsoNormal">|   --enable-system-pixman<o:p></o:p></p>
<p class="MsoNormal">|   --enable-startup-notification<o:p></o:p></p>
<p class="MsoNormal">|   --enable-pulseaudio<o:p></o:p></p>
<p class="MsoNormal">|   --disable-tests<o:p></o:p></p>
<p class="MsoNormal">|   --disable-necko-wifi<o:p></o:p></p>
<p class="MsoNormal">|   --disable-gconf<o:p></o:p></p>
<p class="MsoNormal">|   --disable-crashreporter<o:p></o:p></p>
<p class="MsoNormal">|   --disable-updater<o:p></o:p></p>
<p class="MsoNormal">|   --disable-debug-symbols<o:p></o:p></p>
<p class="MsoNormal">| checking for a shell... /home/iepl/work/yocto_build/poky/build/tmp/hosttools/sh<o:p></o:p></p>
<p class="MsoNormal">| checking for host system type... x86_64-pc-linux-gnu<o:p></o:p></p>
<p class="MsoNormal">| checking for target system type... aarch64-pdm3-linux-gnu<o:p></o:p></p>
<p class="MsoNormal">| Traceback (most recent call last):<o:p></o:p></p>
<p class="MsoNormal">|   File "/home/iepl/work/yocto_build/poky/build/tmp/work/aarch64-pdm3-linux/firefox/52.9.0esr-r0/firefox-52.9.0esr/configure.py", line 107, in <module><o:p></o:p></p>
<p class="MsoNormal">|     sys.exit(main(sys.argv))<o:p></o:p></p>
<p class="MsoNormal">|   File "/home/iepl/work/yocto_build/poky/build/tmp/work/aarch64-pdm3-linux/firefox/52.9.0esr-r0/firefox-52.9.0esr/configure.py", line 26, in main<o:p></o:p></p>
<p class="MsoNormal">|     sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))<o:p></o:p></p>
<p class="MsoNormal">|   File "/home/iepl/work/yocto_build/poky/build/tmp/work/aarch64-pdm3-linux/firefox/52.9.0esr-r0/firefox-52.9.0esr/python/mozbuild/mozbuild/configure/__init__.py", line 359, in run<o:p></o:p></p>
<p class="MsoNormal">|     raise InvalidOptionError('Unknown option: %s' % without_value)<o:p></o:p></p>
<p class="MsoNormal">| mozbuild.configure.options.InvalidOptionError: Unknown option: --build<o:p></o:p></p>
<p class="MsoNormal">| *** Fix above errors and then restart with\<o:p></o:p></p>
<p class="MsoNormal">|                "make -f client.mk build"<o:p></o:p></p>
<p class="MsoNormal">| client.mk:375: recipe for target 'configure' failed<o:p></o:p></p>
<p class="MsoNormal">| make: *** [configure] Error 1<o:p></o:p></p>
<p class="MsoNormal">| ERROR: oe_runmake failed<o:p></o:p></p>
<p class="MsoNormal">| WARNING: exit code 1 from a shell command.<o:p></o:p></p>
<p class="MsoNormal">| ERROR: Function failed: do_configure (log file is located at /home/iepl/work/yocto_build/poky/build/tmp/work/aarch64-pdm3-linux/firefox/52.9.0esr-r0/temp/log.do_configure.5847)<o:p></o:p></p>
<p class="MsoNormal">ERROR: Task (/home/iepl/work/yocto_build/meta-browser/recipes-browser/firefox/firefox_52.9.0esr.bb:do_configure) failed with exit code '1'<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Can anybody provide me a solution or at least a  hint, so that I can move forward.<o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:black;mso-fareast-language:EN-IN"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:black;mso-fareast-language:EN-IN">Best Regards
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:black;mso-fareast-language:EN-IN">Kamal Pandey<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:black;mso-fareast-language:EN-IN">Junior Software Engineer</span><span lang="EN-US" style="color:black;mso-fareast-language:EN-IN"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="color:black;mso-fareast-language:EN-IN"><img width="32" height="32" style="width:.3333in;height:.3333in" id="Picture_x0020_1" src="cid:image001.png@01D438BB.7223DDE0" alt="ifm_logo_sqrs"></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:black;mso-fareast-language:EN-IN">ifm
 engineering pvt. ltd.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Trebuchet MS",sans-serif;color:black;mso-fareast-language:EN-IN">Survey No. 1/10/16, 3rd floor, Above SBI, Bavdhan Branch, N.D.A. Road, Bavdhan, Pune, India - 411021 | Web:
</span><span lang="EN-US" style="mso-fareast-language:EN-IN"><a href="http://www.ifm.com/"><span style="font-size:8.0pt;font-family:"Trebuchet MS",sans-serif;color:black">www.ifm.com</span></a></span><span lang="EN-US" style="font-size:8.0pt;font-family:"Trebuchet MS",sans-serif;color:black;mso-fareast-language:EN-IN">
 | Phone: +91-20-22951910 Extn:215 | CIN: U29213PN2010FTC13676</span><span style="mso-fareast-language:EN-IN"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>