You try to compile a program using libmpg123 on GNU/Linux or Solaris and get this:
/usr/local/include/mpg123.h:37:2: error: #error "Mismatch in large file setup!
Enable/disable large file support appropriately to use libmpg123."
This is due to libmpg123 being compile with large file support and your app is trying to compile without... or the other way round. Usually, it is the case that you upgraded to mpg123 1.6, which enabled large file support as default and your app build fails to use the switch for enabling large support.
The usual case is resolved by this:
Note that just disabling large file support in libmpg123 may be an option, but not a smart move. Everyone should use large file support nowadays and GNU/Linux distributions use it as default.
You are living in the past. See my message to the asterisk community.
Most likely, you are missing the header files for the alsa library (libasound) or even the library itself.
| Distro | Needed packages |
|---|---|
| Debian / Ubuntu | libasound2, libasound2-dev |
See bug 1547470. There is an issue with alsa < 1.0.13 that breaks mpg123 when compiled with 64bits (on this platform only?). So just upgrade alsa and it should be fine.