|
From: <wi...@w4...> - 2012-03-01 17:47:38
|
RE: Compilation of Midishare under Ubuntu ---
Correction to my previous post:
>>>>
In "common/Memory/msEvents.c"
Add "#define true 1" at line 40.
Change ulong to unsigned long throughout the file (quite a few).
In "common/Memory/msMemory.c"
Add "#define true 1" at line 31.
Change ulong to unsigned long in lines 36 and 37.
>>>>>>>>>
SHOULD BE:
In "common/Memory/msEvents.c"
Add "#define true 1" at line 40.
In "common/Memory/msMemory.c"
Add "#define true 1" at line 31.
Change ulong to unsigned long throughout the file (quite a few).
Also,
In "linux/kernel/msConf.c"
Comment out (or remove) line 55, "enum { false, true };"
Add the following:
In line 200, "n = generic_file_read (fd, c, 1, &(fd->f_pos));"
change the obsolete "generic_file_read" to "do_sync_read",
i.e."n = do_sync_read (fd, c, 1, &(fd->f_pos));".
I tried it also on my laptop, compiled OK.
--
wi...@w4... <wi...@w4...>
|