Greetings,
I'm trying to get IRCAM's Open Music 5.2.1 running here, but I'm having
various difficulties. For now, I'll focus on this one: I'm trying to
build MidiShare (it's required by OM) on my 64-bit machine (64Studio),
and I've got this far :
make -C kernel
make[1]: Entering directory
`/home/dlphilp/src/openmusic/midishare-1.91-linux2.6-src/src/linux/kernel'
for x in atomic/lffifoIntel.c atomic/lflifoIntel.c Clients/msAlarms.c
Clients/msAppls.c Clients/msConnx.c Clients/msFilter.c Clients/msMail.c
Clients/msTasks.c Clients/msXmtRcv.c Kernel/msHandler.c Kernel/msInit.c
Kernel/msSmpte.c Kernel/msTime.c Memory/msEvents.c Memory/msFields.c
Memory/msMemory.c Memory/msSeq.c Sorter/msSorter.c Drivers/msDriver.c;
do ln -sf ../../common/$x `basename $x`; done
make modules -C /usr/src/linux
SUBDIRS=/home/dlphilp/src/openmusic/midishare-1.91-linux2.6-src/src/linux/kernel
make[2]: Entering directory
`/usr/src/linux-headers-2.6.21-1-multimedia-amd64'
CC [M]
/home/dlphilp/src/openmusic/midishare-1.91-linux2.6-src/src/linux/kernel/msLoader.o
/home/dlphilp/src/openmusic/midishare-1.91-linux2.6-src/src/linux/kernel/msLoader.c:1:
sorry, unimplemented: code model kernel not supported in PIC mode
/home/dlphilp/src/openmusic/midishare-1.91-linux2.6-src/src/linux/kernel/msLoader.c:1:
error: code model ‘kernel’ not supported in the 64 bit mode
make[3]: ***
[/home/dlphilp/src/openmusic/midishare-1.91-linux2.6-src/src/linux/kernel/msLoader.o]
Error 1
make[2]: ***
[_module_/home/dlphilp/src/openmusic/midishare-1.91-linux2.6-src/src/linux/kernel]
Error 2
make[2]: Leaving directory
`/usr/src/linux-headers-2.6.21-1-multimedia-amd64'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/dlphilp/src/openmusic/midishare-1.91-linux2.6-src/src/linux/kernel'
make: *** [kernel] Error 2
Has anyone ever compiled MidiShare for a 64-bit machine, and if so, how
? I'm using Albert Graef's patches for MidiShare 1.91, but they don't
address the 64-bit problem. Is MidiShare even maintained anymore ? I had
troubles compiling 1.91 on my 32-bit box too, and since it's required
for Open Music I'd like to figure out how to build it on both boxes here.
Some time ago I did write to GRAME re: MidiShare development but
received no response.
Any suggestions ?
Best,
dp