Modify

Opened 12 years ago

Closed 12 years ago

Last modified 4 years ago

#7 closed defect (fixed)

Build of alsa fails on 2.6/mipsel

Reported by: nico Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: kernel Version: 2.0
Keywords: kmod alsa Cc:

Description

The build of ./target/linux/package/alsa fails on 2.6/mipsel with the following error:

./build_mipsel/linux-2.6-brcm/alsa-driver-1.0.10rc1/include/adriver.h:642: error: redefinition of 'jiffies_to_msecs'

A more detailled log of the error will follow.

Attachments (1)

ticket#7.txt (3.7 KB) - added by nico 12 years ago.
Detailled log of error

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by nico

Detailled log of error

comment:1 Changed 12 years ago by nico

Attachment don't work, so here's the detailled log of the error:

make -C /home/projects/openwrt/branches/trunk/test-mipsel-2.6/build_mipsel/linux-2.6-brcm/linux-2.6.12.5 SUBDIRS=/home/projects/openwrt/branches/trunk/test-mipsel-2.6/build_mipsel/linux-2.6-brcm/alsa-driver-1.0.10rc1  modules
make[10]: Entering directory `/home/projects/openwrt/branches/trunk/test-mipsel-2.6/build_mipsel/linux-2.6-brcm/linux-2.6.12.5'
  CC [M]  /home/projects/openwrt/branches/trunk/test-mipsel-2.6/build_mipsel/linux-2.6-brcm/alsa-driver-1.0.10rc1/acore/hwdep.o
In file included from /home/projects/openwrt/branches/trunk/test-mipsel-2.6/build_mipsel/linux-2.6-brcm/alsa-driver-1.0.10rc1/include/sound/driver.h:42,
                 from /home/projects/openwrt/branches/trunk/test-mipsel-2.6/build_mipsel/linux-2.6-brcm/alsa-driver-1.0.10rc1/acore/hwdep.c:22:
/home/projects/openwrt/branches/trunk/test-mipsel-2.6/build_mipsel/linux-2.6-brcm/alsa-driver-1.0.10rc1/include/adriver.h:642: error: redefinition of 'jiffies_to_msecs'
include/linux/jiffies.h:256: error: previous definition of 'jiffies_to_msecs' was here
/home/projects/openwrt/branches/trunk/test-mipsel-2.6/build_mipsel/linux-2.6-brcm/alsa-driver-1.0.10rc1/include/adriver.h:662: error: redefinition of 'msecs_to_jiffies'
include/linux/jiffies.h:278: error: previous definition of 'msecs_to_jiffies' was here
In file included from /home/projects/openwrt/branches/trunk/test-mipsel-2.6/build_mipsel/linux-2.6-brcm/alsa-driver-1.0.10rc1/include/adriver.h:737,
                 from /home/projects/openwrt/branches/trunk/test-mipsel-2.6/build_mipsel/linux-2.6-brcm/alsa-driver-1.0.10rc1/include/sound/driver.h:42,
                 from /home/projects/openwrt/branches/trunk/test-mipsel-2.6/build_mipsel/linux-2.6-brcm/alsa-driver-1.0.10rc1/acore/hwdep.c:22:
include/linux/pci.h:814: error: parse error before numeric constant
make[12]: *** [/home/projects/openwrt/branches/trunk/test-mipsel-2.6/build_mipsel/linux-2.6-brcm/alsa-driver-1.0.10rc1/acore/hwdep.o] Error 1
make[11]: *** [/home/projects/openwrt/branches/trunk/test-mipsel-2.6/build_mipsel/linux-2.6-brcm/alsa-driver-1.0.10rc1/acore] Error 2
make[10]: *** [_module_/home/projects/openwrt/branches/trunk/test-mipsel-2.6/build_mipsel/linux-2.6-brcm/alsa-driver-1.0.10rc1] Error 2
make[10]: Leaving directory `/home/projects/openwrt/branches/trunk/test-mipsel-2.6/build_mipsel/linux-2.6-brcm/linux-2.6.12.5'
make[9]: *** [compile] Error 2
make[9]: Leaving directory `/home/projects/openwrt/branches/trunk/test-mipsel-2.6/build_mipsel/linux-2.6-brcm/alsa-driver-1.0.10rc1'
make[8]: *** [/home/projects/openwrt/branches/trunk/test-mipsel-2.6/build_mipsel/linux-2.6-brcm/alsa-driver-1.0.10rc1/.built] Error 2
make[8]: Leaving directory `/home/projects/openwrt/branches/trunk/test-mipsel-2.6/target/linux/package/alsa'
make[7]: *** [compile] Error 2
make[7]: Leaving directory `/home/projects/openwrt/branches/trunk/test-mipsel-2.6/target/linux/package/alsa'
make[6]: *** [alsa-compile] Error 2
make[6]: Leaving directory `/home/projects/openwrt/branches/trunk/test-mipsel-2.6/target/linux/package'
make[5]: *** [/home/projects/openwrt/branches/trunk/test-mipsel-2.6/build_mipsel/stamp/.linux-compile] Error 2
make[5]: Leaving directory `/home/projects/openwrt/branches/trunk/test-mipsel-2.6/target/linux/linux-2.6'
make[4]: *** [compile] Error 2
make[4]: Leaving directory `/home/projects/openwrt/branches/trunk/test-mipsel-2.6/target/linux/linux-2.6'
make[3]: *** [2.6/brcm-compile] Error 2
make[3]: Leaving directory `/home/projects/openwrt/branches/trunk/test-mipsel-2.6/target/linux'
make[2]: *** [linux-compile] Error 2
make[2]: Leaving directory `/home/projects/openwrt/branches/trunk/test-mipsel-2.6/target'
make[1]: *** [target/compile] Error 2
make[1]: Leaving directory `/home/projects/openwrt/branches/trunk/test-mipsel-2.6'
make: *** [world] Error 2

comment:2 Changed 12 years ago by nico

  • Resolution set to fixed
  • Status changed from new to closed

Alsa uses a configure script to check kernel capabilities, most of the tests failed on 2.6/mipsel due to an include file "cpu-feature-overrides.h" that could not be found in the default search path used by the script.

I believe the problem was fixed by changeset:2359 in trunk.

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.