Re: [LAD] completely [ot] - compilation help

From: Christian Schoenebeck <cuse@email-addr-hidden>
Date: Thu May 08 2008 - 11:00:58 EEST

Am Donnerstag, 8. Mai 2008 09:50:00 schrieb Julien Claassen:
> Hello folks!
> I'm soory for posting here, but I hope someone can help me. I'm just
> compiling a bit of code and gcc gives a strange error, which Ican't fix.
> Code snippet:
> [...]
> if (ioctl (vcsa_fd, KBD_SNIFF_SET, &set) < 0)
> {
> sbl_log ("no kernel support for keyboard sniffing\n");
> kbd_sniffing = 0;
> return 0;
> }
> else { ... }
> /* end of snipet */
> the reproduceable compiler error says something about the if-statement:
> kbd.h:96: error: expected ')' before '[' token
> It does the same for two other ioctl statements, one incuded in an if,
> the other in an assignment like:
> value = ioctl (...);

It's a bit hard to help you without having the exact source code and exact
error messages. The errors you're talking about could just be some
consecutive faults, the root cause(s) might be something completely
different.

CU
Christian
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Thu May 8 12:15:04 2008

This archive was generated by hypermail 2.1.8 : Thu May 08 2008 - 12:15:04 EEST