Failure Building Installer

23 views
Skip to first unread message

Dave Smith

unread,
Jul 25, 2012, 11:16:10 AM7/25/12
to 0xlab-...@googlegroups.com
We are trying to build the "happy installer" uImage from source, and are unable to do so.  Our host system is Ubuntu 10.04, GNU Make 3.82.  We execute the following commands from inside the 0xdroid-kernel repository:

$ git checkout -b installer origin/installer

$ make ARCH=arm 0xdroid_installer_defconfig

$ make -j4 ARCH=arm CROSS_COMPILE=../beagle-eclair/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- uImage

The first two commands run successfully without issue.
However, the result of the third is the build runs for approximately 5 seconds, and the the following error:

/home/user/0xdroid-kernel/usr/Makefile:50: *** target pattern contains no `%'.  Stop.
make: *** [usr] Error 2
make: *** Waiting for unfinished jobs....

What are the host system requirements needed in order to build the installer from source?  We need to customize the display graphics used during the install process.

Thanks for your help.

Jim Huang

unread,
Aug 2, 2012, 10:34:35 AM8/2/12
to 0xlab-...@googlegroups.com
2012/7/25 Dave Smith <dasmi...@gmail.com>:
[...]
> $ make -j4 ARCH=arm
> CROSS_COMPILE=../beagle-eclair/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-
> uImage
>
> The first two commands run successfully without issue.
> However, the result of the third is the build runs for approximately 5
> seconds, and the the following error:

hi,

Can you remove "-j4" to locate the problem causing build failure?

Thanks,
Jim Huang a.k.a. "jserv"
http://0xlab.org/

Dave Smith

unread,
Aug 2, 2012, 6:00:55 PM8/2/12
to 0xlab-...@googlegroups.com
Thank you for you reply.  Below is the full output from the make command (it is not long, the build doesn't take long to fail).

~/0xdroid-kernel $ sudo make ARCH=arm CROSS_COMPILE=../toolchain/arm-eabi-4.4.0/bin/arm-eabi- uImage
  CHK     include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
  CHK     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-arm
  CC      kernel/bounds.s
  GEN     include/linux/bounds.h
  CC      arch/arm/kernel/asm-offsets.s
  GEN     include/asm/asm-offsets.h
  CALL    scripts/checksyscalls.sh
<stdin>:1097:2: warning: #warning syscall fadvise64 not implemented
<stdin>:1265:2: warning: #warning syscall migrate_pages not implemented
<stdin>:1321:2: warning: #warning syscall pselect6 not implemented
<stdin>:1325:2: warning: #warning syscall ppoll not implemented
<stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented
  CC      scripts/mod/empty.o
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/modpost.o
scripts/mod/modpost.c: In function ‘get_markers’:
scripts/mod/modpost.c:1542: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result
scripts/mod/modpost.c: In function ‘add_marker’:
scripts/mod/modpost.c:1962: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
  CC      init/main.o
  CHK     include/linux/compile.h
  SKIPPED include/linux/compile.h
  CC      init/version.o
  CC      init/do_mounts.o
  CC      init/do_mounts_initrd.o
  LD      init/mounts.o
  CC      init/initramfs.o
  CC      init/calibrate.o
  LD      init/built-in.o
/home/user/0xdroid-kernel/usr/Makefile:50: *** target pattern contains no `%'.  Stop.
make: *** [usr] Error 2

Below is a section of the Makefile it is complaining about, with line numbers added, so you can see line 50:

  48 targets := initramfs_data.cpio.gz initramfs_data.cpio.bz2 initramfs_data.cpio.lzma initramfs_data.cpio
  49 # do not try to update files included in initramfs
  50 $(deps_initramfs): ;
  51
  52 $(deps_initramfs): klibcdirs


Any assistance is appreciated.
Thanks,
Dave Smith

Dave Smith

unread,
Aug 14, 2012, 2:26:18 PM8/14/12
to 0xlab-...@googlegroups.com
If it is unclear what the overall problem is, could you perhaps simply mention what host system your team uses to build the code internally?  OS Version, Make Version, GCC Version, etc.?

Thanks.
Reply all
Reply to author
Forward
0 new messages