This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

"csl_mdio.h", line 31: fatal error: could not open source file "cslr.h"

I use CCS3.3 and C6747.

In "csl_mdio.h",line 31 is

#if (MDIO_SUPPORT)                                                                                                                //     line 28
/*-----------------------------------------------------------------------*\                                                   //     line 29                  
* NEW TYPES                                                                                                                             //     line  30
\*-----------------------------------------------------------------------*/                                                   //     line 31
#ifndef _CSL_EMAC_TYPES
#define _CSL_EMAC_TYPES
typedef unsigned int uint;
typedef void * Handle;
#endif

can you tell me WHY?this error is strange.

  • Hi,

    The header file mentioned in the error "cslr.h" is necessary to handle/initialize EMAC parameters. Without it, the CSL_EMAC_TYPES wont be accessed.

    Are you sure you have this particular header file in the same folder and that you have included it? Your file doesnt seem to find this particular header file due to which it cant go forward with the process of initializing EMAC paramteres.

    Regards,

    Sid