Reputation: 11
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
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)
Go to /boot
You will find the default configuration file like config-3.2.03-generic suitable for your machine
Copy that config file to your kernel source folder as .config
then make menuconfig, save and exit
make to build the kernel source, hope you will not that error if you follow these steps
Upvotes: 0