[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Unknown opcode error



Michal

Well, its Newbie hat back on my head again...... all you have to do is
run "config -no-asm". It compiles now, linking and running is still
being worked out, however.

...Chris

Michal Simek wrote:
> Hi Chris,
>
>
>> How can the following error be corrected? I'm trying to port
>> OpenSSL-l-0.9.8b app so other apps like OpenVPN can be ported
>> ....Thanks....Chris
>>
>> mb-linux-gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT .
>> -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -Wall
>> -DOPENSSL_BN_ASM_PART_WORDS
>> -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM
>> -c -o x86cpuid-elf.o x86cpuid-elf.s
>>
>> x86cpuid-elf.s: Assembler messages:
>> x86cpuid-elf.s:13: Error: unknown opcode "pushl"
>> x86cpuid-elf.s:25: Error: unknown opcode "pushfl"
>> x86cpuid-elf.s:26: Error: unknown opcode "popl"
>> x86cpuid-elf.s:27: Error: unknown opcode "xorl"
>> x86cpuid-elf.s:28: Error: unknown opcode "btl"
>> x86cpuid-elf.s:29: Error: unknown opcode "jnc"
>> x86cpuid-elf.s:30: Error: unknown opcode "movl"
>>
>
> This can be solve only by removing x86 asm code which you are trying to compile with mb tools.
>
> Regards,
> Michal
>
>
>>
>> ------------------------------------------------------------------------
>> Express your personality in color! Preview and select themes for
>> Hotmail®. See how.
>>
>>
>
>




Hotmail® is up to 70% faster. Now good news travels really fast. Find out more.