I am trying to compile the kernel sources shipped with Redhat 7.3 but
am failing. I have install the compat library (kgcc) but am still
getting the following errors:
make[2]: Entering directory `/usr/src/linux-2.4.18-3/drivers/ide'
cc -D__KERNEL__ -I/usr/src/linux-2.4.18-3/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -Wno-unused -pipe -march=i686
-DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.18-3/include/linux/modversions.h
-DKBUILD_BASENAME=ide -DEXPORT_SYMTAB -c ide.c
In file included from /usr/src/linux-2.4.18-3/include/linux/ide.h:15,
from ide.c:149:
/usr/src/linux-2.4.18-3/include/linux/proc_fs.h:204: parse error
before `void'
make[2]: *** [ide.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.18-3/drivers/ide'
make[1]: *** [_modsubdir_ide] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.18-3/drivers'
make: *** [_mod_drivers] Error 2
I am stumped. Anyone know what is happening here? I am also trying to
compile the mwave drivers but am getting another strange error so I am
guessing that I in need of configuration/patches.
make[2]: Entering directory `/root/mwavem-1.0.2/src/manager'
gcc -DPACKAGE=\"mwavem\" -DVERSION=\"1.0.2\" -DHAVE_LIBPTHREAD=1
-DHAVE_LIBM=1 -DMWAVEM_APP_DIST=1 -DDEBUG=1 -DLINUX_BLD=1 -DDLL=1
-DWORLDTRADE_VERSION=1 -DMWWTDBG=1 -I. -I. -I../../src/include
-I../../src/drivers -O2 -fomit-frame-pointer -Wall -c mwaveapi.c
In file included from ../../src/include/port_types.h:52,
from dspmgr.h:144,
from mwaveapi.c:51:
/usr/include/linux/spinlock.h:131: parse error before `*'
mwaveapi.c: In function `main_dspConnectIPC':
mwaveapi.c:688: warning: cast to pointer from integer of different
size
mwaveapi.c: In function `dspIPCThread':
mwaveapi.c:753: warning: too many arguments for format
mwaveapi.c: In function `main_dspQueryManagerInfo':
mwaveapi.c:1997: warning: too many arguments for format
make[2]: *** [mwaveapi.o] Error 1
make[2]: Leaving directory `/root/mwavem-1.0.2/src/manager'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/mwavem-1.0.2/src'
make: *** [all-recursive] Error 1
Help much appr.
Cheers
Sumit
"The Keeper" <rak...@yahoo.com> wrote in message
news:93552393.0206...@posting.google.com...