Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Kernel 2..4.18-3 failing

0 views
Skip to first unread message

The Keeper

unread,
Jun 29, 2002, 2:06:52 PM6/29/02
to
Hello all,

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

Steven Kubota

unread,
Jul 10, 2002, 1:25:40 PM7/10/02
to
Are you trying to build the version on the SRPM disc? I have the downloaded
version of RedHat 7.3, and I discovered that the include library on the
install disk (under /usr/include/linux) could not possibly be the version
used to build the kernel. There is a bug in module.h that generates a
compilation error. I compared it to the one from the SRPM, and the bug is
not there. It looks like the SRPM disc has the correct version (but I'm
still looking into it). Maybe you're pulling in the wrong/bad include
files? I'd like to hear how you solved your problem...


"The Keeper" <rak...@yahoo.com> wrote in message
news:93552393.0206...@posting.google.com...

0 new messages