Ainsi parlait Guillaume Rousse :
> Ainsi parlait Guillaume Rousse :
> > [root@silbermann guillaume]# kgcc
> > bash: kgcc: command not found
> > [root@silbermann guillaume]# urpmf kgcc
> > egcs:/usr/bin/kgcc
> > egcs:/usr/bin/kgcc
> > [root@silbermann guillaume]# rpm -q egcs
> > egcs-1.1.2-47mdk
> > [root@silbermann guillaume]# rpm -V egcs
> > missing /usr/bin/kgcc
> >
> > Even deinstalling & reinstalling egcs package doesn"t change enything...
> > According to changelog, there wasn't any modification in egcs recently.
> > So what ?
>
> Solved by rebuilding source rpm. Must be a rpm format problem.
Arghhh, not yet (using my own build egcs package) :
kgcc -DALSA_BUILD -D__KERNEL__ -O2 -DLINUX -Wall -Wstrict-prototypes
-fomit-frame-pointer -pipe -I/usr/src/linux/include -I.. -DEXPORT_SYMTAB -c
sound.c
<command line>: warning: "cpu" re-asserted
<command line>: warning: "machine" re-asserted
In file included from /usr/src/linux/include/linux/kernel.h:10,
from ../include/driver.h:82,
from sound.c:23:
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/include/stdarg.h:43: parse
error before `__gnuc_va_list'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/include/stdarg.h:43: warning:
data definition has no type or storage class
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/include/stdarg.h:110: parse
error before `va_list'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/include/stdarg.h:110: warning:
data definition has no type or storage class
In file included from ../include/driver.h:82,
from sound.c:23:
/usr/src/linux/include/linux/kernel.h:63: parse error before `va_list'
/usr/src/linux/include/linux/kernel.h:63: warning: function declaration isn't
a prototype
cpp: -lang-c: linker input file unused since linking not done
make[1]: *** [sound.o] Erreur 1
make[1]: Quitte le r�pertoire `/usr/src/linux-2.4.6/alsa-driver-0.5.11/kernel'
make: *** [compile] Erreur 1
--
Guillaume Rousse <[EMAIL PROTECTED]>
GPG key http://bohm.snv.jussieu.fr/~rousse/gpgkey.html