Compiling 5d3 with a 64 bit linux host OS

Started by pompeiisneaks, February 04, 2014, 09:01:03 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pompeiisneaks

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

Figured it out. Centos needed the libgcc.i686 rpm.