ts-7000
[Top] [All Lists]

[ts-7000] How to compile alsa on TS-7400

To:
Subject: [ts-7000] How to compile alsa on TS-7400
From: "Andrea Martino" <>
Date: Thu, 04 Jan 2007 21:50:47 -0000
Hi all,
I know this topic has been posted already many times, but I could not
find any clean answer to it. I'm trying to compile alsa-drivers for
the official TS kernel 2.4.26-ts11, but without any success.

I tried to compile different alsa versions (from 1.0.4 up to 1.0.13),
and each of them needed some tune-up (for example, as already
explained in the TS-7000 group, the malloc.c sometimes must be fixed
manually). Anyway, every version complains of a "redefinition of
`struct tq_struct'". This seems strange to me, since the struct is
never redefined in the alsa-driver sources...

Here are the steps I used to (try to) compile the alsa-drivers:

tar xfvj alsa-driver-1.0.13.tar.bz2
cd alsa-driver-1.0.13
./configure --with-cards=usb-audio --with-isapnp=no --with-oss=no
--with-kernel=/root/linux24
--with-cross=/opt/crosstool/gcc-3.3.4-glibc-2.3.2/bin/arm-linux-
make dep
(at this step, some manual fixes are needed)
make

This is the error I get:

===

make[1]: Entering directory `/root/alsa-driver-1.0.13/acore'
/opt/crosstool/gcc-3.3.4-glibc-2.3.2/bin/arm-linux-gcc  -D__KERNEL__
-DMODULE=1 -I/root/alsa-driver-1.0.13/include  -I/root/linux24/include
-O2  -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD
-nostdinc -iwithprefix include   -DEXPORT_SYMTAB -c hwdep.c
In file included from /root/alsa-driver-1.0.13/include/sound/driver.h:42,
                 from hwdep.c:22:
/root/alsa-driver-1.0.13/include/adriver.h:550: error: redefinition of
`struct tq_struct'
In file included from /root/alsa-driver-1.0.13/include/sound/driver.h:42,
                 from hwdep.c:22:
/root/alsa-driver-1.0.13/include/adriver.h:558:1: warning: "INIT_WORK"
redefined
In file included from /root/linux24/include/linux/jffs2_fs_sb.h:8,
                 from /root/linux24/include/linux/fs.h:735,
                 from /root/linux24/include/linux/capability.h:17,
                 from /root/linux24/include/linux/binfmts.h:5,
                 from /root/linux24/include/linux/sched.h:9,
                 from /root/linux24/include/linux/mm.h:4,
                 from /root/linux24/include/asm/pci.h:6,
                 from /root/linux24/include/linux/pci.h:685,
                 from /root/alsa-driver-1.0.13/include/adriver.h:78,
                 from /root/alsa-driver-1.0.13/include/sound/driver.h:42,
                 from hwdep.c:22:
/root/linux24/include/linux/workqueue.h:18:1: warning: this is the
location of the previous definition
In file included from /root/alsa-driver-1.0.13/include/sound/driver.h:42,
                 from hwdep.c:22:
/root/alsa-driver-1.0.13/include/adriver.h:571:1: warning:
"schedule_work" redefined
In file included from /root/linux24/include/linux/jffs2_fs_sb.h:8,
                 from /root/linux24/include/linux/fs.h:735,
                 from /root/linux24/include/linux/capability.h:17,
                 from /root/linux24/include/linux/binfmts.h:5,
                 from /root/linux24/include/linux/sched.h:9,
                 from /root/linux24/include/linux/mm.h:4,
                 from /root/linux24/include/asm/pci.h:6,
                 from /root/linux24/include/linux/pci.h:685,
                 from /root/alsa-driver-1.0.13/include/adriver.h:78,
                 from /root/alsa-driver-1.0.13/include/sound/driver.h:42,
                 from hwdep.c:22:
/root/linux24/include/linux/workqueue.h:16:1: warning: this is the
location of the previous definition
make[1]: *** [hwdep.o] Error 1
make[1]: Leaving directory `/root/alsa-driver-1.0.13/acore'
make: *** [compile] Error 1

===

Could someone give me any hint? Any comment is really appreciated,
since I have tried everything I could... :-S

Thanks a lot
Andrea



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU