LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (http://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   Need help with failed kernel compile messages. (http://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/need-help-with-failed-kernel-compile-messages-4175422998/)

akrkhandelwal 08-20-2012 01:26 AM

Need help with failed kernel compile messages.
 
Code:

ankur@baloo:/data/Projects/BirdDetector/01_Software/AppLinuxKernel/trunk/OpenEmbedded/linux-2.6-xlnx-HEAD/linux-2.6-xlnx$ make ARCH=microblaze
  CHK    include/linux/version.h
  CHK    include/generated/utsrelease.h
  CALL    scripts/checksyscalls.sh
<stdin>:1554:2: warning: #warning syscall sendmmsg not implemented
  CHK    include/generated/compile.h
  GEN    usr/initramfs_data.cpio
  AS      usr/initramfs_data.o
  LD      usr/built-in.o
  LD      vmlinux.o
  MODPOST vmlinux.o
WARNING: modpost: Found 1 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
  GEN    .version
  CHK    include/generated/compile.h
  UPD    include/generated/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
  KSYM    .tmp_kallsyms1.S
  AS      .tmp_kallsyms1.o
  LD      .tmp_vmlinux2
  KSYM    .tmp_kallsyms2.S
  AS      .tmp_kallsyms2.o
  LD      vmlinux
  SYSMAP  System.map
  SYSMAP  .tmp_System.map
  OBJCOPY arch/microblaze/boot/linux.bin
/bin/sh: -c: line 0: syntax error near unexpected token `;'
/bin/sh: -c: line 0: `set -e;  ; echo 'cmd_arch/microblaze/boot/linux.bin := ' > arch/microblaze/boot/.linux.bin.cmd'
make[1]: *** [arch/microblaze/boot/linux.bin] Error 1
make: *** [linux.bin] Error 2
ankur@baloo:/data/Projects/BirdDetector/01_Software/AppLinuxKernel/trunk/OpenEmbedded/linux-2.6-xlnx-HEAD/linux-2.6-xlnx$
ankur@baloo:/data/Projects/BirdDetector/01_Software/AppLinuxKernel/trunk/OpenEmbedded/linux-2.6-xlnx-HEAD/linux-2.6-xlnx$
ankur@baloo:/data/Projects/BirdDetector/01_Software/AppLinuxKernel/trunk/OpenEmbedded/linux-2.6-xlnx-HEAD/linux-2.6-xlnx$
ankur@baloo:/data/Projects/BirdDetector/01_Software/AppLinuxKernel/trunk/OpenEmbedded/linux-2.6-xlnx-HEAD/linux-2.6-xlnx$ make
  CHK    include/linux/version.h
  CHK    include/generated/utsrelease.h
  CALL    scripts/checksyscalls.sh
<stdin>:1554:2: warning: #warning syscall sendmmsg not implemented
  CHK    include/generated/compile.h
/bin/sh: -c: line 0: syntax error near unexpected token `;'
/bin/sh: -c: line 0: `set -e;  ; echo 'cmd_arch/microblaze/boot/linux.bin := ' > arch/microblaze/boot/.linux.bin.cmd'
make[1]: *** [arch/microblaze/boot/linux.bin] Error 1
make: *** [linux.bin] Error 2


Didier Spaier 08-20-2012 02:00 AM

Hello, welcome to LQ.

As a visitor since at least Oct 2009 you should know that:

1) "urgent" as a title is irrelevant: it is not urgent for us and says nothing about your problem
2) code and output of commands are easier to read if ending with [/code] and beginning with [code] tags
3) Slackware has no microblaze port (yet), so this forum may not be the best to get useful answers

That said, how can we help you solve your problem if you give us only output of a failed kernel cross compilation to investigate?

At the very least we would need to know what are the system on which you compile, the kernel version, the config file.

And maybe knowing what you are trying to achieve could be interesting as well.

Alien Bob 08-20-2012 02:32 AM

I do not see the relevance of this post for the Slackware forum.

Please ask a moderator to move your topic to for instance the Linux-embedded forum (http://www.linuxquestions.org/questi...x-embedded-78/). And ask a proper question instead of just posting compilation output!

Eric

onebuck 08-20-2012 08:10 AM

Moderator Response
 
Hi,

@akrkhandelwal

You really have not provided enough information for us to really help to diagnose the problem(s). Your 'make' line has been truncated. How did you setup the '.config'? What are you truly trying to do?

FYI: I suggest that you look at 'How to Ask Questions the Smart Way' so in the future your queries provide information that will aid us in diagnosis of the problem or query.


All times are GMT -5. The time now is 01:29 PM.