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:


The kernel build log:
make -C /home/build/OpenWRT/trunk/build_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.29/linux- 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-'

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
* [headers] Error 2
make[4]: Leaving directory `/home/build/OpenWRT/trunk/build_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.29/linux-'
make[3]: * /home/build/OpenWRT/trunk/build_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.29/linux- Error 2
make[3]: Leaving directory `/home/build/OpenWRT/trunk/toolchain/kernel-headers'
* [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'
* [world] Error 2

The patch to resolve the problem from 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

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

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

Note: See TracTickets for help on using tickets.