getting FUSD compiled with current kernels

From: Florian Schmidt
Date: Sat Sep 29 2007 - 12:23:49 EST



Hi,

I'm trying to build FUSD [1] against current kernels [2.6.22]. I get errors
[2]:

I tried looking into it but not being a kernel hacker i must admit i didn't
even find out where sysfs_dentry is defined (so i can make the type
complete). Or whether this would even be the correct way to fix it..

My goal is to hack up oss2jack [3] to use ALSA pcm devices.. And a later goal
is to create a virtual ALSA soundcard [which would multiplex access to a real
non hw-mixing capable soundcard] to finally end the dmix software mixing woes
linux users have to endure for the last years :)

I don't expect you to fix it for me. I would just be glad about infos on where
to get more infos enabling me to fix this :) Of course the more concise and
practical the advice the better :)

Regards,
Flo

[1] http://svn.xiph.org/trunk/fusd

[2] ~/source/build_stuff/fusd$ make
make -C libfusd
make[1]: Entering directory `/home/tapas/source/build_stuff/fusd/libfusd'
make[1]: Nothing to be done for `default'.
make[1]: Leaving directory `/home/tapas/source/build_stuff/fusd/libfusd'
make -C kfusd
make[1]: Entering directory `/home/tapas/source/build_stuff/fusd/kfusd'
make -C /lib/modules/2.6.22-11-generic/build
SUBDIRS=/home/tapas/source/build_st
uff/fusd/kfusd
EXTRA_CFLAGS=-I/home/tapas/source/build_stuff/fusd/kfusd/../inclu
de modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.22-11-generic'
CC [M] /home/tapas/source/build_stuff/fusd/kfusd/kfusd.o
/home/tapas/source/build_stuff/fusd/kfusd/kfusd.c: In function âto_kobjâ:
/home/tapas/source/build_stuff/fusd/kfusd/kfusd.c:135: error: dereferencing
poin
ter to incomplete type
/home/tapas/source/build_stuff/fusd/kfusd/kfusd.c: In
function âfusd_register_de
viceâ:
/home/tapas/source/build_stuff/fusd/kfusd/kfusd.c:2049: error: âstruct ksetâ
has
no member named âksetâ
/home/tapas/source/build_stuff/fusd/kfusd/kfusd.c:2049: warning: type defaults
t
o âintâ in declaration of â__mptrâ
/home/tapas/source/build_stuff/fusd/kfusd/kfusd.c:2049: warning:
initialization
from incompatible pointer type
/home/tapas/source/build_stuff/fusd/kfusd/kfusd.c:2049: error: âstruct ksetâ
has
no member named âksetâ
/home/tapas/source/build_stuff/fusd/kfusd/kfusd.c: At top level:
/home/tapas/source/build_stuff/fusd/kfusd/kfusd.c:2603: error: unknown
field âwr
itevâ specified in initializer
/home/tapas/source/build_stuff/fusd/kfusd/kfusd.c:2603: warning:
initialization
from incompatible pointer type
make[3]: *** [/home/tapas/source/build_stuff/fusd/kfusd/kfusd.o] Error 1
make[2]: *** [_module_/home/tapas/source/build_stuff/fusd/kfusd] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-11-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/tapas/source/build_stuff/fusd/kfusd'
make: *** [default] Error 2

[3] http://fort.xdas.com/~kor/oss2jack/

--
Palimm Palimm!
http://tapas.affenbande.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/