[LAD] completely [ot] - compilation help

From: Julien Claassen <julien@email-addr-hidden-lab.de>
Date: Thu May 08 2008 - 10:50:00 EEST

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 (...);
   My gcc is: gcc 4.2.3 (Debian 4.2.3-3)
   Please: can someone help me here? It's so frustrating...
   Kindest regards
         Julien

--------
Music was my first love and it will be my last (John Miles)

======== FIND MY WEB-PROJECT AT: ========
http://ltsb.sourceforge.net
the Linux TextBased Studio guide
======= AND MY PERSONAL PAGES AT: =======
http://www.juliencoder.de
_______________________________________________
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:03 2008

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