1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
>>> perl 5.16.1 Configuring
rm -f /home/fdkit/buildroot/output/build/perl-5.16.1/config.sh
(cd /home/fdkit/buildroot/output/build/perl-5.16.1; ./Configure -des -Dusecrosscompile -Dtargetrun=/home/fdkit/buildroot/output/host/usr/bin/qemu-arm -Dtargetrun=qemu-arm -Dqemulib=/home/fdkit/buildroot/output/host/usr/arm-buildroot-linux-gnueabi/sysroot -Dar="/home/fdkit/buildroot/output/host/usr/bin/arm-openmandriva-linux-gnueabi-ar" -Dcc="/home/fdkit/buildroot/output/host/usr/bin/arm-openmandriva-linux-gnueabi-gcc" -Dcpp="/home/fdkit/buildroot/output/host/usr/bin/arm-openmandriva-linux-gnueabi-gcc" -Dld="/home/fdkit/buildroot/output/host/usr/bin/arm-openmandriva-linux-gnueabi-ld" -Dnm="/home/fdkit/buildroot/output/host/usr/bin/arm-openmandriva-linux-gnueabi-nm" -Dranlib="/home/fdkit/buildroot/output/host/usr/bin/arm-openmandriva-linux-gnueabi-ranlib" -Dccflags="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -O2 " -Dldflags=" -lgcc_s -lm" -Dlddlflags="-shared" -Dlibc=/home/fdkit/buildroot/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/lib/libc.so -Duseshrplib -Dprefix=/usr -Uoptimize)
First let's make sure your kit is complete.  Checking...
Would you like to see the instructions? [n]  
Locating common programs...
Checking compatibility between /bin/echo and builtin echo (if any)...
Symbolic links are supported.
Checking how to test for symbolic links...
You can test for symbolic links with 'test -h'.
Guessing incpth '/home/fdkit/linaro/crosstool-ng/install/lib/gcc/arm-openmandriva-linux-gnueabi/4.7.3/include /home/fdkit/linaro/crosstool-ng/install/lib/gcc/arm-openmandriva-linux-gnueabi/4.7.3/include-fixed /home/fdkit/linaro/crosstool-ng/install/lib/gcc/arm-openmandriva-linux-gnueabi/4.7.3/../../../../arm-openmandriva-linux-gnueabi/include /home/fdkit/buildroot/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/include'.
Guessing libpth '/home/fdkit/linaro/crosstool-ng/install/lib/gcc/arm-openmandriva-linux-gnueabi/4.7.3/include-fixed /home/fdkit/linaro/crosstool-ng/install/lib/gcc/arm-openmandriva-linux-gnueabi/4.7.3/../../../../arm-openmandriva-linux-gnueabi/lib /home/fdkit/buildroot/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib'.
Using targetarch /home/fdkit/buildroot/output/host/usr/bin/arm-openmandriva-linux-gnueabi.
Using incpth '/home/fdkit/linaro/crosstool-ng/install/lib/gcc/arm-openmandriva-linux-gnueabi/4.7.3/include /home/fdkit/linaro/crosstool-ng/install/lib/gcc/arm-openmandriva-linux-gnueabi/4.7.3/include-fixed /home/fdkit/linaro/crosstool-ng/install/lib/gcc/arm-openmandriva-linux-gnueabi/4.7.3/../../../../arm-openmandriva-linux-gnueabi/include /home/fdkit/buildroot/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/include'.
Using libpth '/home/fdkit/linaro/crosstool-ng/install/lib/gcc/arm-openmandriva-linux-gnueabi/4.7.3/include-fixed /home/fdkit/linaro/crosstool-ng/install/lib/gcc/arm-openmandriva-linux-gnueabi/4.7.3/../../../../arm-openmandriva-linux-gnueabi/lib /home/fdkit/buildroot/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib'.
Guessing usrinc /home/fdkit/buildroot/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/include.
Using targethost dummy.
Guessing targetdir /tmp.
Guessing targetuser root.
Using '/home/fdkit/buildroot/output/build/perl-5.16.1/Cross/run-qemu-arm' for remote execution,
and ':' and ':'
for remote file transfer.
Good, your tr supports [:lower:] and [:upper:] to convert case.
Using [:upper:] and [:lower:] to convert case.
3b1           dragonfly       irix_6_1        opus          super-ux   
aix_3         dynixptx        irix_6          os2           svr4   
aix_4         dynix           isc_2           os390         svr5   
aix           epix            isc             os400         ti1500   
altos486      esix4           linux           posix-bc      titanos   
amigaos       fps             lynxos          powerux       ultrix_4   
atheos        freebsd         midnightbsd     qnx           umips   
aux_3         genix           mips            rhapsody      unicosmk   
beos          gnukfreebsd     mirbsd          riscos        unicos   
bsdos         gnuknetbsd      mpc             sco_2_3_0     unisysdynix   
catamount     gnu             mpeix           sco_2_3_1     utekv   
convexos      greenhills      ncr_tower       sco_2_3_2     uts   
cxux          haiku           netbsd          sco_2_3_3     uwin   
cygwin        hpux            newsos4         sco_2_3_4     vmesa   
darwin        i386            next_3_0        sco           vos   
dcosx         interix         next_3          solaris_2   
dec_osf       irix_4          next_4          stellar   
dgux          irix_5          nonstopux       sunos_4_0   
dos_djgpp     irix_6_0        openbsd         sunos_4_1   
Which of these apply, if any? [openmandriva-linux-gnueabi]  
hint to use instead? [openmandriva-linux-gnueabi]  
Operating system name? [openmandriva-linux-gnueabi]  
Operating system version? [none]  
Installation prefix to use? (~name ok) [/usr]  
AFS does not seem to be running...
What installation prefix should I use for installing files? (~name ok)
[/usr]  
Getting the current patchlevel...
Build a threading Perl? [n]  
Build Perl for multiplicity? [n]  
Use which C compiler?
[/home/fdkit/buildroot/output/host/usr/bin/arm-openmandriva-linux-gnueabi-gcc]  
Checking for GNU cc in disguise and/or its version number...
FATAL: kernel too old
Now, how can we feed standard input to your C preprocessor...
Directories to use for library searches?
[/home/fdkit/linaro/crosstool-ng/install/lib/gcc/arm-openmandriva-linux-gnueabi/4.7.3/include-fixed /home/fdkit/linaro/crosstool-ng/install/lib/gcc/arm-openmandriva-linux-gnueabi/4.7.3/../../../../arm-openmandriva-linux-gnueabi/lib /home/fdkit/buildroot/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib]  
What is the file extension used for shared libraries? [so]  
Build Perl for SOCKS? [n]  
Try to use long doubles if available? [n]  
Checking for optional libraries...
What libraries to use? [-lnsl -lgdbm -ldbm -ldb -ldl -lm -lcrypt -lutil -lc]  
What optimizer/debugger flag should be used? [none]  
Any additional cc flags?
[-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -O2]  
Let me guess what the preprocessor flags are...
Any additional ld flags (NOT including libraries)? [ -lgcc_s -lm]  
Checking your choice of C compiler and flags for coherency...
I've tried to compile and run the following simple program:

#include <stdio.h>
int main() { printf("Ok\n"); return(0); }

I used the command:

        /home/fdkit/buildroot/output/host/usr/bin/arm-openmandriva-linux-gnueabi-gcc -o try -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -O2 -lgcc_s -lm try.c -lnsl -lgdbm -ldbm -ldb -ldl -lm -lcrypt -lutil -lc
        /home/fdkit/buildroot/output/build/perl-5.16.1/Cross/run-qemu-arm ./try

and I got the following output:

FATAL: kernel too old
The program compiled OK, but exited with status 1.
You have a problem.  Shall I abort Configure [y]  
Ok.  Stopping Configure.
make: *** [/home/fdkit/buildroot/output/build/perl-5.16.1/.stamp_configured] Error 1
[fdkit@localhost buildroot]$