element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum darkice 1.2 with latest wolfson master image
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 5 replies
  • Subscribers 677 subscribers
  • Views 802 views
  • Users 0 members are here
  • wolfson
  • soundcamp
  • darkice
  • raspberry_pi
  • raspeberry_pi_accessories
  • 1.2
  • streaming
Related

darkice 1.2 with latest wolfson master image

soundcamp
soundcamp over 11 years ago

Hi all

 

As some will know, we've been working on a Pi streambox to transmit high quality streams for a global open microphone project.

 

Trying to address persistent problems with dropouts etc, we are thinking it would be useful to work with the latest versions.

 

So we have recently tried compiling and building Darkice 1.2 on Raspberry Pi with LAME and VORBIS over the latest custom kernel provided for the Wolfson soundcard.

 

We have run into the following:

 

// When we run ./configure in the darkice source directory, darkice cannot find Alsa; we get:

 

checking for alsa libraries at /usr ... configure: WARNING: not found, building without ALSA support

 

// If we proceed and run darkice anyway, we get:

 

DarkIce: AudioSource.cpp:135: trying to open ALSA DSP device without support compiledhw:0,0 [0]

 

// If we try to compile the alsa-drivers, when we run ./config, we get:

 

checking for gcc... gcc

checking for C compiler default output... a.out

checking whether the C compiler works... yes

checking whether we are cross compiling... no

checking for suffix of executables...

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ANSI C... none needed

checking for ranlib... ranlib

checking for a BSD-compatible install... /usr/bin/install -c

checking how to run the C preprocessor... gcc -E

checking for egrep... grep -E

checking for ANSI C header files... yes

checking for an ANSI C-conforming const... yes

checking for inline... inline

checking whether time.h and sys/time.h may both be included... yes

checking whether gcc needs -traditional... no

checking for current directory... /home/pi/resources/alsa-driver-1.0.9

checking cross compile...

checking for directory with kernel source... /lib/modules/3.10.25+/source

checking for directory with kernel build... /lib/modules/3.10.25+/build

checking for kernel version... The file /lib/modules/3.10.25+/source/include/linux/version.h does not exist.

Please, install the package with full kernel sources for your distribution

or use --with-kernel=dir option to specify another directory with kernel

sources (default is /lib/modules/3.10.25+/source).

 

 

 

We would be very grateful for help on either compiling the alsa drivers to work with darkice 1.2 and the wolfson audio card, or how to set darkice up so it can find the alsa drivers already installed in Raspbian

 

We posted this query to the darkice mailing list too - so sorry if you get it more than once

 

Thanks very much

 

Grant (soundCamp)

  • Sign in to reply
  • Cancel
  • Former Member
    Former Member over 11 years ago

    checking for alsa libraries at /usr ... configure: WARNING: not found, building without ALSA support

     

    Did you install the development support files for the ALSA libraries?

    sudo apt-get install libasound2-dev

     

    EDIT: strike the above. I've just tried it myself and it seems the 1.2 configure script doesn't look in the right places for include files and libraries.

    Let me fiddle a bit with it...

     

    EDIT 2: Done fiddling image

    The configure script by default looks for include files in /usr/include and for libraries in /usr/lib and also in a couple of x86_64 specific directories.

    On my system the problem is that some libraries (most of which I have built myself) are installed in /usr/lib/arm-linux-gnueabihf, where the script doesn't look.

     

    I have hacked the configure script to look there too and have manged to build Darkice 1.2 with alsa, vorbis, pulseaudio, jack, twolame and lame support.

    I have put my name as a comment on all lines i have changed, so you can find them easily, e.g.

    before:

    for DIR in ${CONFIG_ALSA_PREFIX} ${CONFIG_ALSA_PREFIX}/lib64 ${CONFIG_ALSA_PREFIX}/lib ${CONFIG_ALSA_PREFIX}/lib/x86_64-linux-gnu; do

    after:

    for DIR in ${CONFIG_ALSA_PREFIX} ${CONFIG_ALSA_PREFIX}/lib64 ${CONFIG_ALSA_PREFIX}/lib ${CONFIG_ALSA_PREFIX}/lib/x86_64-linux-gnu ${CONFIG_ALSA_PREFIX}/lib/arm-linux-gnueabihf; do #RAGNAR

     

     

    Regarding the alsa-drivers, if what you're trying to build is the latest stable release (1.0.25) from the official site - www.alsa-project.org - you should know that they have no support for the Wolfson. And you need to have the entire kernel source tree installed to build them.

    But, there is no need to build the alsa-drivers, the latest and greatest drivers are the patches from Wolfson you're already running.

    --

    Ragnar

    Attachments:
    configure.zip
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • soundcamp
    soundcamp over 11 years ago in reply to Former Member

    Hi Ragnar

    Fantastic!

     

    We followed your approach and installed successfully - which is great

     

    We've been a bit swamped with other stuff - hence the very slow response from me: sorry

     

    But we'll now do some testing over the next days and update here on how it goes with the latest versions

     

    Thanks very much again

     

    bw

    grant

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 11 years ago in reply to soundcamp

    Hi Grant, have you had any more luck with your testing? I too am wanting to create a streaming server from the Pi although my project is very different to yours.

    Many thanks, Ollie

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • soundcamp
    soundcamp over 11 years ago in reply to Former Member

    Hi Ollie and all

     

    I'm really sorry for the delay - bit swamped with other projects.

    As soon as we get a chance to take it forward, we will, and will send an update.

     

    Thanks

     

    Grant

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 11 years ago

    Thanks !

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube