jagadeesh
jagadeesh

Reputation: 11

Kernel configuration error during make menuconfig

HOSTCC scripts/basic/fixdep /tmp/ccsuEio0.o: In function parse_dep_file': fixdep.c:(.text+0x2f2): undefined reference to__ctype_b' fixdep.c:(.text+0x5b4): undefined reference to __stdout' fixdep.c:(.text+0x5ea): undefined reference to__fputc_unlocked' collect2: ld returned 1 exit status make[1]: * [scripts/basic/fixdep] Error 1 make: * [scripts_basic] Error 2

i get this error when i try to configure linux 3.11 kernel. currently i using linux 3.13.0.34 kernel, i was getting make menuconfig well but dont know what i did, now its showing the above error,

i have installed build-essentials.

someone help me on this.

Upvotes: 0

Views: 3240

Answers (1)

Santosh A
Santosh A

Reputation: 5361

Firstly WIthout .config file you cannot build you kernel source (either you need to manually enalbe or disable the modules or use the config of the same machine to build)

  1. Go to /boot

  2. You will find the default configuration file like config-3.2.03-generic suitable for your machine

  3. Copy that config file to your kernel source folder as .config

  4. then make menuconfig, save and exit

  5. make to build the kernel source, hope you will not that error if you follow these steps

Upvotes: 0

Related Questions