|
From: Albert G. <ag...@gm...> - 2013-06-18 05:21:50
|
Well, using the tweaks that Anders described and a few additional changes to the makefiles I was able to compile MidiShare on 64 bit Ubuntu 12.04 as well, but unfortunately it doesn't work. :( The kernel module loads all right, but msconnect and msecho just sit there without mapping a GTK window, and msAlsaSeq simply crashes on startup. I also noticed quite a few warnings when compiling the sources which point to 64 bit issues, so I'd say that the code needs a thorough review before it is 64 bit ready. What a pity. I was really looking forward to give MidiShare another whirl, but I don't think I'll have the time to dive into the code. Albert > -------- Original Message -------- > Subject: [midishare-devel] midishare on 64-bit linux > Date: Mon, 19 Nov 2012 12:14:58 +0100 > From: and...@no... > To: mid...@li... > > 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 -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: ag...@gm... WWW: https://plus.google.com/111193356966611167754 |