I tried to compile asterisk 1.2 on a legacy RH8 system.
kernel 2.4.20-30.8.legacy. I’ve installed all devel packages as well as bison.
There is a symbolic link called “build” in
which points to
and that directory does not exist.
It results in the following error while running the gcc part of make install
Modules should never use kernel-headers system headers, but rather headers from an appropriate kernel-source package.
Change -I/usr/src/linux/include (or similar) to -I/lib/modules/$(uname -r)/build/include to build against the currently-running kernel.followed by another zillion errors.
So I included the link specified in the documentation
but that did not change for the better. Which was to be expected because there was a link build -> /usr/src/linux-2.4.20-30.8.legacy
Where am I going wrong?