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
Building openvg on archlinux (armv7 / rpi2) fails:
$ make /usr/bin/ld: libshapes.o: relocation R_ARM_MOVW_ABS_NC against `stdin' can not be used when making a shared object; recompile with -fPIC
To fix the issue, you have add -fPIC to INCLUDEFLAGS:
diff --git a/Makefile b/Makefile index 3976e3e..e454b92 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ -INCLUDEFLAGS=-I/opt/vc/include -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/vcos/pthreads +INCLUDEFLAGS=-I/opt/vc/include -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/vcos/pthreads -fPIC LIBFLAGS=-L/opt/vc/lib -lGLESv2 -lEGL -ljpeg -FONTLIB=/usr/share/fonts/truetype/ttf-dejavu +FONTLIB=/usr/share/fonts/TTF FONTFILES=DejaVuSans.inc DejaVuSansMono.inc DejaVuSerif.inc all: font2openvg fonts library
The text was updated successfully, but these errors were encountered:
fixed
Sorry, something went wrong.
No branches or pull requests
Building openvg on archlinux (armv7 / rpi2) fails:
$ make
/usr/bin/ld: libshapes.o: relocation R_ARM_MOVW_ABS_NC against `stdin' can not be used when making a shared object; recompile with -fPIC
To fix the issue, you have add -fPIC to INCLUDEFLAGS:
diff --git a/Makefile b/Makefile
index 3976e3e..e454b92 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
-INCLUDEFLAGS=-I/opt/vc/include -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/vcos/pthreads
+INCLUDEFLAGS=-I/opt/vc/include -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/vcos/pthreads -fPIC
LIBFLAGS=-L/opt/vc/lib -lGLESv2 -lEGL -ljpeg
-FONTLIB=/usr/share/fonts/truetype/ttf-dejavu
+FONTLIB=/usr/share/fonts/TTF
FONTFILES=DejaVuSans.inc DejaVuSansMono.inc DejaVuSerif.inc
all: font2openvg fonts library
The text was updated successfully, but these errors were encountered: