[linux-audio-user] building midishare

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> for being able to try the linux port of mythical ircams "open music" I
> trying to compile from source (CVS) the grams "midishare"
> unfortunately, with some build errors.
> 
> My box:
> slackware 9.1/current, kernel 2.6.6, gcc 3.3.3

Are you sure that 2.6.x is currently supported? I have not looked at
CVS, but the official release (AFAIK) only works with kernel 2.4.x. 

-- Fernando

> every aid is a lot appreciated
> Lazzaro
> 
> Follow the errors:
> make[1]: Entering directory
> `/opt/sources/midi/midishare/linux-dev/midishare-linux/linux/kernel'
> gcc -O6 -Wall -D_LOOSE_KERNEL_NAMES -DMODVERSIONS -D__Pentium__
> -DCONFIG_KERNELD -DMODULE -D__KERNEL__ -DLINUX
> -I/lib/mod  ules/`uname -r`/build/include/ -I../../common/Headers   -c -o
> msLoader.o msLoader.c
> In file included from /lib/modules/2.6.6/build/include/asm/processor.h:18,
>                  from
> /lib/modules/2.6.6/build/include/asm/thread_info.h:16,
>                  from
> /lib/modules/2.6.6/build/include/linux/thread_info.h:21,
>                  from
> /lib/modules/2.6.6/build/include/linux/spinlock.h:12,
>                  from
> /lib/modules/2.6.6/build/include/linux/capability.h:45,
>                  from /lib/modules/2.6.6/build/include/linux/sched.h:7,
>                  from /lib/modules/2.6.6/build/include/linux/module.h:10,
>                  from msLoader.c:41:
> /lib/modules/2.6.6/build/include/asm/system.h: In function
> `__set_64bit_var':
> /lib/modules/2.6.6/build/include/asm/system.h:193: warning: dereferencing
> type-punned pointer will break
> strict-aliasing r  ules
> /lib/modules/2.6.6/build/include/asm/system.h:193: warning: dereferencing
> type-punned pointer will break
> strict-aliasing r  ules
> msLoader.c: In function `prnt':
> msLoader.c:79: error: structure has no member named `tty'
> msLoader.c:84: error: request for member `write' in something not a
> structure or union
> msLoader.c:85: error: request for member `write' in something not a
> structure or union
> msLoader.c: In function `MidiReset':
> msLoader.c:130: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at
> /lib/modules/2.6.6/build/include/linux/module.h:51  3)
> msLoader.c: In function `myopen':
> msLoader.c:141: warning: `MOD_INC_USE_COUNT' is deprecated (declared at
> /lib/modules/2.6.6/build/include/linux/module.h:50  1)
> msLoader.c: In function `myclose':
> msLoader.c:150: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at
> /lib/modules/2.6.6/build/include/linux/module.h:51  3)
> make[1]: *** [msLoader.o] Error 1
> make[1]: Leaving directory
> `/opt/sources/midi/midishare/linux-dev/midishare-linux/linux/kernel'
> make: *** [kernel] Error 2


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux