[MPlayer-users] A build fails because it tells me a file doesn't exist, but it does.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Feb 27 11:23:22 EET 2022


> On 27 Feb 2022, at 06:25, arthurpeabody <arthurpeabody at rickstewart.com> wrote:
> 
> In file included from stream/stream_cddb.c:59:
> /usr/include/linux/cdrom.h:16:10: fatal error: asm/byteorder.h: No such file or directory
>   16 | #include 
>      |          ^~~~~~~~~~~~~~~~~
> compilation terminated.
> make: *** [Makefile:730: stream/stream_cddb.o] Error 1
> 
> 
> But it does exist.

It also needs to exist in a place where it's looked form.
Normally it's not in /usr/include/asm but instead some architecture-specific subdirectory.
If your compiler e.g. was compiled wrongly and fails to include that in the default search path, it just being there won't help as the compiler just won't find it.
You can add the right -I option to the CFLAGS as a workaround, but if that helps there's something really wrong with your system I am afraid.

Best regards,
Reimar


More information about the MPlayer-users mailing list