SparkFun Forums 

Where electronics enthusiasts find answers.

Have a good idea for a new product for SFE or Olimex? Let us know!
By arej
#6222
Hello, I download the beta version of cp2101 from ftp://ftp.silabs.com but when I try to compile the source code I got errors. For example:

mcci_usb.c:4106: error: 'va_list' undeclared (first use in these function) and some others errors....

I have two kernel version (2.4.29 and 2.6.12.2) and get the same bugs for both kernels.

What shall I do?

Are
By wiml
#6223
Maybe try adding
Code: Select all
#include <stdarg.h>
at the top of the file causing the problem (among the other includes)? That's the header that defines the va_arg, va_list, etc. stuff. The file might be relying on stdarg.h being included indirectly by some other file.