Menu

#55 Would not compile on WIN10 with any Mingw/msys - error: unknown type name 'A_INT32_T'

open
nobody
None
9
2019-03-30
2019-03-29
No

I need to build libmp3lame.a for my application running on Windows. Cross-compile on Linux for Windows by means of mingw works on wine with errors.

Older versions of LAME also not buildable but with other common errors.

Please help.

6 Attachments

Discussion

  • Sergei Golubtsov

    I supose the problem is in following code inside configure.in file:

    if test "${HAVE_INT32_T}" = yes; then  AC_DEFINE(A_UINT32_T,unsigned int32_t) else  if test "${ac_cv_sizeof_unsigned_short}" = "4"; then  AC_DEFINE(A_UINT32_T,unsigned short)  else  if test "${ac_cv_sizeof_unsigned_int}" = "4"; then  AC_DEFINE(A_UINT32_T,unsigned int)  else  if test "${ac_cv_sizeof_unsigned_long}" = "4"; then  AC_DEFINE(A_UINT32_T,unsigned long)  else  AC_MSG_ERROR([CHECK_TYPE_uint32_t - please report to lame-dev@lists.sourceforge.net])  fi  fi  fi fi AH_VERBATIM([HAVE_UINT32_T], [/* add uint32_t type */ #undef HAVE_UINT32_T #ifndef HAVE_UINT32_T #undef A_UINT32_T  typedef A_UINT32_T uint32_t; #endif]) if test "${ac_cv_sizeof_short}" = "4"; then  AC_DEFINE(A_INT32_T,short) else  if test "${ac_cv_sizeof_int}" = "4"; then  AC_DEFINE(A_INT32_T,int)  else  if test "${ac_cv_sizeof_long}" = "4"; then  AC_DEFINE(A_INT32_T,long)  else  AC_MSG_ERROR([CHECK_TYPE_int32_t - please report to lame-dev@lists.sourceforge.net])  fi  fi fi AH_VERBATIM([HAVE_INT32_T], [/* add int32_t type */ #undef HAVE_INT32_T #ifndef HAVE_INT32_T #undef A_INT32_T  typedef A_INT32_T int32_t; #endif]) if test "${HAVE_INT64_T}" = yes; then  AC_DEFINE(A_UINT64_T,unsigned int64_t) else  if test "${ac_cv_sizeof_unsigned_int}" = "8"; then  AC_DEFINE(A_UINT64_T,unsigned int)  else  if test "${ac_cv_sizeof_unsigned_long}" = "8"; then  AC_DEFINE(A_UINT64_T,unsigned long)  else  if test "${ac_cv_sizeof_unsigned_long_long}" = "8"; then  AC_DEFINE(A_UINT64_T,unsigned long long)  else  AC_MSG_ERROR([CHECK_TYPE_uint64_t - please report to lame-dev@lists.sourceforge.net])  fi  fi  fi fi AH_VERBATIM([HAVE_UINT64_T], [/* add uint64_t type */ #undef HAVE_UINT64_T #ifndef HAVE_UINT64_T #undef A_UINT64_T  typedef A_UINT64_T uint64_t; #endif]) if test "${ac_cv_sizeof_int}" = "8"; then  AC_DEFINE(A_INT64_T,int) else  if test "${ac_cv_sizeof_long}" = "8"; then  AC_DEFINE(A_INT64_T,long)  else  if test "${ac_cv_sizeof_long_long}" = "8"; then  AC_DEFINE(A_INT64_T,long long)  else  AC_MSG_ERROR([CHECK_TYPE_int64_t - please report to lame-dev@lists.sourceforge.net])  fi  fi fi AH_VERBATIM([HAVE_INT64_T], [/* add int64_t type */ #undef HAVE_INT64_T #ifndef HAVE_INT64_T #undef A_INT64_T  typedef A_INT64_T int64_t; #endif]) 
     

    Last edit: Sergei Golubtsov 2019-03-30
  • Sergei Golubtsov

    this error is here too
    Seems that configuration for MinGW / MSYS builds not maintained as needed...

     

Log in to post a comment.