[oe] cc1plus: error: unrecognized command line option "-mmmx"

Anand Sivaram aspnair at gmail.com
Mon Jun 28 11:57:45 UTC 2010


On Mon, Jun 28, 2010 at 16:50, Soumya R <Soumya.R at kpitcummins.com> wrote:

> Hi All,
>
>    I am using Ubuntu 10.4 LTS as a host machine and target is mipsel
> Au1300..
> I am building my own image.. when i run bitbake  -D avn-image i
> get the following error..
>
> This is the Qt for Embedded Linux Open Source Edition.
>
> You are licensed to use this software under the terms of
> the Lesser GNU General Public License (LGPL) versions 2.1.
> You are also licensed to use this software under the terms of
> the GNU General Public License (GPL) versions 3.
>
> Type '3' to view the GNU General Public License version 3.
> Type 'L' to view the Lesser GNU General Public License version 2.1.
> Type 'yes' to accept this license offer.
> Type 'no' to decline this license offer.
>
> Do you accept the terms of either license?
> floatmath auto-detection... ()
> compiling floatmath.cpp
> floatmath.cpp:44: warning: unused parameter 'argc'
> floatmath.cpp:44: warning: unused parameter 'argv'
> linking floatmath
> /home/likewise-open/KPIT/soumyar/avnbuild/openembedded/tmp/cross/mipsel/lib/gcc/mipsel-avn-linux/4.2.2/../../../../mipsel-avn-linux/bin/ld:
> warning: libc.so, needed by
> /home/likewise-open/KPIT/soumyar/avnbuild/openembedded/tmp/cross/mipsel/lib/gcc/mipsel-avn-linux/4.2.2/../../../../mipsel-avn-linux/lib/libgcc_s.so,
> not found (try using -rpath or -rpath-link)
> floatmath enabled.
> mmx auto-detection... ()
> compiling mmx.cpp
> cc1plus: error: unrecognized command line option "-mmmx"
> make: *** [mmx.o] Error 1
> mmx disabled.
> 3dnow auto-detection... ()
> compiling 3dnow.cpp
> cc1plus: error: unrecognized command line option "-m3dnow"
> make: *** [3dnow.o] Error 1
> 3dnow disabled.
> sse auto-detection... ()
> compiling sse.cpp
> cc1plus: error: unrecognized command line option "-msse"
> make: *** [sse.o] Error 1
> sse disabled.
> sse2 auto-detection... ()
> compiling sse2.cpp
> cc1plus: error: unrecognized command line option "-msse2"
> make: *** [sse2.o] Error 1
> sse2 disabled.
> libtiff auto-detection... ()
> compiling libtiff.cpp
> libtiff.cpp:42:20: error: tiffio.h: No such file or directory
> libtiff.cpp:50:6: error: #error "Required libtiff not found"
> libtiff.cpp: In function 'int main(int, char**)':
> libtiff.cpp:57: error: 'tdata_t' was not declared in this scope
> libtiff.cpp:57: error: expected `;' before 'buffer'
> libtiff.cpp:58: error: 'buffer' was not declared in this scope
> libtiff.cpp:58: error: '_TIFFfree' was not declared in this scope
> libtiff.cpp:62: error: 'TIFFReadRGBAImageOriented' was not declared in this
> scope
> make: *** [libtiff.o] Error 1
> libtiff disabled.
> libmng auto-detection... ()
> compiling libmng.cpp
> libmng.cpp:42:20: error: libmng.h: No such file or directory
> libmng.cpp:50:2: error: #error System libmng version is less than 1.0.9;
> using built-in version instead.
> libmng.cpp: In function 'int main(int, char**)':
> libmng.cpp:46: error: 'mng_handle' was not declared in this scope
> libmng.cpp:46: error: expected `;' before 'hMNG'
> libmng.cpp:47: error: 'hMNG' was not declared in this scope
> libmng.cpp:47: error: 'mng_cleanup' was not declared in this scope
> make: *** [libmng.o] Error 1
> libmng disabled.
> DB2 auto-detection... ()
> compiling db2.cpp
> db2.cpp:42:20: error: sqlcli.h: No such file or directory
> db2.cpp:43:21: error: sqlcli1.h: No such file or directory
> make: *** [db2.o] Error 1
> DB2 disabled.
> MySQL (thread-safe) auto-detection... ()
> compiling ../mysql/mysql.cpp
> ../mysql/mysql.cpp:42:19: error: mysql.h: No such file or directory
> make: *** [mysql.o] Error 1
> MySQL (thread-safe) disabled.
> MySQL (thread-unsafe) auto-detection... ()
> compiling mysql.cpp
> mysql.cpp:42:19: error: mysql.h: No such file or directory
> make: *** [mysql.o] Error 1
> MySQL (thread-unsafe) disabled.
> MySQL support cannot be enabled due to functionality tests!
>  Turn on verbose messaging (-v) to ./configure to see the final report.
>  If you believe this message is in error you may use the continue
>  switch (-continue) to ./configure to continue.
>
> Thanks in advance:-)
>
> Regards,
> Soumya
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>

It is somehow trying to build for an amd machine, mmx is a part of 586 and
3dnow is a part of amd k6 instruction sets.  You need to specify the machine
type to mips somewhere.



More information about the Openembedded-devel mailing list