I've adopted the oss2jack and fusd-kor packages, but need help

Some people are still using this software (and I'm eyeing it) and I felt I should do them a favor. Problem is, I'll need some help.
For fusd-kor, the PKGBUILD looks like this:
# Contributor: nut543 <[email protected]>
# Contributor: Shadowhand <[email protected]>
pkgname=fusd-kor
pkgver=1.10.12
_realver=konstruktiv.org_hack
pkgrel=1
pkgdesc="FUSD hack developed for the oss2jack project and 2.6.x > udev kernels."
arch=(i686)
url="http://hg.konstruktiv.org/fusd/"
license=('GPL')
depends=()
makedepends=('mercurial')
source=(fusd.install fusd.rules)
md5sums=('982f0b5b6c7af5fe7f4b9e3134c5f1fb' 'dd880fac320283c9c134f8efa0b5bb84')
install=fusd.install
build() {
cd $startdir/src
msg "Connecting to mercurial server...."
hg clone http://hg.konstruktiv.org/fusd
cd fusd
sed -i 's|local/||' Makefile
sed -i 's|-O2 -g|-O2 -fomit-frame-pointer -march=i686|g' make.include
sed -i 's|-Werror||g' make.include
msg "Starting make..."
make || return 1
cp Makefile Makefile.save
cp kfusd/Makefile kfusd/Makefile.save
sed -i "s|/usr/|$startdir/pkg/usr/|g" Makefile
sed -i "s|/lib/|$startdir/pkg/lib/|g" Makefile
sed -i "s|\(/lib/modules/\$(shell uname -r)/misc\)|${startdir}/pkg\1|g" kfusd/Makefile
mkdir -p $startdir/pkg/lib/modules/$(uname -r)/misc
mkdir -p $startdir/pkg/usr/{lib,include}
sed -i 's|/sbin/depmod -a||' Makefile
make install || return 1
# Restore original Makefiles
rm {Makefile,kfusd/Makefile}
cp Makefile.save Makefile
cp kfusd/Makefile.save kfusd/Makefile
cd $startdir/src
install -D -m 644 fusd.rules $startdir/pkg/etc/udev/rules.d/30-fusd.rules
msg "If you saw an error about not finding the kfusd.ko module, do the following:"
msg "as root: cd /usr/src/linux-$(uname -r) && make"
First off, it seems to me like sticking in optimizations as is done here is a bad idea.
Second - there's still a version of fusd-kor available on the oss2jack homepage, shouldn't that be used? The homepage for the one above seems to be dead anyway, although it claims to be a later version.
I might be asking further questions too, as I've never maintained a kernel module PKGBUILD before.
Also, here's the install file:
# This is a default template for a post-install scriptlet. You can
# remove any functions you don't need (and this header).
# arg 1: the new package version
pre_install() {
rm -f /etc/udev/permissions.d/fusd.permissions
rm -f /etc/udev/rules.d/??-fusd.rules
/bin/true
# arg 1: the new package version
post_install() {
depmod -ae
sleep 1
echo "Modprobe'ing kfusd"
modprobe kfusd && echo sucess\! || echo failure to modprobe kfusd\, try to \-f\(force\) it
echo 'add kfusd to your /etc/rc.conf MODULES array to have it load at startup.'
/bin/true
# arg 1: the new package version
# arg 2: the old package version
pre_upgrade() {
/bin/true
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
/bin/true
# arg 1: the old package version
pre_remove() {
/bin/true
# arg 1: the old package version
post_remove() {
rm -f /etc/udev/permissions.d/fusd.permissions
rm -f /etc/udev/rules.d/??-fusd.rules
/bin/true
op=$1
shift
$op $*
Is there anything in there that should be modified?
And now, oss2jack:
# Contributor: nut543 <[email protected]>
pkgname=oss2jack
pkgver=0.25
arch=('i686')
pkgrel=7
pkgdesc="Routes /dev/dsp to Jack enabling TeamSpeak and other OSS-only mmap apps to work."
depends=(jack-audio-connection-kit libsamplerate fusd-kor)
source=(http://fort.xdas.com/~kor/oss2jack/$pkgname-$pkgver.tar.gz \
oss2jack)
url="http://fort.xdas.com/~kor/oss2jack/"
license=('GPL')
md5sums=(7fd10dd2391cbef147fa36563969e3e2\
596661877446a02c7e9497178db60af7)
install=oss2jack.install
build() {
mkdir -p $startdir/pkg/etc/rc.d
install -g root -o root -m 755 $startdir/oss2jack $startdir/pkg/etc/rc.d/oss2jack
cd $startdir/src/$pkgname-$pkgver
./configure --with-fusd=/usr --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
And the install file:
# This is a default template for a post-install scriptlet. You can
# remove any functions you don't need (and this header).
# arg 1: the new package version
pre_install() {
echo 'see http://wiki.archlinux.org/index.php/Allow_multiple_programs_to_play_sound_at_once#ALSA_with_oss2jack for help starting up oss2jack'
/bin/true
# arg 1: the new package version
post_install() {
/bin/true
# arg 1: the new package version
# arg 2: the old package version
pre_upgrade() {
/bin/true
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
/bin/true
# arg 1: the old package version
pre_remove() {
/bin/true
# arg 1: the old package version
post_remove() {
/bin/true
op=$1
shift
$op $*
The PKGBUILD looks fine to me. Not so sure about the install file, it looks a little... redundant? But if you guys notice anything gravely wrong with these, please post it, okay?
Edit: And sorry for the long post... wow.
Last edited by Gullible Jones (2008-06-04 01:29:55)

Okay, I modified the PKGBUILD for fusd-kor, but I get this when I try to compile...
make[2]: Entering directory `/usr/src/linux-2.6.25-ARCH'
CC [M] /home/proteus/Packages/fusd-kor/src/fusd-kor-1.10-11/kfusd/kfusd.o
/home/proteus/Packages/fusd-kor/src/fusd-kor-1.10-11/kfusd/kfusd.c:60:26: error: linux/config.h: No such file or directory
/home/proteus/Packages/fusd-kor/src/fusd-kor-1.10-11/kfusd/kfusd.c:70:35: error: linux/devfs_fs_kernel.h: No such file or directory
/home/proteus/Packages/fusd-kor/src/fusd-kor-1.10-11/kfusd/kfusd.c:181: error: expected ')' before string constant
/home/proteus/Packages/fusd-kor/src/fusd-kor-1.10-11/kfusd/kfusd.c: In function 'fusd_register_device':
/home/proteus/Packages/fusd-kor/src/fusd-kor-1.10-11/kfusd/kfusd.c:2036: warning: label 'register_failed2' defined but not used
/home/proteus/Packages/fusd-kor/src/fusd-kor-1.10-11/kfusd/kfusd.c: At top level:
/home/proteus/Packages/fusd-kor/src/fusd-kor-1.10-11/kfusd/kfusd.c:2517: error: unknown field 'writev' specified in initializer
/home/proteus/Packages/fusd-kor/src/fusd-kor-1.10-11/kfusd/kfusd.c:2517: warning: initialization from incompatible pointer type
/home/proteus/Packages/fusd-kor/src/fusd-kor-1.10-11/kfusd/kfusd.c: In function 'init_fusd':
/home/proteus/Packages/fusd-kor/src/fusd-kor-1.10-11/kfusd/kfusd.c:2941: warning: label 'fail2' defined but not used
/home/proteus/Packages/fusd-kor/src/fusd-kor-1.10-11/kfusd/kfusd.c:2929: warning: label 'fail7' defined but not used
/home/proteus/Packages/fusd-kor/src/fusd-kor-1.10-11/kfusd/kfusd.c: In function 'cleanup_fusd':
/home/proteus/Packages/fusd-kor/src/fusd-kor-1.10-11/kfusd/kfusd.c:2960: error: implicit declaration of function 'devfs_remove'
make[3]: *** [/home/proteus/Packages/fusd-kor/src/fusd-kor-1.10-11/kfusd/kfusd.o] Error 1
make[2]: *** [_module_/home/proteus/Packages/fusd-kor/src/fusd-kor-1.10-11/kfusd] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.25-ARCH'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/proteus/Packages/fusd-kor/src/fusd-kor-1.10-11/kfusd'
make: *** [obj.i686-linux/kfusd.ko] Error 2
==> ERROR: Build Failed.
Aborting...
What's going on?

Similar Messages

  • I recorded a panel presentation on my Ipod and would like to edit the recording on my itunes so I can export the recording and send it to my colleagues over the internet.  I was able to import the recording to my itunes library but need help editing it.

    Hello, thanks in advance for your help.  I recorded a panel presentation on an ipod and would like to edit the audio recording to just one portion of the recording.  I was able to import the audio into my itunes 11.1.3 music library but I have not been able to edit the length of the recording.  I followed an online tutorial and was able to edit when the recording starts and stops on the recording but I haven't been able to edit out the parts of the recording that I dont want.  Also when I try to export it to my Desktop or to Garageband (not sure if that helps or not) I am not able to export it.  It is currently a .WAV file.  I would like to edit the length of the recording and then export the file onto my desktop.  I would like to email the presentations to my colleagues online so I could also use advice on how to make it a smaller file since it is current 945.6 MB.

    iTunes isn't an editor. You need an app that's intended for editing audio files, like Adobe Audition (http://www.adobe.com/products/audition.html) or Audacity (free in the App Store).

  • Can't connect 30gb to tv using the dock and a s-video cable need help

    i have the universal dock and a 30gb ipod with videos from itunes on it. i use the dock and a s-video cable but nothing comes up. i have the ipod tv settting on but nothing happens
    Gateway Laptop   Windows XP  

    Those videos play fine on your ipod? If yes, check to see if you select the correct input channel on your TV. Also check to see if your S-calbe has a broken pin.

  • I purchased the gaming app from app store and I used it for some time but now suddenly the app is not working properly it's not starting properly and just dies down after the start and comes Back to homepage need help please guys help me out with this!

    Guys needed your help with my real racingHD game app it's not working properly even after paying for it I don't know why it's not working having trouble with it cause it won't star smooth need help guys

    Read Mitch's post on the sad ipod in this thread:
    http://discussions.apple.com/message.jspa?messageID=2369954#2369954

  • Windows needs to install driver software for your Apple Mobile Device (recovery mode) what do i need to do for this error? i tried all the options and my ipod wont work , need help???

    i am using ipod touch 4g

    rishiv93 wrote:
    i tried all the options...
    Did you follow this article about Apple Mobile Device Service? http://support.apple.com/kb/TS1567

  • Oss2jack and fusd

    hi all
    i tried to get oss2jack working to redirect the sound from TeamSpeak to the Jack Audio Server. But the installation failed, because of the fusd-kor package.
    could someone pls rebuild fusd-kor?
    http://aur.archlinux.org/packages.php?O … _Search=Go
    best regards!

    The fusd-kor package I think it totally dead. Months and months ago I spent hours trying to get it to compile. but I wasn't able to. I think the coder who made it is gone.

  • When i type in my correct password on the login screen and press enter it just goes to a blue screen for a few seconds then goes back to the same login screen again, please i need help?

    When i type in my correct password on the login screen and press enter it just goes to a blue screen for a few seconds then goes back to the same login screen again, please i need help?

    You can take some of the steps here, #4, #5 or even trying a #18
    Step by Step to fix your Mac
    but I suspect your going to first have to create a data recovery drive
    Create a data recovery, undelete boot drive
    to get your data off the machine,
    then do a #20 to eliminate the bad sectors as that's why your getting the "pinwheel" it's getting a delay reading from the drive, right when your trying to log in too, what a bad spot for it to happen.
    Step by Step to fix your Mac

  • I accidently click on ''Import the list'' but now all the music have  an exclamation point I think they are all in Musique.txt on the desk... How can i take back these music on my library? I tried : Import the list and take Music.txt , but it do not work

    I accidently click on ''Import the list'' but now all the music have  an exclamation point I think they are all in Musique.txt on the desk... How can i take back these music on my library? I tried : Import the list and take Music.txt , but it do not work

    Ok, I had a glitch, forced to restart, and lost my train of thought.
    Reinstalling iTunes should fix the major issue that might have gone wrong, perhaps your explaination points will disappear and everything will be peachy again.
    But if they don't, you can open the XML file in iTunes Folder using a Text edit program to see what the common pathname is to the iTunes Music folder or where your content is located.
    If you moved the itunes folder, it needs to go back.
    I can't  download iTunes to my Vista virtual machine to test it out right now because iTunes is down, so I can't verify the pathname, perhaps your issue and the iTunes being down are related somehow?
    You don't want to import all your music again, but it's a option, but you lose all your playlists, that's what I'm trying to recover.
    If oyu don't have a whole lot of playlists, then simply select all the explaimation point music and delete, select File from the menu and import your itunes folder again.

  • I have set up a Netgear dual band modem which works well with the iPhone and an older MacBook, but with this brand new MacBook it asks for a password every time I reopen the computer and open safari. Is it Lion?

    I have set up a Netgear dual band modem which works well with the iPhone and an older MacBook, but with this brand new MacBook it asks for a password every time I reopen the computer and open safari. As you can imagine this is very annoying. It says I am not connected to the internet and offers me a choice of nearby networks including mine and then asks for a password when I select it. Why does it do this with our new MacBooks (also with my son's brand new one) and not with the iPhone, iPad and older MacBook? They happily automatically connect to our network after entering the password just the once.

    Sig, I appreciate you trying to be helpful. I have no idea what issues you were having or what issue exactly pgrounds has been having. Your assumption that everyone's set up is the same as yours is false however. There are many many documented WiFi issues that are a result of Lion installs. Many have been solved by 10.7.1 and 10.7.2. Others have been solved by a large variety of work arounds. Others have not had their issues solved yet.
    I am one of those. I have an IT background, and I spent the better of five hours digging up workarounds and attempting all of them. For the benefit oh anyone who is having similar issues, I have posted links to all of those workarounds here. None of them worked in my case, but hopefully they will help pgrounds or others.
    So, once again, if you have a new idea, I'd love to here it. But if it has already been posted in one of these links, it's not helpful, let it go.
    http://osxdaily.com/2011/07/22/wifi-dropping-in-os-x-lion-fixes/
    http://osxdaily.com/2011/11/06/lion-wi-fi-problems-solution-mac/
    http://blog.chron.com/techblog/2011/09/want-to-really-repair-permissions-on-your -mac-try-this/

  • How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please.  Thanks

    How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please.  Thanks

    Si vous avez utilisé la commande Save As Template depuis Pages, il y a forcément un dossier
    iWork > Pages
    contenant Templates > My Templates
    comme il y a un dossier
    iWork > Numbers
    contenant Templates > My Templates
    Depuis le Finder, tapez cmd + f
    puis configurez la recherche comme sur cette recopie d'écran.
    puis lancez la recherche.
    Ainsi, vous allez trouver vos modèles personnalisés dans leur dossier.
    Chez moi, il y en a une kyrielle en dehors des dossiers standards parce que je renomme wxcvb.template quasiment tous mes documents Pages et wxcvb.nmbtemplate à peu près tous mes documents Numbers.
    Ainsi, quand je travaille sur un document, je ne suis pas ralenti par Autosave.
    Désolé mais je ne répondrai plus avant demain.
    Pour moi il est temps de dormir.
    Yvan KOENIG (VALLAURIS, France)  mercredi 23 janvier 2011 22:39:28
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • Tried to reinstall iPhoto library from external hard drive, it shows that the photos and events are there but there are no thumbnails and if you click on an image or video nothing comes up.

    My hard drive crashed recently and we took it to apple to get repaired. The apple employees said that they would have to replace the hard drive but they didn't have the equipment to get the data off my hard drive. So I took it to a computer store who had the right equipment after a month and a half of waiting they finally got all the data off my hard drive and put it on an external hard drive (Seagate Expansion Portable Drive). I then took it back to apple who replaced the hard drive. Now I'm in the process of reinstalling everything. I have never done a Time Machine back up or backed my laptop up to . Which I now will do very often once I've reinstalled everything. I have reinstalled all of my desktop images and folders as well as my iTunes library with no issues. However when i went to reinstall my iPhoto library it came up blank. I then Rebuilt the library several times and this was the result.
    It shows that the photos and events are there but there are no thumbnails and if you click on an image or video nothing comes up.
    Please help i have three years worth of images from holidays on here and would be devastated if i lost them.

    iPhoto cannot find the thumbnails or the original pictures.
    Go to your iPhoto Library in the Pictures Folder.
    Right-click on it and from the resulting menu, choose 'Show Package Contents'.
    This will bring you inside the iPhoto Library package. There you should see a Folder called Masters. Within that, there should be folder containing your actual photos.
    Are they there?

  • My 1st Generation time capsule won't connect to the internet thru a new motorola sb6121 - get continuously flashing yellow light. Using a router in between the modem and capsule yields good but slower connection to internet. Any thoughts?

    My 1st Generation time capsule won't connect to the internet thru a new motorola sb6121 - get continuously flashing yellow light. Using a router in between the modem and capsule yields good but slower connection to internet. Any thoughts?

    Thanks for your response
    Let me give the history - I started with an Apple Express being fed thru a D-Link  EBTR 2310 cable Router from an RCA DCM315 Modem (Pure). Comcast service all the way.
    Got the 1st generation TC in 2008 and merely replaced the Airport Express with the TC. Worked ok
    A year or two ago I did try removing the modem and feeding the TC directly from the modem. Resulted in the same condition I have now - Continuous flashing amber on the TC. So I put the router back in the chain.
    Some time later, at the recommendation of a Comcast rep, I replaced the router with (a Belkin F5D 5231) to see if speed and dropout problems would be improved. I thought it helped some at the time but now I am not so sure.
    Last week I decided to see if a new modem would help with download speeds. So I got another pure cable modem (Motorola SB 6121- high on the Comcast recommended list).
    Got up and running easily with Comcast help and with the modem connected directly to a computer.
    Next I put the TC in the link and again could not get past the TC continuing to flash amber. Although I did get connected to the internet with this configuration I lost connection two both of my printers - one connected by USB and the other wirelessly to the TC. Again everything works fine when I put the Belkin router back in the system.
    However with the router in there, the modem shows the downstream connection to be 10/100 ethernet speed. (Modem light changes color for indicating speeds.}
    I have gone thru all of the combinations of powering down/ up, but all stays the same.
    I can live with what I have but something still doesn’t seem right.
    Thanks again

  • TS1702 Hi, I getting a "playback error message" on youtube App. I tried to reinstall the app and to reset and restore the device and all these things didn't help.can you please help me

    Hi, I getting a "playback error message" on youtube App. I tried to reinstall the app and to reset and restore the device and all these things didn't help.can you please help me

    That's a peculiar one to get in the context of a QuickTime uninstall.
    Which particular version of QuickTime for Windows are you currently running? (7.7.5, 7.7.4, something earlier?)

  • I did set up the password when I got the phone and iPad months ago but never turned it on. Now it is asking for the passwords for both my iPhones and iPad and I cannot select not the have the passwords active.  ???

    I did set up the password when I got the phone and iPad months ago but never turned it on. Now it is asking for the passwords for both my iPhones and iPad and I cannot select not the have the passwords active.

    If you do not want to use passcodes, why don't you just go to Settings > General > Passcode Lock and delete the passcode and set the lock to OFF.  That will eliminate the problems all together.

  • My iphone6 screen is off since last few days i have tried all the options like pressing the home and sleep button together but still its not switching it on before it was getting hanged quite often it had full battery charged but still it is off

    my iphone6 screen is off since last few days i have tried all the options like pressing the home and sleep button together but still its not switching it on before it was getting hanged quite often it had full battery charged but still it is off can anyone please help ......

    hi i m currently in pakistan and there is no apple store here . i will b back to australia after 2 weeks i was wondering if thei can b any fix as i have all my contacts and everything else in my mobile

Maybe you are looking for

  • Macbook no longer recognizing hard drive

    So a little while ago, when I was watching a video off of it, my Macbook suddenly gave the unproper removal message and the hard drive no longer showed up on the list of drives. I tried many times unplugging and plugging back in the drive and restart

  • Making a image have a transparent background

    I was given a image and asked to use it as a logo for a website. It is a black image with a white background. How do I get a transparent background so I can post the image on a web page and only see the image and not the white background it has? I am

  • Regarding activation of DSO in Process Chain

    Hi All, I am getting error in process Chain actvation of DSO DataSource does not exist in version A in source system Activation of M records from DataStore object ZPI_O53 terminated      Solution please

  • Connecting web dynpro to an excel sheet

    Hi friends I have designed a form consisting of two input fields and a button when the user enters the data and hit the button the data must get updated in the excel sheet which is present on my desktop Both ep server and Microsoft excel are installe

  • How to run report in browser

    hi every body, please tell me , i have developed a simple report in 10g report builder (oracle developer suite) but i m unable to run it my 10g forms are running well in browser by using http://<Machinename :8889>/forms/frmservlet?config=<config_tag>