We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I would really like to get this compiled on gentoo (the portage overlay does not work). I have gotten around most issues but am stuck on this latest:
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -isystem/var/tmp//usr/include -isystem/var/tmp//opt/vc/include -isystem/usr/arm-bcm2708-linux-gnueabi/sys-root/usr/include -isystem/var/tmp//opt/vc/include/interface/vcos/pthreads -isystem/var/tmp//usr/include/freetype2 -isystem/usr/include -isystem/opt/vc/include -isystem/opt/vc/include/interface/vcos/pthreads/ -isystem/usr/include/freetype2/ -I./ -Ilinux -Iffmpeg_compiled/usr/local/include/ -c OMXPlayerSubtitles.cpp -o OMXPlayerSubtitles.o -Wno-deprecated-declarations In file included from OMXPlayerSubtitles.cpp:23:0: Enforce.h:49:15: error: looser throw specifier for 'virtual const char\* Enforce_error::what() const' /usr/lib/gcc/armv6j-hardfloat-linux-gnueabi/4.5.4/include/g++-v4/exception:69:25: error: overriding 'virtual const char\* std::exception::what() const throw ()' Enforce.h:35:45: error: looser throw specifier for 'virtual Enforce_error::~Enforce_error()' /usr/lib/gcc/armv6j-hardfloat-linux-gnueabi/4.5.4/include/g++-v4/exception:65:13: error: overriding 'virtual std::exception::~exception() throw ()' make: **\* [OMXPlayerSubtitles.o] Error 1
I have not modified the Makefile at all and here is my modified Makefile.include
USE_BUILDROOT=0 FLOAT=hard ifeq ($(USE_BUILDROOT), 1) BUILDROOT :=/opt/xbmc-bcm/buildroot SDKSTAGE :=$(BUILDROOT)/output/staging TARGETFS :=$(BUILDROOT)/output/target TOOLCHAIN :=$(BUILDROOT)/output/host/usr/ HOST :=arm-unknown-linux-gnueabi SYSROOT :=$(BUILDROOT)/output/host/usr/arm-unknown-linux-gnueabi/sysroot else BUILDROOT :=/var/tmp/ SDKSTAGE :=/var/tmp/ TARGETFS :=/var/tmp/ TOOLCHAIN :=/usr HOST :=bcm2708 SYSROOT :=$(TOOLCHAIN)/arm-bcm2708-linux-gnueabi/sys-root endif JOBS=7 CFLAGS := -isystem$(PREFIX)/include CXXFLAGS := $(CFLAGS) CPPFLAGS := $(CFLAGS) LDFLAGS := -L$(BUILDROOT)/lib LD := $(TOOLCHAIN)/bin/ld --sysroot=$(SYSROOT) CC := $(TOOLCHAIN)/bin/g++ --sysroot=$(SYSROOT) CXX := $(TOOLCHAIN)/bin/g++ --sysroot=$(SYSROOT) OBJDUMP := $(TOOLCHAIN)/bin/objdump RANLIB := $(TOOLCHAIN)/bin/ranlib STRIP := $(TOOLCHAIN)/bin/strip AR := $(TOOLCHAIN)/bin/ar CXXCP := $(CXX) -E PATH := $(PREFIX)/bin:$(BUILDROOT)/output/host/usr/bin:$(PATH)
ifeq ($(USE_BUILDROOT), 1) BUILDROOT :=/opt/xbmc-bcm/buildroot SDKSTAGE :=$(BUILDROOT)/output/staging TARGETFS :=$(BUILDROOT)/output/target TOOLCHAIN :=$(BUILDROOT)/output/host/usr/ HOST :=arm-unknown-linux-gnueabi SYSROOT :=$(BUILDROOT)/output/host/usr/arm-unknown-linux-gnueabi/sysroot else BUILDROOT :=/var/tmp/ SDKSTAGE :=/var/tmp/ TARGETFS :=/var/tmp/ TOOLCHAIN :=/usr HOST :=bcm2708 SYSROOT :=$(TOOLCHAIN)/arm-bcm2708-linux-gnueabi/sys-root endif
JOBS=7
CFLAGS := -isystem$(PREFIX)/include CXXFLAGS := $(CFLAGS) CPPFLAGS := $(CFLAGS) LDFLAGS := -L$(BUILDROOT)/lib LD := $(TOOLCHAIN)/bin/ld --sysroot=$(SYSROOT) CC := $(TOOLCHAIN)/bin/g++ --sysroot=$(SYSROOT) CXX := $(TOOLCHAIN)/bin/g++ --sysroot=$(SYSROOT) OBJDUMP := $(TOOLCHAIN)/bin/objdump RANLIB := $(TOOLCHAIN)/bin/ranlib STRIP := $(TOOLCHAIN)/bin/strip AR := $(TOOLCHAIN)/bin/ar CXXCP := $(CXX) -E PATH := $(PREFIX)/bin:$(BUILDROOT)/output/host/usr/bin:$(PATH)
CFLAGS += -pipe -mfloat-abi=$(FLOAT) -mcpu=arm1176jzf-s -fomit-frame-pointer -mabi=aapcs-linux -mtune=arm1176jzf-s -mfpu=vfp -Wno-psabi -mno-apcs-stack-check -O3 -mstructure-size-boundary=32 -mno-sched-prolog LDFLAGS += -L$(SDKSTAGE)/lib -L$(SDKSTAGE)/usr/lib -L$(SDKSTAGE)/opt/vc/lib/ INCLUDES += -isystem$(SDKSTAGE)/usr/include -isystem$(SDKSTAGE)/opt/vc/include -isystem$(SYSROOT)/usr/include -isystem$(SDKSTAGE)/opt/vc/include/interface/vcos/pthreads -isystem$(SDKSTAGE)/usr/include/freetype2 -isystem/usr/include -isystem/opt/vc/include -isystem/opt/vc/include/interface/vcos/pthreads/ -isystem/usr/include/freetype2/
Any help would be appreciated. I updated my GIT repository last night and did a rpi-update to ensure the latest firmware.
Thanks,
Sean
The text was updated successfully, but these errors were encountered:
You will have to use GCC 4.6 or above.
Sorry, something went wrong.
I've actually addressed this issue in Gentoo bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=421683
No branches or pull requests
I would really like to get this compiled on gentoo (the portage overlay does not work). I have gotten around most issues but am stuck on this latest:
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -isystem/var/tmp//usr/include -isystem/var/tmp//opt/vc/include -isystem/usr/arm-bcm2708-linux-gnueabi/sys-root/usr/include -isystem/var/tmp//opt/vc/include/interface/vcos/pthreads -isystem/var/tmp//usr/include/freetype2 -isystem/usr/include -isystem/opt/vc/include -isystem/opt/vc/include/interface/vcos/pthreads/ -isystem/usr/include/freetype2/ -I./ -Ilinux -Iffmpeg_compiled/usr/local/include/ -c OMXPlayerSubtitles.cpp -o OMXPlayerSubtitles.o -Wno-deprecated-declarations In file included from OMXPlayerSubtitles.cpp:23:0: Enforce.h:49:15: error: looser throw specifier for 'virtual const char\* Enforce_error::what() const' /usr/lib/gcc/armv6j-hardfloat-linux-gnueabi/4.5.4/include/g++-v4/exception:69:25: error: overriding 'virtual const char\* std::exception::what() const throw ()' Enforce.h:35:45: error: looser throw specifier for 'virtual Enforce_error::~Enforce_error()' /usr/lib/gcc/armv6j-hardfloat-linux-gnueabi/4.5.4/include/g++-v4/exception:65:13: error: overriding 'virtual std::exception::~exception() throw ()' make: **\* [OMXPlayerSubtitles.o] Error 1
I have not modified the Makefile at all and here is my modified Makefile.include
USE_BUILDROOT=0 FLOAT=hard
ifeq ($(USE_BUILDROOT), 1)
BUILDROOT :=/opt/xbmc-bcm/buildroot
SDKSTAGE :=$(BUILDROOT)/output/staging
TARGETFS :=$(BUILDROOT)/output/target
TOOLCHAIN :=$(BUILDROOT)/output/host/usr/
HOST :=arm-unknown-linux-gnueabi
SYSROOT :=$(BUILDROOT)/output/host/usr/arm-unknown-linux-gnueabi/sysroot
else
BUILDROOT :=/var/tmp/
SDKSTAGE :=/var/tmp/
TARGETFS :=/var/tmp/
TOOLCHAIN :=/usr
HOST :=bcm2708
SYSROOT :=$(TOOLCHAIN)/arm-bcm2708-linux-gnueabi/sys-root
endif
JOBS=7
CFLAGS := -isystem$(PREFIX)/include
CXXFLAGS := $(CFLAGS)
CPPFLAGS := $(CFLAGS)
LDFLAGS := -L$(BUILDROOT)/lib
LD := $(TOOLCHAIN)/bin/ld --sysroot=$(SYSROOT)
CC := $(TOOLCHAIN)/bin/g++ --sysroot=$(SYSROOT)
CXX := $(TOOLCHAIN)/bin/g++ --sysroot=$(SYSROOT)
OBJDUMP := $(TOOLCHAIN)/bin/objdump
RANLIB := $(TOOLCHAIN)/bin/ranlib
STRIP := $(TOOLCHAIN)/bin/strip
AR := $(TOOLCHAIN)/bin/ar
CXXCP := $(CXX) -E
PATH := $(PREFIX)/bin:$(BUILDROOT)/output/host/usr/bin:$(PATH)
CFLAGS += -pipe -mfloat-abi=$(FLOAT) -mcpu=arm1176jzf-s -fomit-frame-pointer -mabi=aapcs-linux -mtune=arm1176jzf-s -mfpu=vfp -Wno-psabi -mno-apcs-stack-check -O3 -mstructure-size-boundary=32 -mno-sched-prolog
LDFLAGS += -L$(SDKSTAGE)/lib -L$(SDKSTAGE)/usr/lib -L$(SDKSTAGE)/opt/vc/lib/
INCLUDES += -isystem$(SDKSTAGE)/usr/include -isystem$(SDKSTAGE)/opt/vc/include -isystem$(SYSROOT)/usr/include -isystem$(SDKSTAGE)/opt/vc/include/interface/vcos/pthreads -isystem$(SDKSTAGE)/usr/include/freetype2 -isystem/usr/include -isystem/opt/vc/include -isystem/opt/vc/include/interface/vcos/pthreads/ -isystem/usr/include/freetype2/
Any help would be appreciated. I updated my GIT repository last night and did a rpi-update to ensure the latest firmware.
Thanks,
Sean
The text was updated successfully, but these errors were encountered: