Author Topic: Compiling 5d3 with a 64 bit linux host OS  (Read 2892 times)

pompeiisneaks

  • Freshman
  • **
  • Posts: 66
Compiling 5d3 with a 64 bit linux host OS
« on: February 04, 2014, 09:01:03 AM »
I think the issue is with the 64 bit OS, but from what I understand, just adding -m32 to gcc cmdline args should help this, and it seems to be there in this case, but when I compile the modules, I get this type of error:

Question, some of the modules, raw_rec for example, fail to build with this error:

/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.4.7/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.4.7/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
make[3]: *** [raw2dng] Error 1

What am I missing?  Some .i686 rpm?

~Phil

pompeiisneaks

  • Freshman
  • **
  • Posts: 66
Re: Compiling 5d3 with a 64 bit linux host OS
« Reply #1 on: February 04, 2014, 11:29:24 PM »
Figured it out. Centos needed the libgcc.i686 rpm.