Hi,
Here's an error where I don't see what I'm doing wrong; suggestions?
Perhaps this can be used as a reproducible example of the persistent
error behaviour mentioned on this list.
- start with linux-2.5.14, core-11, and kbuild-common and -i386
patches to match. (tried later with core-12: same result)
- generate oldconfig
- generate installable
- generate arch/i386/boot/tools/build.i
At this point, the following error message occurs:
pp_makefile4: arch/i386/boot/tools/build.i is selected
but is not part of vmlinux, missing link_subdirs?
- now if I generate installable again, the same error message
occurs, although installable was generated OK previously.
It may be relevant that both source and object tree are stored on NFS.
Regards,
Erik
The script to start kbuild:
export KBUILD_OBJTREE=/dat/proj/linux/linux-2.5.14-work
export KBUILD_SRCTREE_000=/dat/proj/linux/linux-2.5.14
make -j2 -f $KBUILD_SRCTREE_000/Makefile-2.5 $*
The commands and output, edited for clarity:
+ rm -rf .tmp*
...
rm: cannot remove directory `.tmp_include/src_000': Directory not empty
rm: cannot remove directory `.tmp_include': Directory not empty
+ rm -rf .tmp*
+ sh go oldconfig
Using ARCH='i386' AS='as' LD='ld' CC='/usr/bin/gcc' CPP='/usr/bin/gcc -E'
AR='ar' HOSTAS='as' HOSTLD='gcc' HOSTCC='gcc' HOSTAR='ar'
Generating global Makefile
phase 1 (find all inputs)
#
# Using defaults found in .config
...
*** Check the top-level Makefile for additional configuration.
*** Next, you must run 'make dep'.
+ sh go installable
Using ARCH='i386' AS='as' LD='ld' CC='/usr/bin/gcc' CPP='/usr/bin/gcc -E'
AR='ar' HOSTAS='as' HOSTLD='gcc' HOSTCC='gcc' HOSTAR='ar'
Generating global Makefile
phase 1 (find all inputs)
phase 2 (convert all Makefile.in files)
phase 3 (evaluate selections)
phase 4 (integrity checks, write global makefile)
Starting phase 5 (build) for installable
CPP arch/i386/vmlinux.lds.i
CPP arch/i386/vmlinux.lds.i
...
USER arch/i386/boot/bzImage
Updating global makefile with final commands
Global makefile is ready for install
Phase 5 complete for installable
+ sh go arch/i386/boot/tools/build.i
Using ARCH='i386' AS='as' LD='ld' CC='/usr/bin/gcc' CPP='/usr/bin/gcc -E'
AR='ar' HOSTAS='as' HOSTLD='gcc' HOSTCC='gcc' HOSTAR='ar'
Generating global Makefile
phase 1 (find all inputs)
phase 2 (convert all Makefile.in files)
phase 3 (evaluate selections)
phase 4 (integrity checks, write global makefile)
pp_makefile4: arch/i386/boot/tools/build.i is selected but is not part of
vmlinux, missing link_subdirs?
make: *** [phase4] Error 1
+ sh go installable
Using ARCH='i386' AS='as' LD='ld' CC='/usr/bin/gcc' CPP='/usr/bin/gcc -E'
AR='ar' HOSTAS='as' HOSTLD='gcc' HOSTCC='gcc' HOSTAR='ar'
Generating global Makefile
phase 1 (find all inputs)
phase 2 (convert all Makefile.in files)
phase 3 (evaluate selections)
phase 4 (integrity checks, write global makefile)
pp_makefile4: arch/i386/boot/tools/build.i is selected but is not part of
vmlinux, missing link_subdirs?
make: *** [phase4] Error 1
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel