jgoraus

opencc INTERNAL ERROR

Discussion created by jgoraus on Jun 30, 2009
Latest reply on Jun 30, 2009 by jgoraus
error with compilation

I tried to build opencc on suse 11.1 x64,  ATHLON x2 6000

The file opencc exists but when I try to do the next step in INSTALL,

namely: make lib MACHINE_TYPE=i386 BUILD_COMPILER=OSP

I am getting  the output:

linux-3ct6:/opt/x86_open64-4.2.2 # make lib MACHINE_TYPE=i386 BUILD_COMPILER=OSP
make -C osprey/targia32_builtonia32 default
make[1]: Wej?cie do katalogu `/opt/x86_open64-4.2.2/osprey/targia32_builtonia32'
make -C include default
make -C libelf default
make first
make[3]: Nie ma nic do zrobienia w `first'.
make libelf.a
C      /opt/x86_open64-4.2.2/osprey/targia32_builtonia32/libelf/../../libelf/lib/32.fsize.c

### Assertion failure at line 286 of ../../be/cg/register.cxx:
### Compiler Error in file ../../libelf/lib/32.fsize.c during Codegen Initialization phase:
### invalide register class 8
opencc INTERNAL ERROR: /opt/open64-4.2.1/lib/gcc-lib/x86_64-open64-linux/4.2.2.1/be returned non-zero status 1
make[3]: *** [32.fsize.o] B??d 1
make[2]: *** [default] B??d 2
make[1]: *** [default] B??d 2
make[1]: Opuszczenie katalogu `/opt/x86_open64-4.2.2/osprey/targia32_builtonia32'
make: *** [lib] B??d 2
linux-3ct6:/opt/x86_open64-4.2.2 #

 

When I try to compile some simple program flops.c to see what is the

performance of opencc compiler, I'm getting the same

./flops.c: In function 'main':
./flops.c:174: warning: return type of 'main' is not 'int'

### Assertion failure at line 286 of ../../be/cg/register.cxx:
### Compiler Error in file ./flops.c during Codegen Initialization phase:
### invalide register class 8
opencc INTERNAL ERROR: /opt/open64-4.2.1/lib/gcc-lib/x86_64-open64-linux/4.2.2.1/be returned non-zero status 1

 

What does it mean ?

 

sincerely

J. Goraus

Outcomes