I am trying to build a custom kernel and have been following the general instructions at:
https://fedoraproject.org/wiki/Building_a_custom_kernel.
All makes good sense and works until I get to the "make xconfig". Then I get this output:
$ make xconfig
HOSTCC scripts/basic/fixdep
scripts/basic/fixdep.c: In function ‘traps’:
scripts/basic/fixdep.c:377: warning: dereferencing type-punned pointer will break strict-aliasing rules
scripts/basic/fixdep.c:379: warning: dereferencing type-punned pointer will break strict-aliasing rules
HOSTCC scripts/basic/docproc
HOSTCC scripts/basic/hash
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kconfig_load.o
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/zconf.tab.o
HOSTCXX scripts/kconfig/qconf.o
HOSTLD scripts/kconfig/qconf
/usr/bin/ld: cannot find -lXi
collect2: ld returned 1 exit status
make[1]: *** [scripts/kconfig/qconf] Error 1
make: *** [xconfig] Error 2
This would appear to be a simple link to libXi. I have this library installed:
/usr/lib64/libXi.so.6.0.0
/usr/lib64/libXi.so.6
I have also searched all Makefiles for the source and I cannot find it. I may be missing a package, but the error would indicate all I need is libXi, and I do not seem to have problems finding other libs. Obviously I have missed something.