* cc1plus: error: unrecognized command line option "-mmmx"
@ 2010-06-28 11:20 Soumya R
2010-06-28 11:57 ` Anand Sivaram
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Soumya R @ 2010-06-28 11:20 UTC (permalink / raw)
To: openembedded-devel@lists.openembedded.org
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: cc1plus: error: unrecognized command line option "-mmmx"
2010-06-28 11:20 cc1plus: error: unrecognized command line option "-mmmx" Soumya R
@ 2010-06-28 11:57 ` Anand Sivaram
2010-06-28 12:54 ` Holger Freyther
2010-06-28 17:27 ` Khem Raj
2 siblings, 0 replies; 4+ messages in thread
From: Anand Sivaram @ 2010-06-28 11:57 UTC (permalink / raw)
To: openembedded-devel
On Mon, Jun 28, 2010 at 16:50, Soumya R <Soumya.R@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@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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: cc1plus: error: unrecognized command line option "-mmmx"
2010-06-28 11:20 cc1plus: error: unrecognized command line option "-mmmx" Soumya R
2010-06-28 11:57 ` Anand Sivaram
@ 2010-06-28 12:54 ` Holger Freyther
2010-06-28 17:27 ` Khem Raj
2 siblings, 0 replies; 4+ messages in thread
From: Holger Freyther @ 2010-06-28 12:54 UTC (permalink / raw)
To: openembedded-devel
On 06/28/2010 07:20 PM, Soumya R 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..
Well,
why do you think that -mmmx is the problem? As the text says it is an
"auto-detection" and it comes to the conclusion that mmx does not work.
If it is not MMX what is missing here? You can find the result at the
bottom of your log file.
z.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: cc1plus: error: unrecognized command line option "-mmmx"
2010-06-28 11:20 cc1plus: error: unrecognized command line option "-mmmx" Soumya R
2010-06-28 11:57 ` Anand Sivaram
2010-06-28 12:54 ` Holger Freyther
@ 2010-06-28 17:27 ` Khem Raj
2 siblings, 0 replies; 4+ messages in thread
From: Khem Raj @ 2010-06-28 17:27 UTC (permalink / raw)
To: openembedded-devel
On Mon, Jun 28, 2010 at 4:20 AM, Soumya R <Soumya.R@kpitcummins.com> wrote:
> 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
seems you are missing a dependency on libtiff or somesuch in whatever
recipe you are
building here. there is similar problem few line below in the log
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-06-28 17:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-28 11:20 cc1plus: error: unrecognized command line option "-mmmx" Soumya R
2010-06-28 11:57 ` Anand Sivaram
2010-06-28 12:54 ` Holger Freyther
2010-06-28 17:27 ` Khem Raj
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox