Page 1 of 1

grsecurity-2.2.1-2.6.37-201101252025 - CONFIG_SND_MTS64

PostPosted: Tue Jan 25, 2011 11:11 pm
by x14sg1
Hello,

When trying to compile my kernel, I get these errors

sound/drivers/mts64.c:69:2: error: expected specifier-qualifier-list before 'local_t'
sound/drivers/mts64.c: In function 'snd_mts64_create':
sound/drivers/mts64.c:101:5: error: 'struct mts64' has no member named 'current_midi_output_port'
sound/drivers/mts64.c:102:5: error: 'struct mts64' has no member named 'current_midi_input_port'
sound/drivers/mts64.c: In function 'mts64_write_midi':
sound/drivers/mts64.c:431:9: error: 'struct mts64' has no member named 'current_midi_output_port'
sound/drivers/mts64.c: In function 'snd_mts64_ctl_smpte_switch_get':
sound/drivers/mts64.c:451:36: error: 'struct mts64' has no member named 'smpte_switch'
sound/drivers/mts64.c: In function 'snd_mts64_ctl_smpte_switch_put':
sound/drivers/mts64.c:467:9: error: 'struct mts64' has no member named 'smpte_switch'
sound/drivers/mts64.c:471:5: error: 'struct mts64' has no member named 'smpte_switch'
sound/drivers/mts64.c:472:9: error: 'struct mts64' has no member named 'smpte_switch'
sound/drivers/mts64.c:474:10: error: 'struct mts64' has no member named 'time'
sound/drivers/mts64.c:474:24: error: 'struct mts64' has no member named 'time'
sound/drivers/mts64.c:475:10: error: 'struct mts64' has no member named 'time'
sound/drivers/mts64.c:475:24: error: 'struct mts64' has no member named 'time'
sound/drivers/mts64.c:476:10: error: 'struct mts64' has no member named 'fps'
sound/drivers/mts64.c: In function 'snd_mts64_ctl_smpte_time_get':
sound/drivers/mts64.c:534:36: error: 'struct mts64' has no member named 'time'
sound/drivers/mts64.c: In function 'snd_mts64_ctl_smpte_time_put':
sound/drivers/mts64.c:549:9: error: 'struct mts64' has no member named 'time'
sound/drivers/mts64.c:551:6: error: 'struct mts64' has no member named 'time'
sound/drivers/mts64.c: In function 'snd_mts64_ctl_smpte_fps_get':
sound/drivers/mts64.c:629:38: error: 'struct mts64' has no member named 'fps'
sound/drivers/mts64.c: In function 'snd_mts64_ctl_smpte_fps_put':
sound/drivers/mts64.c:644:9: error: 'struct mts64' has no member named 'fps'
sound/drivers/mts64.c:646:6: error: 'struct mts64' has no member named 'fps'
sound/drivers/mts64.c: In function 'snd_mts64_rawmidi_open':
sound/drivers/mts64.c:699:2: error: implicit declaration of function 'local_read'
sound/drivers/mts64.c:699:21: error: 'struct mts64' has no member named 'open_count'
sound/drivers/mts64.c:707:2: error: implicit declaration of function 'local_inc'
sound/drivers/mts64.c:707:16: error: 'struct mts64' has no member named 'open_count'
sound/drivers/mts64.c: In function 'snd_mts64_rawmidi_close':
sound/drivers/mts64.c:717:2: error: implicit declaration of function 'local_dec_return'
sound/drivers/mts64.c:717:27: error: 'struct mts64' has no member named 'open_count'
sound/drivers/mts64.c:726:28: error: 'struct mts64' has no member named 'open_count'
sound/drivers/mts64.c:727:3: error: implicit declaration of function 'local_set'
sound/drivers/mts64.c:727:17: error: 'struct mts64' has no member named 'open_count'
sound/drivers/mts64.c: In function 'snd_mts64_rawmidi_input_trigger':
sound/drivers/mts64.c:755:6: error: 'struct mts64' has no member named 'mode'
sound/drivers/mts64.c:757:7: error: 'struct mts64' has no member named 'mode'
sound/drivers/mts64.c: In function 'snd_mts64_rawmidi_create':
sound/drivers/mts64.c:816:6: error: 'struct mts64' has no member named 'midi_input_substream'
sound/drivers/mts64.c: In function 'snd_mts64_interrupt':
sound/drivers/mts64.c:849:6: error: 'struct mts64' has no member named 'current_midi_input_port'
sound/drivers/mts64.c:851:10: error: 'struct mts64' has no member named 'current_midi_input_port'
sound/drivers/mts64.c:853:18: error: 'struct mts64' has no member named 'midi_input_substream'
sound/drivers/mts64.c:853:44: error: 'struct mts64' has no member named 'current_midi_input_port'
sound/drivers/mts64.c:854:10: error: 'struct mts64' has no member named 'mode'
make[2]: *** [sound/drivers/mts64.o] Error 1

Re: grsecurity-2.2.1-2.6.37-201101252025 - CONFIG_SND_MTS64

PostPosted: Tue Jan 25, 2011 11:45 pm
by spender
I just uploaded a new patch that should resolve the issue.

Thanks,
-Brad

Re: grsecurity-2.2.1-2.6.37-201101252025 - CONFIG_SND_MTS64

PostPosted: Wed Jan 26, 2011 12:25 am
by x14sg1
Thank you - it compiles now