LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-06-2011, 02:56 AM   #1
sheelavantar
Member
 
Registered: Aug 2010
Posts: 69

Rep: Reputation: 1
MIPS cross compilation error


Hello,
I am trying to compile "nss_ldap" for MIPS arch,but getting some errors. I have cross compiled "pam_ldap" for the same successfully.

I am getting following errors.

then mv -f ".deps/ldap-alias.Tpo" ".deps/ldap-alias.Po"; else rm -f ".deps/ldap-alias.Tpo"; exit 1; fi
cc1: warning: include location "/usr/include" is unsafe for cross-compilation
if /opt/montavista/pro/devkit/mips/fp_be/bin/mips_fp_be-gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/lib/evolution-openldap/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -g -O2 -MT ldap-service.o -MD -MP -MF ".deps/ldap-service.Tpo" -c -o ldap-service.o ldap-service.c; \
then mv -f ".deps/ldap-service.Tpo" ".deps/ldap-service.Po"; else rm -f ".deps/ldap-service.Tpo"; exit 1; fi
cc1: warning: include location "/usr/include" is unsafe for cross-compilation
/tmp/ccG7mfLD.s: Assembler messages:
/tmp/ccG7mfLD.s:294: Error: unrecognized opcode `rorw $8,$2'
/tmp/ccG7mfLD.s:562: Error: unrecognized opcode `rorw $8,$2'
make[1]: *** [ldap-service.o] Error 1
make[1]: Leaving directory `/product/wibro/premium/src/APP/Protocols/ASNGW/nss_ldap-265'
make: *** [all] Error 2

Please help me to fix this error.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail cross compilation error tamilm Linux - Software 1 10-24-2008 08:29 AM
cross compilation error for ssh-3.2.9.1 tamilm Linux - Networking 1 09-17-2008 02:32 PM
How to make cross compilation toolchain for mips architecture kennithwang Linux - Embedded & Single-board computer 3 10-20-2007 08:03 AM
linking error during cross compilation with ucibc libraries raklo Linux - Kernel 0 03-25-2007 11:48 PM
Kernel compilation error using cross compiler bond_7942 Linux - Software 0 02-02-2005 12:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration