New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

probably something broken about the raspberry pi -next firmware series #125

Closed
rpodgorny opened this Issue Nov 28, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@rpodgorny

rpodgorny commented Nov 28, 2012

(moved from https://github.com/archlinuxarm/PKGBUILDs/issues/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,
from ./DllBCM.h:34,
from linux/RBP.h:45,
from linux/RBP.cpp:22:
/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
/opt/vc/include/interface/vmcs_host/linux/vchost_config.h

...and the system that is ok:

radek@berta omxplayer-git % locate vchost_config.h
/opt/vc/include/interface/vcos/pthreads/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).

@popcornmix

This comment has been minimized.

Contributor

popcornmix commented Dec 17, 2012

Need to add -I/opt/vc/include/interface/vmcs_host/linux to CFLAGS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment