tomita-parser
tomita-parser copied to clipboard
Problem with building with glibc-devel-32bit installed
I'm using openSUSE 13.1 x86_64. I've tried to build tomita, but it fails to build. The problem it that it tries to link against /usr/lib/crt1.o
and other libs like that. Those libraries are the part of glibc-devel-32bit
package. I've removed it (I needed it to build some legacy program) and it builds fine.
I'm not sure is this a tomita-parser
bug or cmake
bug.
Here is build output:
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `/usr/lib/crt1.o' is incompatible with i386:x86-64 output
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `/usr/lib/crti.o' is incompatible with i386:x86-64 output
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `/usr/lib/crtn.o' is incompatible with i386:x86-64 output
collect2: error: ld returned 1 exit status
make[2]: *** [contrib/tools/yasm/yasm] Error 1
make[1]: *** [contrib/tools/yasm/CMakeFiles/yasm.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....