LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 01-08-2013, 05:39 PM   #1
vnovak
LQ Newbie
 
Registered: Nov 2012
Posts: 5

Rep: Reputation: Disabled
Compilation of ALSA "fireworks" driver for Echoaudio firewire DAC in slack-current


Hello everybody,
I'm trying to compile above mentioned driver in slackware-current. This driver,which can be found here:
http://git.alsa-project.org/?p=alsa-...0;hb=fireworks
is from ALSA development tree,which is, as they say for 2.6.x linux kernel. I have replaced contents of /usr/src/linux/sound/firewire with this driver,then ran menuconfig and marked it for a module compilation. And then:
Code:
root@slack:/usr/src/linux# make modules_prepare
make[1]: Nothing to be done for `all'.
  HOSTCC  scripts/basic/fixdep
  HOSTCC  arch/x86/tools/relocs
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CC      kernel/bounds.s
  GEN     include/generated/bounds.h
  CC      arch/x86/kernel/asm-offsets.s
  GEN     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  CC      scripts/mod/empty.o
  HOSTCC  scripts/mod/mk_elfconfig
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
  HOSTCC  scripts/kallsyms
  HOSTCC  scripts/pnmtologo
  HOSTCC  scripts/conmakehash
  HOSTCC  scripts/bin2c
  HOSTCC  scripts/recordmcount
  HOSTCC  scripts/sortextable
  HOSTCC  scripts/asn1_compiler
root@slack:/usr/src/linux# make M=sound/firewire
  LD      sound/firewire/built-in.o
  CC [M]  sound/firewire/fireworks.o
sound/firewire/fireworks.c:30:20: error: expected declaration specifiers or '...' before string constant
sound/firewire/fireworks.c:31:15: error: expected declaration specifiers or '...' before string constant
sound/firewire/fireworks.c:32:16: error: expected declaration specifiers or '...' before string constant
sound/firewire/fireworks.c:41:27: error: expected ')' before 'int'
sound/firewire/fireworks.c:42:25: error: expected ')' before string constant
sound/firewire/fireworks.c:43:31: error: expected ')' before '(' token
sound/firewire/fireworks.c:44:22: error: expected ')' before string constant
sound/firewire/fireworks.c:45:28: error: expected ')' before 'bool'
sound/firewire/fireworks.c:46:26: error: expected ')' before string constant
sound/firewire/fireworks.c:47:31: error: expected ')' before 'uint'
sound/firewire/fireworks.c:48:35: error: expected ')' before string constant
sound/firewire/fireworks.c:49:31: error: expected ')' before 'uint'
sound/firewire/fireworks.c:50:35: error: expected ')' before string constant
sound/firewire/fireworks.c:51:32: error: expected ')' before 'bool'
sound/firewire/fireworks.c:52:36: error: expected ')' before string constant
sound/firewire/fireworks.c: In function 'echofire_probe':
sound/firewire/fireworks.c:2103:59: error: 'THIS_MODULE' undeclared (first use in this function)
sound/firewire/fireworks.c:2103:59: note: each undeclared identifier is reported only once for each function it appears in
sound/firewire/fireworks.c: At top level:
sound/firewire/fireworks.c:2249:1: warning: data definition has no type or storage class [enabled by default]
sound/firewire/fireworks.c:2249:1: warning: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE' [-Wimplicit-int]
sound/firewire/fireworks.c:2249:1: warning: parameter names (without types) in function declaration [enabled by default]
sound/firewire/fireworks.c:2253:12: error: 'THIS_MODULE' undeclared here (not in a function)
make[1]: *** [sound/firewire/fireworks.o] Error 1
make: *** [_module_sound/firewire] Error 2
root@slack:/usr/src/linux#
Does anybody know whether these errors are related to GCC 4.7.x upgrade (and as I think, might be removed by some simple patch) or this driver needs to be completely rewriten in order to work in 3.7 kernel+ALSA 1.0.26 environment and attempting to compile this driver is just nonsense or have I done some other evident mistake? (I have a feeling for example that overwriting kernel source tree in a way I did is not exactly the right method of building such external modules(and probably even not necessary)). I understand that firewire audio is quite marginal topic in linux,but this device is in point of fact a central point of my household,so any help will be appreciated.

A supplication:It's not necessary to point out that there are things like ffado,jackd and qjackctl. I'm unsuccessfully fighting with them for nearly whole year and taking existence of this ALSA driver as a final Redemption!
Thank you very much.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
alsa-driver compilation problem Fisknils Linux - Software 10 06-12-2006 08:19 AM
Echoaudio ALSA drivers problem PiRaSSiC Fedora 1 08-18-2004 10:21 PM
alsa driver compilation error darkleaf Linux - Software 4 07-08-2004 01:45 PM
Sound: Alsa driver compilation Blek Linux - Hardware 3 05-18-2003 05:07 PM
ALSA driver compilation Blek Linux - Hardware 0 05-12-2003 11:27 AM


All times are GMT -5. The time now is 03:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration