Install errors when building from mercurial source

OSS specific Linux discussion (x86/amd64)

Moderators: hannu, dev, cesium

Temüjin
Member
Posts: 84
Joined: Tue Jul 24, 2007 7:55 pm
Location: Pennsylvania, USA

Install errors when building from mercurial source

Postby Temüjin » Tue Sep 22, 2009 5:04 pm

Tried building from mercurial source on Debian/sidux and got errors on 'make install' (also tried building as .deb and same errors when installing .deb)
I configured with only oss_envy24ht, no libSALSA, no MIDI
Possibly related to recent commit: http://mercurial.opensound.com/?rev/ab65ee009008

Code: Select all

Building module osscore
Failed to compile OSS
make[1]: Entering directory `/usr/lib/oss/build'
make -C /lib/modules/2.6.31-0.slh.3-sidux-amd64/build M=/usr/lib/oss/build modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.31-0.slh.3-sidux-amd64'
  CC [M]  /usr/lib/oss/build/osscore.o
/usr/lib/oss/build/osscore.c: In function ‘__check_mixer_muted’:
/usr/lib/oss/build/osscore.c:235: error: ‘mixer_muted’ undeclared (first use in this function)
/usr/lib/oss/build/osscore.c:235: error: (Each undeclared identifier is reported only once
/usr/lib/oss/build/osscore.c:235: error: for each function it appears in.)
/usr/lib/oss/build/osscore.c: At top level:
/usr/lib/oss/build/osscore.c:235: error: ‘mixer_muted’ undeclared here (not in a function)
/usr/lib/oss/build/osscore.c:235: warning: type defaults to ‘int’ in declaration of ‘type name’
/usr/lib/oss/build/osscore.c: In function ‘oss_spin_unlock_irqrestore’:
/usr/lib/oss/build/osscore.c:379: warning: comparison of distinct pointer types lacks a cast
/usr/lib/oss/build/osscore.c: In function ‘oss_pci_read_devpath’:
/usr/lib/oss/build/osscore.c:1625: warning: return discards qualifiers from pointer target type
/usr/lib/oss/build/osscore.c: In function ‘oss_fp_check’:
/usr/lib/oss/build/osscore.c:1849: warning: comparison of distinct pointer types lacks a cast
/usr/lib/oss/build/osscore.c:1851: warning: comparison of distinct pointer types lacks a cast
/usr/lib/oss/build/osscore.c:1853: warning: comparison of distinct pointer types lacks a cast
/usr/lib/oss/build/osscore.c:1858: warning: comparison of distinct pointer types lacks a cast
/usr/lib/oss/build/osscore.c:1860: warning: comparison of distinct pointer types lacks a cast
make[3]: *** [/usr/lib/oss/build/osscore.o] Error 1
make[2]: *** [_module_/usr/lib/oss/build] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.31-0.slh.3-sidux-amd64'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/usr/lib/oss/build'
make: *** [install] Error 2

Temüjin
Member
Posts: 84
Joined: Tue Jul 24, 2007 7:55 pm
Location: Pennsylvania, USA

Re: Install errors when building from mercurial source

Postby Temüjin » Tue Sep 22, 2009 5:25 pm

Simply declaring that variable seems to fix it:

Code: Select all

extern int mixer_muted;


I'm listening to music now and the mute function seems to work fine. Let me know if there's any other testing that needs done.


Return to “Linux”

Who is online

Users browsing this forum: No registered users and 2 guests