Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#71 Can't Compile with Kernel 2.6.1

open
nobody
None
5
2004-03-27
2004-03-27
Erik Jensen
No

I retrieved the source code from CVS on 03/26/2004.

When I type make, it runs for a while, and the quits
with the error message at the end of this description.
Is there a known way to fix this? The complete output
from make is attached

gcc -D__KERNEL__ -DMODULE -DAU8810 -mpentiumpro -O6
-fomit-frame-pointer -Wall -pipe
-I/lib/modules/2.6.1/build/include -c -o au_vortex.o
au_vortex.c
`-mpentiumpro' is deprecated. Use `-march=pentiumpro'
or `-mcpu=pentiumpro' instead.
In file included from
/lib/modules/2.6.1/build/include/asm/processor.h:18,
from
/lib/modules/2.6.1/build/include/asm/thread_info.h:13,
from
/lib/modules/2.6.1/build/include/linux/thread_info.h:21,
from
/lib/modules/2.6.1/build/include/linux/spinlock.h:12,
from
/lib/modules/2.6.1/build/include/linux/capability.h:45,
from
/lib/modules/2.6.1/build/include/linux/sched.h:7,
from
/lib/modules/2.6.1/build/include/linux/module.h:10,
from au_vortex.h:54,
from au_vortex.c:81:
/lib/modules/2.6.1/build/include/asm/system.h: In
function `__set_64bit_var':
/lib/modules/2.6.1/build/include/asm/system.h:193:
warning: dereferencing type-punned pointer will break
strict-aliasing rules
/lib/modules/2.6.1/build/include/asm/system.h:193:
warning: dereferencing type-punned pointer will break
strict-aliasing rules
au_vortex.c: In function `aureal_remove_one':
au_vortex.c:181: warning: implicit declaration of
function `free_irq'
au_vortex.c: In function `aureal_init_module':
au_vortex.c:227: error: `EXPORT_NO_SYMBOLS' undeclared
(first use in this function)
au_vortex.c:227: error: (Each undeclared identifier is
reported only once
au_vortex.c:227: error: for each function it appears in.)
au_vortex.c: In function `add_device':
au_vortex.c:391: warning: `check_region' is deprecated
(declared at
/lib/modules/2.6.1/build/include/linux/ioport.h:119)
au_vortex.c:394: warning: `check_region' is deprecated
(declared at
/lib/modules/2.6.1/build/include/linux/ioport.h:119)
au_vortex.c:413: warning: implicit declaration of
function `request_irq'
au_vortex.c: At top level:
au_vortex.c:198: warning: `aureal_resume' defined but
not used
au_vortex.c:203: warning: `aureal_suspend' defined but
not used
make: *** [au_vortex.o] Error 1

Discussion

  • Erik Jensen
    Erik Jensen
    2004-03-27

    Complete output from make

     
    Attachments