develooper Front page | perl.perl5.porters | Postings from May 2008

Re: [perl #49946] Ambigous Configure run/make error

Thread Previous
Andy Dougherty
May 5, 2008 06:44
Re: [perl #49946] Ambigous Configure run/make error
Message ID:
On Fri, 18 Jan 2008, Schlotterbeck-Macht Stefan wrote:

> # New Ticket Created by  "Schlotterbeck-Macht Stefan" 
> # Please include the string:  [perl #49946]
> # in the subject line of all future correspondence about this issue. 
> # <URL: >
> Hi,
> I am trying to cross compile perl 5.8.8 to avr32-linux (Microcontroller 
> w. MMU). Target Linux is Version 2.6.23 with some hardware specific 
> patches applied. Runs perfectly.
> Running ./Configure with all my cross-compile definitions succeeds (only 
> the stdio-flush-test hung, had to kill scp process to make Configure to 
> go on).
> Finally make runs perfectly until it tries to run ./miniperl -w -Ilib 
> -MExporter -e '<?>' what it obviously canĀ“t because it has the wrong 
> binary format (it is cross compiled...)
> Here are the last output lines of make:
> avr32-linux-gcc  -o miniperl \
>             miniperlmain.o opmini.o libperl.a -lnsl -ldl -lm -lcrypt -lutil -lc 
> ./miniperl -w -Ilib -MExporter -e '<?>' || make minitest
> /bin/sh: ./miniperl: cannot execute binary file
> make[1]: Entering directory `/home/macht/avr32/src/perl-5.8.8'
> make[1]: *** No rule to make target `<command-line>', needed by `miniperlmain.o'.  Stop.

> Any workarounds?

Sorry for the long delay in replying to this.  I don't know much about 
cross-compilation, but the error from 'make' there looks like a simple 
error in our 'make depend' process.  That target '<command-line>' can 
simply be deleted in 'makefile'.  (It's a message printed by gcc versions 
newer than were commonly in use when we tested 5.8.8.)

Hope this helps,

    Andy Dougherty
Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About