(moved from archlinuxarm/PKGBUILDs#317)
compiling omxplayer-git (and some other packages) failed on a raspi running the -next kernel and firmware but not on a raspi running the "stable" kernel and firmware.
the error message was:
In file included from /opt/vc/include/bcm_host.h:50:0,
/opt/vc/include/interface/vmcs_host/vcgencmd.h:33:27: fatal error: vchost_config.h: No such file or directory
...the system with error:
radek@kulicka omxplayer-git % locate vchost_config.h
...and the system that is ok:
radek@berta omxplayer-git % locate vchost_config.h
as you can see, the location of the file is different. then:
radek@kulicka omxplayer-git % pacman -Qo /opt/vc/include/interface/vmcs_host/linux/vchost_config.h
/opt/vc/include/interface/vmcs_host/linux/vchost_config.h is owned by raspberrypi-firmware-next 20121126-1
radek@berta omxplayer-git % pacman -Qo /opt/vc/include/interface/vcos/pthreads/vchost_config.h
/opt/vc/include/interface/vcos/pthreads/vchost_config.h is owned by raspberrypi-firmware 20121126-1
...which brings me here. i have absolutely no idea why the file has moved nor how to fix the build but i just wanted to let you know it breaks packages (at build time).
Need to add -I/opt/vc/include/interface/vmcs_host/linux to CFLAGS.