Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6619901
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:01:53+00:00 2026-05-25T21:01:53+00:00

I have successfully configure perl for cross comile by using configure options: ./Configure -des

  • 0

I have successfully configure perl for cross comile by using configure options:

./Configure -des -Dusecrosscompile \
    -Dtargethost=172.17.185.91 \
    -Dtargetdir=/home/perl/ \
    -Dtargetuser=root \
    -Dtargetarch=arm-linux \
    -Dcc=arm-linux-gcc \
    -Dusrinc=/opt/Mozart_Toolchain/arm-eabi-uclibc/include/ \
    -Dincpth=/opt/Mozart_Toolchain/arm-eabi-uclibc/include/ \
    -Dlibpth=/opt/Mozart_Toolchain/arm-eabi-uclibc/lib/

And the configure script tell me “Now you must run ‘make’.” But I encounter such as error when I make:

`sh  cflags "optimize='-O2'" miniperlmain.o`  miniperlmain.c
  CCCMD =  arm-linux-gcc -DPERL_CORE -c -DOVR_DBL_DIG=14 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -O2  -Wall 
In file included from perl.h:38,
                 from miniperlmain.c:40:
config.h:4425:12: error: operator '==' has no left operand
In file included from miniperlmain.c:40:
perl.h:713:14: error: operator '>=' has no left operand
... ...

In config.h, some macro is left blank, for example:

#define INTSIZE         /**/
#define LONGSIZE        /**/
#define SHORTSIZE       /**/
... much more ...

And I think it is the undefined macro result in the make error. I have no idea how to fix it. Why the macro is blank even if successfully configure?
Are there some guides to cross compile Perl?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T21:01:54+00:00Added an answer on May 25, 2026 at 9:01 pm

    I got the easiest way to cross compile Perl for arm-linux.Please refer to Cross-compiling perl. It’s a great work! It saved my life.

    Just according to instructions that give, you can get what you want. You may encounter such error when ‘make’:

    pp_sys.c:78: error: non-thread-local declaration of 'h_errno' follows thread-local declaration
    

    Simply comment that line.
    Enjoy it!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using SOLR with NUTCH I have successfully configure both and Solr is
I am trying to configure JRuby using RVM on Ubuntu Linux. I have successfully
I have compiled Qt4 embedded SDK for using on BeagleBoard with following options: ./configure
I am pretty new to GraniteDS..So far I have been able to successfully configure
This is my situation. I have successfully implemented logging to remote syslog using log4net.
We have WFF 2.5 installed, and have used it to successfully configure a farm
I have a successfully running WCF service that I can call using javascript. However
I am using open source C++ library DCMTK from http://dicom.offis.de/dcmtk.php.en . I have successfully
I have successfully used custom UITableViewCells using separate classes, but I keep thinking there
I have successfully connected to an Oracle database (10g) from C# (Visual Studio 2008)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.