JiujiangZhu / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

During compilation of 32 bit Gtest framework in to 64 bit fedora 17 in c++ getting error #504

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
IMPORTANT NOTE: PLEASE send issues or requests to
http://groups.google.com/group/googletestframework *instead of here*.
This issue tracker is NOT regularly monitored.

If you really need to create a new issue, please provide the information
asked for below.

What steps will reproduce the problem?
1. I am copying the Gtest Framework in Fedora 17-x86-64
2. Then in make file i have given m-32 for compilation
3. After that i am getting below error

/usr/bin/ld: skipping incompatible 
/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../lib/libgtest.so when 
searching for -lgtest
/usr/bin/ld: skipping incompatible 
/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../lib/libgtest.a when 
searching for -lgtest
/usr/bin/ld: skipping incompatible /lib/../lib/libgtest.so when searching for 
-lgtest
/usr/bin/ld: skipping incompatible /lib/../lib/libgtest.a when searching for 
-lgtest
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libgtest.so when searching 
for -lgtest
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libgtest.a when searching 
for -lgtest
/usr/bin/ld: skipping incompatible 
/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../libgtest.so when searching for 
-lgtest
/usr/bin/ld: skipping incompatible 
/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../libgtest.a when searching for 
-lgtest
/usr/bin/ld: skipping incompatible /lib/libgtest.so when searching for -lgtest
/usr/bin/ld: skipping incompatible /lib/libgtest.a when searching for -lgtest
/usr/bin/ld: skipping incompatible /usr/lib/libgtest.so when searching for 
-lgtest
/usr/bin/ld: skipping incompatible /usr/lib/libgtest.a when searching for 
-lgtest
/usr/bin/ld: cannot find -lgtest
/usr/bin/ld: skipping incompatible 
/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../lib/libgtest_main.so when 
searching for -lgtest_main
/usr/bin/ld: skipping incompatible 
/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../lib/libgtest_main.a when 
searching for -lgtest_main
/usr/bin/ld: skipping incompatible /lib/../lib/libgtest_main.so when searching 
for -lgtest_main
/usr/bin/ld: skipping incompatible /lib/../lib/libgtest_main.a when searching 
for -lgtest_main
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libgtest_main.so when 
searching for -lgtest_main
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libgtest_main.a when 
searching for -lgtest_main
/usr/bin/ld: skipping incompatible 
/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../libgtest_main.so when searching 
for -lgtest_main
/usr/bin/ld: skipping incompatible 
/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../libgtest_main.a when searching 
for -lgtest_main
/usr/bin/ld: skipping incompatible /lib/libgtest_main.so when searching for 
-lgtest_main
/usr/bin/ld: skipping incompatible /lib/libgtest_main.a when searching for 
-lgtest_main
/usr/bin/ld: skipping incompatible /usr/lib/libgtest_main.so when searching for 
-lgtest_main
/usr/bin/ld: skipping incompatible /usr/lib/libgtest_main.a when searching for 
-lgtest_main
/usr/bin/ld: cannot find -lgtest_main
/usr/bin/ld: skipping incompatible 
/usr/lib/gcc/x86_64-redhat-linux/4.7.2/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: cannot find -lgcc_s

What is the expected output? What do you see instead?
It should be compiled

What version of Google Test are you using? On what operating system?
Gtest 1.6.0
Windows XP

Please provide any additional information below, such as a code snippet.

Original issue reported on code.google.com by rupali...@gmail.com on 27 Oct 2015 at 8:56