Dne čtvrtek, 5. června 2014 13:55:33 UTC+2 Bastiaan van den Berg napsal(a):
> try 
> $ ls arch/arm/configs/
> that should show you defconfigs that you -do- have ;)
> --
> buZz

Thank you. I had bad config file name. 
But compilation still crash:

martin@martin:~/arm/linux-sunxi$ make ARCH=arm 
CROSS_COMPILE=arm-linux-gnueabihf- sun7ismp_defconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
drivers/net/wireless/bcmdhd/Kconfig:42:warning: defaults for choice values not 
supported
#
# configuration written to .config
#
martin@martin:~/arm/linux-sunxi$ 

martin@martin:~/arm/linux-sunxi$ make -j4 ARCH=arm 
CROSS_COMPILE=arm-linux-gnueabihf- uImage modules 
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/net/wireless/bcmdhd/Kconfig:42:warning: defaults for choice values not 
supported
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  HOSTCC  scripts/genksyms/genksyms.o
  HOSTCC  scripts/genksyms/lex.lex.o
  CC      scripts/mod/empty.o
  HOSTCC  scripts/mod/mk_elfconfig
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/file2alias.o
make[1]: `include/generated/mach-types.h' is up to date.
  HOSTCC  scripts/genksyms/parse.tab.o
  HOSTLD  scripts/genksyms/genksyms
  HOSTCC  scripts/kallsyms
  HOSTCC  scripts/mod/modpost.o
  CC      kernel/bounds.s
  HOSTCC  scripts/mod/sumversion.o
  GEN     include/generated/bounds.h
  CC      arch/arm/kernel/asm-offsets.s
  HOSTCC  scripts/conmakehash
  GEN     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  HOSTLD  scripts/mod/modpost
  CC      init/main.o
  HOSTCC  usr/gen_init_cpio
  CHK     include/generated/compile.h
  CC      arch/arm/vfp/vfpmodule.o
  CC      init/do_mounts.o
In file included from include/linux/security.h:26:0,
                 from init/main.c:32:
include/linux/fsnotify.h: In function ‘fsnotify_oldname_init’:
include/linux/fsnotify.h:317:2: warning: pointer targets in passing argument 1 
of ‘kstrdup’ differ in signedness [-Wpointer-sign]
  return kstrdup(name, GFP_KERNEL);
  ^
In file included from include/linux/bitmap.h:8:0,
                 from include/linux/nodemask.h:95,
                 from include/linux/mmzone.h:16,
                 from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from init/main.c:13:
include/linux/string.h:119:14: note: expected ‘const char *’ but argument is of 
type ‘const unsigned char *’
 extern char *kstrdup(const char *s, gfp_t gfp);
              ^
In file included from include/linux/security.h:26:0,
                 from init/main.c:32:
include/linux/fsnotify.h:317:2: warning: pointer targets in return differ in 
signedness [-Wpointer-sign]
  return kstrdup(name, GFP_KERNEL);
  ^
/tmp/ccpGbgZF.s: Assembler messages:
/tmp/ccpGbgZF.s:70: Error: selected processor does not support Thumb mode `mrc 
p15,0,r2,c1,c0,2'
/tmp/ccpGbgZF.s:83: Error: selected processor does not support Thumb mode `mcr 
p15,0,r3,c1,c0,2'
/tmp/ccpGbgZF.s:87: Error: selected processor does not support Thumb mode `isb'
/tmp/ccpGbgZF.s:132: Error: selected processor does not support Thumb mode `mrc 
p10,7,r2,cr8,cr0,0'
/tmp/ccpGbgZF.s:141: Error: selected processor does not support Thumb mode `mcr 
p10,7,r3,cr8,cr0,0'
/tmp/ccpGbgZF.s:172: Error: selected processor does not support Thumb mode `mrc 
p10,7,r4,cr8,cr0,0'
/tmp/ccpGbgZF.s:214: Error: selected processor does not support Thumb mode `mcr 
p10,7,r3,cr8,cr0,0'
/tmp/ccpGbgZF.s:226: Error: selected processor does not support Thumb mode `mcr 
p10,7,r4,cr8,cr0,0'
/tmp/ccpGbgZF.s:298: Error: selected processor does not support Thumb mode `mrc 
p10,7,r4,cr0,cr0,0'
/tmp/ccpGbgZF.s:414: Error: selected processor does not support Thumb mode `mrc 
p10,7,r1,cr7,cr0,0'
/tmp/ccpGbgZF.s:437:   GEN     usr/initramfs_data.cpio
Error: selected processor does not support Thumb mode `mrc p15,0,r1,c0,c0,0'
/tmp/ccpGbgZF.s:453: Error: selected processor does not support Thumb mode `mrc 
p10,7,r1,cr6,cr0,0'
/tmp/ccpGbgZF.s:474: Error: selected processor does not support Thumb mode `mrc 
p10,7,r2,cr6,cr0,0'
/tmp/ccpGbgZF.s:722: Error: selected processor does not support Thumb mode `mrc 
p10,7,r1,cr8,cr0,0'
/tmp/ccpGbgZF.s:730: Error: selected processor does not support Thumb mode `mrc 
p10,7,r2,cr1,cr0,0'
/tmp/ccpGbgZF.s:791: Error: selected processor does not support Thumb mode `mcr 
p10,7,r2,cr1,cr0,0'
/tmp/ccpGbgZF.s:931: Error: selected processor does not support Thumb mode `mrc 
p10,7,r4,cr8,cr0,0'
/tmp/ccpGbgZF.s:939: Error: selected processor does not support Thumb mode `mcr 
p10,7,r0,cr8,cr0,0'
/tmp/ccpGbgZF.s:1055: Error: selected processor does not support Thumb mode 
`mcr p10,7,r3,cr8,cr0,0'
/tmp/ccpGbgZF.s:1066: Error: selected processor does not support Thumb mode 
`mrc p10,7,r3,cr0,cr0,0'
/tmp/ccpGbgZF.s:1079: Error: selected processor does not support Thumb mode 
`mrc p10,7,r4,cr1,cr0,0'
/tmp/ccpGbgZF.s:1101: Error: selected processor does not support Thumb mode 
`mrc p10,7,r5,cr9,cr0,0'
/tmp/ccpGbgZF.s:1179: Error: selected processor does not support Thumb mode 
`mrc p10,7,r5,cr10,cr0,0'
/tmp/ccpGbgZF.s:1307: Error: selected processor does not support Thumb mode 
`mrc p10,7,r4,cr8,cr0,0'
/tmp/ccpGbgZF.s:1316: Error: selected processor does not support Thumb mode 
`mcr p10,7,r1,cr8,cr0,0'
/tmp/ccpGbgZF.s:1325: Error: selected processor does not support Thumb mode 
`mcr p10,7,r4,cr8,cr0,0'
/tmp/ccpGbgZF.s:1411: Error: selected processor does not support Thumb mode 
`mrc p10,7,r5,cr8,cr0,0'
/tmp/ccpGbgZF.s:1440: Error: selected processor does not support Thumb mode 
`mcr p10,7,r5,cr8,cr0,0'
/tmp/ccpGbgZF.s:1485: Error: selected processor does not support Thumb mode 
`mrc p10,7,r2,cr8,cr0,0'
/tmp/ccpGbgZF.s:1493: Error: selected processor does not support Thumb mode 
`mcr p10,7,r3,cr8,cr0,0'
/tmp/ccpGbgZF.s:1796: Error: Thumb does not support this addressing mode -- 
`str r3,[r7],#0'
/tmp/ccpGbgZF.s:1817: Error: Thumb does not support this addressing mode -- 
`str r3,[r6],#0'
/tmp/ccpGbgZF.s:1840: Error: Thumb does not support this addressing mode -- 
`str r3,[r2],#0'
/tmp/ccpGbgZF.s:1866: Error: Thumb does not support this addressing mode -- 
`str r3,[r6],#0'
/tmp/ccpGbgZF.s:2006: Error: Thumb does not support this addressing mode -- 
`ldr r2,[r7],#0'
/tmp/ccpGbgZF.s:2028: Error: Thumb does not support this addressing mode -- 
`ldr r1,[r5],#0'
/tmp/ccpGbgZF.s:2069: Error: Thumb does not support this addressing mode -- 
`ldr r1,[r2],#0'
/tmp/ccpGbgZF.s:2097: Error: Thumb does not support this addressing mode -- 
`ldr r2,[r5],#0'
make[1]: *** [arch/arm/vfp/vfpmodule.o] Error 1
make: *** [arch/arm/vfp] Error 2
make: *** Waiting for unfinished jobs....
  CC      init/do_mounts_initrd.o
In file included from 
/home/martin/arm/linux-sunxi/arch/arm/include/asm/page.h:170:0,
                 from include/linux/mmzone.h:20,
                 from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from init/main.c:13:
/home/martin/arm/linux-sunxi/arch/arm/include/asm/memory.h: In function 
‘start_kernel’:
/home/martin/arm/linux-sunxi/arch/arm/include/asm/memory.h:162:2: warning: asm 
operand 2 probably doesn’t match constraints [enabled by default]
  __asm__("@ __pv_stub\n"    \
  ^
/home/martin/arm/linux-sunxi/arch/arm/include/asm/memory.h:173:2: note: in 
expansion of macro ‘__pv_stub’
  __pv_stub(x, t, "add", __PV_BITS_31_24);
  ^
/home/martin/arm/linux-sunxi/arch/arm/include/asm/memory.h:162:2: warning: asm 
operand 2 probably doesn’t match constraints [enabled by default]
  __asm__("@ __pv_stub\n"    \
  ^
/home/martin/arm/linux-sunxi/arch/arm/include/asm/memory.h:173:2: note: in 
expansion of macro ‘__pv_stub’
  __pv_stub(x, t, "add", __PV_BITS_31_24);
  ^
/home/martin/arm/linux-sunxi/arch/arm/include/asm/memory.h:162:2: warning: asm 
operand 2 probably doesn’t match constraints [enabled by default]
  __asm__("@ __pv_stub\n"    \
  ^
/home/martin/arm/linux-sunxi/arch/arm/include/asm/memory.h:173:2: note: in 
expansion of macro ‘__pv_stub’
  __pv_stub(x, t, "add", __PV_BITS_31_24);
  ^
/home/martin/arm/linux-sunxi/arch/arm/include/asm/memory.h:162:2: warning: asm 
operand 2 probably doesn’t match constraints [enabled by default]
  __asm__("@ __pv_stub\n"    \
  ^
/home/martin/arm/linux-sunxi/arch/arm/include/asm/memory.h:173:2: note: in 
expansion of macro ‘__pv_stub’
  __pv_stub(x, t, "add", __PV_BITS_31_24);
  ^
/home/martin/arm/linux-sunxi/arch/arm/include/asm/memory.h:162:2: error: 
impossible constraint in ‘asm’
  __asm__("@ __pv_stub\n"    \
  ^
/home/martin/arm/linux-sunxi/arch/arm/include/asm/memory.h:173:2: note: in 
expansion of macro ‘__pv_stub’
  __pv_stub(x, t, "add", __PV_BITS_31_24);
  ^
/home/martin/arm/linux-sunxi/arch/arm/include/asm/memory.h:162:2: error: 
impossible constraint in ‘asm’
  __asm__("@ __pv_stub\n"    \
  ^
/home/martin/arm/linux-sunxi/arch/arm/include/asm/memory.h:173:2: note: in 
expansion of macro ‘__pv_stub’
  __pv_stub(x, t, "add", __PV_BITS_31_24);
  ^
/home/martin/arm/linux-sunxi/arch/arm/include/asm/memory.h:162:2: error: 
impossible constraint in ‘asm’
  __asm__("@ __pv_stub\n"    \
  ^
/home/martin/arm/linux-sunxi/arch/arm/include/asm/memory.h:173:2: note: in 
expansion of macro ‘__pv_stub’
  __pv_stub(x, t, "add", __PV_BITS_31_24);
  ^
/home/martin/arm/linux-sunxi/arch/arm/include/asm/memory.h:162:2: error: 
impossible constraint in ‘asm’
  __asm__("@ __pv_stub\n"    \
  ^
/home/martin/arm/linux-sunxi/arch/arm/include/asm/memory.h:173:2: note: in 
expansion of macro ‘__pv_stub’
  __pv_stub(x, t, "add", __PV_BITS_31_24);
  ^
In file included from include/linux/security.h:26:0,
                 from init/do_mounts.c:8:
include/linux/fsnotify.h: In function ‘fsnotify_oldname_init’:
include/linux/fsnotify.h:317:2: warning: pointer targets in passing argument 1 
of ‘kstrdup’ differ in signedness [-Wpointer-sign]
  return kstrdup(name, GFP_KERNEL);
  ^
In file included from include/linux/bitmap.h:8:0,
                 from include/linux/nodemask.h:95,
                 from include/linux/mmzone.h:16,
                 from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from init/do_mounts.c:1:
include/linux/string.h:119:14: note: expected ‘const char *’ but argument is of 
type ‘const unsigned char *’
 extern char *kstrdup(const char *s, gfp_t gfp);
              ^
In file included from include/linux/security.h:26:0,
                 from init/do_mounts.c:8:
include/linux/fsnotify.h:317:2: warning: pointer targets in return differ in 
signedness [-Wpointer-sign]
  return kstrdup(name, GFP_KERNEL);
  ^
  AS      usr/initramfs_data.o
make[1]: *** [init/main.o] Error 1
make[1]: *** Waiting for unfinished jobs....
  LD      usr/built-in.o
In file included from include/linux/tcp.h:211:0,
                 from include/linux/ipv6.h:221,
                 from include/net/ipv6.h:16,
                 from include/linux/sunrpc/clnt.h:26,
                 from include/linux/nfs_fs.h:50,
                 from init/do_mounts.c:20:
include/net/sock.h: In function ‘skb_add_data_nocache’:
include/net/sock.h:1688:12: warning: pointer targets in passing argument 4 of 
‘skb_do_copy_data_nocache’ differ in signedness [-Wpointer-sign]
            copy, offset);
            ^
include/net/sock.h:1662:19: note: expected ‘char *’ but argument is of type 
‘unsigned char *’
 static inline int skb_do_copy_data_nocache(struct sock *sk, struct sk_buff 
*skb,
                   ^
init/do_mounts.c: In function ‘devt_from_partuuid’:
init/do_mounts.c:128:2: warning: pointer targets in passing argument 1 of 
‘part_pack_uuid’ differ in signedness [-Wpointer-sign]
  part_pack_uuid(uuid_str, uuid);
  ^
In file included from init/do_mounts.c:10:0:
include/linux/genhd.h:207:20: note: expected ‘const u8 *’ but argument is of 
type ‘char *’
 static inline void part_pack_uuid(const u8 *uuid_str, u8 *to)
                    ^
make: *** [init] Error 2
martin@martin:~/arm/linux-sunxi$ 

Do you have an idea how can I fix it?

-- 
Martin Vancl

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to