Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problems building latest GIT revision
#1
I am trying to compile a clean build of PCSX2 on a 64bit machine (creating a 32bit executable).

I have done this many times in the past with no problems. I have just downloaded the latest GIT revision and have come across the following problem:

Code:
Building pcsx2 with -DCMAKE_BUILD_PO=FALSE -DCMAKE_BUILD_TYPE=Release -DSDL2_API=FALSE -DGTK3_API=TRUE -DCMAKE_TOOLCHAIN_FILE=cmake/linux-compiler-i386-multilib.cmake
-- The C compiler identification is GNU 6.3.1
-- The CXX compiler identification is GNU 6.3.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- broken
CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:61 (message):
 The C compiler "/usr/bin/cc" is not able to compile a simple test program.

 It fails with the following output:

  Change Dir: /mnt/games/native_emulators/source_files/pcsx2/build_rel/CMakeFiles/CMakeTmp

 

 Run Build Command:"/usr/bin/gmake" "cmTC_b7076/fast"

 /usr/bin/gmake -f CMakeFiles/cmTC_b7076.dir/build.make
 CMakeFiles/cmTC_b7076.dir/build

 gmake[1]: Entering directory
 '/mnt/games/native_emulators/source_files/pcsx2/build_rel/CMakeFiles/CMakeTmp'


 Building C object CMakeFiles/cmTC_b7076.dir/testCCompiler.c.o

 /usr/bin/cc -m32 -o CMakeFiles/cmTC_b7076.dir/testCCompiler.c.o -c
 /mnt/games/native_emulators/source_files/pcsx2/build_rel/CMakeFiles/CMakeTmp/testCCompiler.c


 Linking C executable cmTC_b7076

 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b7076.dir/link.txt
 --verbose=1

 /usr/bin/cc -m32 CMakeFiles/cmTC_b7076.dir/testCCompiler.c.o -o cmTC_b7076
 -rdynamic

 /usr/bin/ld: cannot find crt1.o: No such file or directory

 /usr/bin/ld: cannot find crti.o: No such file or directory

 /usr/bin/ld: cannot find -lc

 /usr/bin/ld: cannot find crtn.o: No such file or directory

 collect2: error: ld returned 1 exit status

 CMakeFiles/cmTC_b7076.dir/build.make:97: recipe for target 'cmTC_b7076'
 failed

 gmake[1]: *** [cmTC_b7076] Error 1

 gmake[1]: Leaving directory
 '/mnt/games/native_emulators/source_files/pcsx2/build_rel/CMakeFiles/CMakeTmp'


 Makefile:126: recipe for target 'cmTC_b7076/fast' failed

 gmake: *** [cmTC_b7076/fast] Error 2

 

 

 CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
 CMakeLists.txt:2 (project)


-- Configuring incomplete, errors occurred

Would anybody be able to try and build the latest GIT revision and post the results here? I am trying to workout if the problem is at my end or with the code?

I have gcc version 6.3.1 (Fedora 25).

Thanks.
Reply

Sponsored links

#2
I have fixed it. Sorry for the false alarm.

I was missing the 32 bit glibc-devel package
Reply




Users browsing this thread: 1 Guest(s)