|
From: <and...@no...> - 2012-11-19 11:15:12
|
Hi.
Fwiw, ive just compiled, installed and loaded the midishare module on a
64-bit linux-box running fedora fc17.
SOURCES: midishare-sources from git 23ab460 (2012-10-18).
OS: fc17 - kernel 3.6.6 - gcc v. 4.7.2
STATUS: midishare compiles, installs and the module loads and runs.
Nothing is tested yet with other apps or patching-tools etc.
Changes applied inside src/linux/* for ms to compile, install and load:
- changed ulong to unsigned long everywhere
- removed "-m elf_i386" from various LD and FLAGS (this could be done
by adapting the 'conf_powerpc' macro inside linux/configure)
- library/makefile: added "-fPIC" to $(FLAGS)
- library/makefile: (typo?)
- "-W1,soname,..."
+ "-Wl,-soname,..."
- drivers/alsa/makefile:
- drivers/raw/midi/makefile:
- drivers/raw/serial/makefile:
"-lpthread" added to FLAGS
- kernel/MidiShareLinux.c:
- kernel/msLoader.c:
add "#include <linux/sched.h>" after includes
- kernel/msLoader.c: in "myops" -struct:
- ioctl : myioctl,
+ unlocked_ioctl : myioctl,
Cheers,
-anders
|