Menu

#129 error on make emu-tools-0.9.4  Edit

audigy
open
5
2012-07-08
2003-10-04
Anonymous
No

Hi.

I have compiled the emu10k1 driver. Everything went ok.

But, when compiling emu-tools-0.9.4, I received an
error when compiling the dir mixer :

[root@diana mixer]# make
gcc -M emu-dspmgr.c emu-config.c > .depend
In file included from /usr/include/linux/rhconfig.h:13,
from /usr/include/linux/autoconf.h:1,
from /usr/include/linux/config.h:4,
from /usr/include/asm/bitops.h:8,
from /usr/include/linux/bitops.h:69,
from include/dsp.h:29,
from emu-dspmgr.c:26:
/boot/kernel.h:5:2: #error The configuration of the
running kernel (2.4.22) could not
/boot/kernel.h:6:2: #error be determined at boot time.
If you are using a custom kernel,
/boot/kernel.h:7:2: #error that
doesn/boot/kernel.h:7:18: missing terminating ' character
't came from a RPM package, please use the headers'
/boot/kernel.h:8:2: #error from the source of the
kernel that you are running, as they
/boot/kernel.h:9:2: #error were created when it was
compiled
make: ** [dep] Erro 1

If installs emu-tools from rpm, there is no error
messages.

I've a conectiva linux 9, kernel 2.4.22.

What about that error message ???
I'd prefer compiling and instal than installing from
rpm. Am I right ??

Thanks. And sorry English mistakes.

Discussion

  • chris gibbs

    chris gibbs - 2003-10-19

    Logged In: YES
    user_id=890394

    Hi ya,

    This I fixed.

    I think newer gcc cant handle a line like:

    printf("This is
    some text
    ");

    To fix the source you need to change such lines to

    printf("This is\n some text");

    perversly constant args can span lines so

     printf("this is\n    some text\n    spanning %d lines",
             num_lines);
    

    is OK.

    Chris

     
  • Nobody/Anonymous

    Logged In: NO

    Hallo,

    try this
    htttp://sourceforge.net/tracker/index.php?func=detail&aid=744618&group_id=44773&atid=440824

    Mark

     

Anonymous
Anonymous

Add attachments
Cancel