An error occurred when building 2.6.12.3 Linux kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, guys,

I am trying to build 2.6.12.3 Linux Kernel, but an error message occurred. Please see below for details.

Type the following commands in terms of its README file:
cd /usr/src/linux-2.6.N
make O=/home/name/build/kernel menuconfig
make O=/home/dingjun/build/kernel


....................................
/home/dingjun/build_cross_gcc/linux-2.6.12.3/scripts/kconfig/mconf.c: In function ‘exec_conf’:
/home/dingjun/build_cross_gcc/linux-2.6.12.3/scripts/kconfig/mconf.c:468:9: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  468 |         pipe(pipefd);
      |         ^~~~~~~~~~~~
  HOSTCC  scripts/kconfig/zconf.tab.o
cc1: fatal error: /home/dingjun/build_cross_gcc/linux-2.6.12.3/scripts/kconfig/zconf.tab.c: No such file or directory
compilation terminated.
make[3]: *** [scripts/Makefile.host:119: scripts/kconfig/zconf.tab.o] Error 1
make[2]: *** [/home/dingjun/build_cross_gcc/linux-2.6.12.3/Makefile:453: silentoldconfig] Error 2
make[1]: *** [/home/dingjun/build_cross_gcc/linux-2.6.12.3/Makefile:495: include/linux/autoconf.h] Error 2
make: *** [Makefile:112: _all] Error 2


Could someone tell me how to fix this error and correctly build a Linux kernel?

Thanks & regards,

Dingjun

Dingjun Chen  | Software Developer

[Geotech Airborne Geophysical Surveys]

Geotech Ltd. dba Geotech Airborne | 270 INDUSTRIAL PKY S | AURORA ON CA | L4G 3T9
T: +1 905 841 5004 | Dingjun.Chen@xxxxxxxxxxxxxxxxxxx<mailto:Dingjun.Chen@xxxxxxxxxxxxxxxxxxx> | www.geotechairborne.com<www.geotech.ca>

P Please consider the environment before printing this email

This message may contain PRIVILEGED AND PROPRIETARY INFORMATION intended solely for the use of the addressee (s) named above. Any disclosure, distribution, copying, or use of the information by others is strictly prohibited. If you have received this message in error, please advise the sender by immediate reply and delete the original message.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux