# URGENT

**URL:** <https://forums.percona.com/t/urgent/1057>\
**Category:** Other MySQL® Questions\
**Created:** [January 17, 2009, 6:04am UTC](https://forums.percona.com/t/urgent/1057 "2009-01-17T06:04:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bleustreak1](https://avatars.discourse-cdn.com/v4/letter/b/85e7bf/32.png) [@bleustreak1](https://forums.percona.com/u/bleustreak1)\
**Post date:** [January 17, 2009, 6:04am UTC](https://forums.percona.com/t/urgent/1057/1 "2009-01-17T06:04:54Z")

</div>

I GET AN ERROR MESSAGE WHILE DOING MAKE OF MYSQL  
ERROR GOES SOMETHING LIKE THIS:  
Error while make in Mysql exit 1;fi  
gcc:cannot specify -o with -c or -S and multiple compilations  
[make 2]; \*\*\*\*[my\_new.0] error1  
[make 2]: leaving dir /usr/local  
[make 1]: \*\*\* [all-recursive] Error1

i have tried using 2 diffrent versions of mysql  
i am build a LAMP configuration on my pc with rhl9 in text mode using  
CFLAGS=“-O3”  
CXX=gcc  
CXXFLAGS=“-O3   
-mpentiumpro   
-mstack-align-double   
-felide-constructors   
-fno-exceptions -fno-rtti”  
./configure   
–prefix=/usr/local/mysql   
–with-extra-charsets=complex   
–enable-thread-safe-client   
–enable-local-infile   
–enable-assembler   
–disable-shared   
–with-client-ldflags=-all-static   
–with-mysqld-ldflags=-all-static

i don’t seem to get an error message here  
then when i type make iget the error message after some time

would really like to know what is wrong AND HOW TO SOLVE IT it is very urgent

---

<div class="post-metadata">

**Author:** ![januzi](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@januzi](https://forums.percona.com/u/januzi)\
**Post date:** [January 18, 2009, 7:54am UTC](https://forums.percona.com/t/urgent/1057/2 "2009-01-18T07:54:05Z")

</div>

Please paste gcc -v

Check ./configure with different options (like without assembler etc), at one point make should run without errors.

You should also paste few more lines before “gcc:cannot specify”
