#96 Cannot make, receive error 1. Please help Edit

emu10k1
open
Rui Sousa
5
2012-07-08
2003-02-03
Anonymous
No

Hi, I am running Red Hat Linux 8.0 with a sound blaster
audigy 2.

When I try to "make" emu10k1 I receive the following error:

gcc -DKERNEL
-I/usr/src/linux-2.4.18-19.8.0/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2
-fno-strict-aliasing -fno-common -fomit-frame-pointer
-pipe -mpreferred-stack-boundary=2 -march=i686 -I2.4/
-DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.18-19.8.0/include/linux/modversions.h
-c -o audio.o audio.c
In file included from
/usr/src/linux-2.4.18-19.8.0/include/linux/spinlock.h:56,
from
/usr/src/linux-2.4.18-19.8.0/include/linux/module.h:11,
from audio.c:34:
/usr/src/linux-2.4.18-19.8.0/include/asm/spinlock.h:9:
invalid suffix on integer constant
/usr/src/linux-2.4.18-19.8.0/include/asm/spinlock.h:9:
parse error before numeric constant
/usr/src/linux-2.4.18-19.8.0/include/asm/spinlock.h:10:
printk_R_ver_str' declared as function returning a function /usr/src/linux-2.4.18-19.8.0/include/asm/spinlock.h:10: warning: function declaration isn't a prototype In file included from /usr/src/linux-2.4.18-19.8.0/include/linux/prefetch.h:13, from /usr/src/linux-2.4.18-19.8.0/include/linux/list.h:6, from /usr/src/linux-2.4.18-19.8.0/include/linux/module.h:12, from audio.c:34: /usr/src/linux-2.4.18-19.8.0/include/asm/processor.h:51: warning: parameter names (without types) in function declaration /usr/src/linux-2.4.18-19.8.0/include/asm/processor.h:51: fieldloops_per_jiffy_R_ver_str' declared as a function
/usr/src/linux-2.4.18-19.8.0/include/asm/processor.h:73:
invalid suffix on integer constant
/usr/src/linux-2.4.18-19.8.0/include/asm/processor.h:73:
parse error before numeric constant
/usr/src/linux-2.4.18-19.8.0/include/asm/processor.h:73:
warning: function declaration isn't a prototype
In file included from
/usr/src/linux-2.4.18-19.8.0/include/linux/prefetch.h:13,
from
/usr/src/linux-2.4.18-19.8.0/include/linux/list.h:6,
from
/usr/src/linux-2.4.18-19.8.0/include/linux/module.h:12,
from audio.c:34:
/usr/src/linux-2.4.18-19.8.0/include/asm/processor.h:258:1:
warning: "EISA_bus" redefined
In file included from
/usr/src/linux-2.4.18-19.8.0/include/linux/modversions.h:128,
from <command line>:1:
/usr/src/linux-2.4.18-19.8.0/include/linux/modules/i386_ksyms.ver:93:1:
warning: this is the location of the previous definition
/usr/src/linux-2.4.18-19.8.0/include/asm/processor.h:260:
warning: parameter names (without types) in function
declaration
/usr/src/linux-2.4.18-19.8.0/include/asm/processor.h:436:
invalid suffix on floating constant
/usr/src/linux-2.4.18-19.8.0/include/asm/processor.h:436:
parse error before numeric constant
/usr/src/linux-2.4.18-19.8.0/include/asm/processor.h:436:
kernel_thread_R_ver_str' declared as function returning a function /usr/src/linux-2.4.18-19.8.0/include/asm/processor.h:436: warning: function declaration isn't a prototype In file included from audio.c:34: /usr/src/linux-2.4.18-19.8.0/include/linux/module.h:183: invalid suffix on integer constant /usr/src/linux-2.4.18-19.8.0/include/linux/module.h:183: parse error before numeric constant /usr/src/linux-2.4.18-19.8.0/include/linux/module.h:183:inter_module_register_R_ver_str' declared as function
returning a function
/usr/src/linux-2.4.18-19.8.0/include/linux/module.h:183:
warning: function declaration isn't a prototype
/usr/src/linux-2.4.18-19.8.0/include/linux/module.h:184:
invalid suffix on integer constant
/usr/src/linux-2.4.18-19.8.0/include/linux/module.h:184:
parse error before numeric constant
/usr/src/linux-2.4.18-19.8.0/include/linux/module.h:184:
inter_module_unregister_R_ver_str' declared as function returning a function /usr/src/linux-2.4.18-19.8.0/include/linux/module.h:184: warning: function declaration isn't a prototype /usr/src/linux-2.4.18-19.8.0/include/linux/module.h:185:inter_module_get_R_ver_str' declared as function
returning a function
/usr/src/linux-2.4.18-19.8.0/include/linux/module.h:185:
warning: parameter names (without types) in function
declaration
/usr/src/linux-2.4.18-19.8.0/include/linux/module.h:186:
inter_module_get_request_R_ver_str' declared as function returning a function /usr/src/linux-2.4.18-19.8.0/include/linux/module.h:186: warning: parameter names (without types) in function declaration /usr/src/linux-2.4.18-19.8.0/include/linux/module.h:187: invalid suffix on integer constant /usr/src/linux-2.4.18-19.8.0/include/linux/module.h:187: parse error before numeric constant /usr/src/linux-2.4.18-19.8.0/include/linux/module.h:187:inter_module_put_R_ver_str' declared as function
returning a function
/usr/src/linux-2.4.18-19.8.0/include/linux/module.h:187:
warning: function declaration isn't a prototype
/usr/src/linux-2.4.18-19.8.0/include/linux/module.h:196:
`try_inc_mod_count_R_ver_str' declared as function
returning a function
/usr/src/linux-2.4.18-19.8.0/include/linux/module.h:196:
warning: parameter names (without types) in function
declaration
make: *** [audio.o] Error 1

Any help will be greatly appreciated. Thanks

Discussion

  • Bill Nalesnik
    Bill Nalesnik
    2003-02-04

    Logged In: YES
    user_id=647078

    I am getting the same errors. I probably am worong, but it
    kind of looks like it may be due to the kernel being
    compiled with integrated emu10k1 drivers.

    I quote from the readme:
    "Requirements


    • The kernel must be compiled:
    • With loadable modules support (CONFIG_MODULES = y)
    • With soundcard support (CONFIG_SOUND = y/m)
    • Without any integrated emu10k1 soundcard drivers
      (CONFIG_SOUND_EMU10K1 = m/n)"

    I hope this is not the issue as I am still new to Linux and
    compiling kernels has not gone that well for me. :^)

     


Anonymous


Cancel   Add attachments