Modify

Opened 9 years ago

Closed 9 years ago

Last modified 4 years ago

#4981 closed defect (fixed)

Unable to build 2.6.28 kernel on host with glibc-2.9.90

Reported by: russushko@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: kernel Version: Trunk
Keywords: Cc:

Description

The kernel build log:
make -C /home/build/OpenWRT/trunk/build_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.29/linux-2.6.28.9 ARCH=x86 KBUILD_HAVE_NLS=no CONFIG_SHELL=/bin/bash CROSS_COMPILE=i486-openwrt-linux-uclibc- INSTALL_HDR_PATH="/home/build/OpenWRT/trunk/build_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.29/linux-dev/usr/" headers_install
make[4]: Entering directory `/home/build/OpenWRT/trunk/build_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.29/linux-2.6.28.9'

CHK include/linux/version.h
HOSTCC scripts/unifdef

scripts/unifdef.c:209: error: conflicting types for 'getline'
/usr/include/stdio.h:653: note: previous declaration of 'getline' was here
make[5]: * [scripts/unifdef] Error 1
make[4]:
* [headers] Error 2
make[4]: Leaving directory `/home/build/OpenWRT/trunk/build_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.29/linux-2.6.28.9'
make[3]: * /home/build/OpenWRT/trunk/build_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.29/linux-2.6.28.9/.prepared5d73e58ebca4ddf7c7f55a69f9e0be7b Error 2
make[3]: Leaving directory `/home/build/OpenWRT/trunk/toolchain/kernel-headers'
make[2]:
* [toolchain/kernel-headers/prepare] Error 2
make[2]: Leaving directory `/home/build/OpenWRT/trunk'
make[1]: * /home/build/OpenWRT/trunk/staging_dir/target-i386_uClibc-0.9.29/stamp/.toolchain_install Error 2
make[1]: Leaving directory `/home/build/OpenWRT/trunk'
make:
* [world] Error 2

The patch to resolve the problem from kernel.org is attached

Attachments (1)

986-kbuild-unifdef-fix.patch (1.8 KB) - added by russushko@… 9 years ago.
The fix for ticke #4981

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by russushko@…

The fix for ticke #4981

comment:1 Changed 9 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

Fixed with [15522].

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.