Skip to content

Instantly share code, notes, and snippets.

@YamashitaRen
Created January 29, 2015 22:31
Show Gist options
  • Save YamashitaRen/524dad48b91733ee1cbc to your computer and use it in GitHub Desktop.
Save YamashitaRen/524dad48b91733ee1cbc to your computer and use it in GitHub Desktop.
Vapoursynth installation with clang
odroid@OdroidU2:/mnt/Terabox/build/vapoursynth$ make -j5
CXX src/core/libvapoursynth_la-cachefilter.lo
CC src/core/libvapoursynth_la-cpufeatures.lo
CXX src/core/libvapoursynth_la-exprfilter.lo
CC src/core/libvapoursynth_la-mergefilters.lo
CC src/core/libvapoursynth_la-lutfilters.lo
CC src/core/libvapoursynth_la-reorderfilters.lo
CXX src/core/libvapoursynth_la-settings.lo
CC src/core/libvapoursynth_la-simplefilters.lo
CXX src/core/libvapoursynth_la-textfilter.lo
src/core/exprfilter.cpp:264:44: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
stacktop = abs(stacktop);
^
src/core/exprfilter.cpp:264:44: note: use function 'std::abs' instead
stacktop = abs(stacktop);
^~~
std::abs
src/core/simplefilters.c:1636:20: warning: unused variable 'modwidth' [-Wunused-variable]
int width, modwidth;
^
src/core/simplefilters.c:1637:21: warning: unused variable 'modheight' [-Wunused-variable]
int height, modheight;
^
src/core/simplefilters.c:1642:13: warning: unused variable 'partial_lines' [-Wunused-variable]
int partial_lines;
^
src/core/cachefilter.cpp:128:21: warning: enumeration value 'caNoChange' not handled in switch [-Wswitch]
switch (recommendSize()) {
^
src/core/cachefilter.cpp:140:21: warning: enumeration value 'caGrow' not handled in switch [-Wswitch]
switch (recommendSize()) {
^
3 warnings generated.
2 warnings generated.
1 warning generated.
CXX src/core/libvapoursynth_la-vsapi.lo
CXX src/core/libvapoursynth_la-vscore.lo
CXX src/core/libvapoursynth_la-vslog.lo
CC src/core/libvapoursynth_la-vsresize.lo
src/core/vscore.cpp:119:17: warning: enumeration value 'vUnset' not handled in switch [-Wswitch]
switch (vtype) {
^
src/core/vscore.cpp:144:17: warning: enumeration value 'vUnset' not handled in switch [-Wswitch]
switch (vtype) {
^
src/core/vscore.cpp:209:17: warning: enumeration value 'vUnset' not handled in switch [-Wswitch]
switch (t) {
^
src/core/vscore.cpp:634:17: warning: enumeration value 'cmCompat' not handled in switch [-Wswitch]
switch (colorFamily) {
^
CXX src/core/libvapoursynth_la-vsthreadpool.lo
CXX src/vsscript/libvapoursynth_script_la-vsscript.lo
CC src/filters/assvapour/libassvapour_la-assvapour.lo
CC src/filters/eedi3/libeedi3_la-eedi3.lo
CC src/filters/morpho/libmorpho_la-morpho.lo
CC src/filters/morpho/libmorpho_la-morpho_filters.lo
CC src/filters/morpho/libmorpho_la-morpho_selems.lo
CXX src/filters/removegrain/libremovegrain_la-clense.lo
CXX src/filters/removegrain/libremovegrain_la-removegrainvs.lo
CXX src/filters/removegrain/libremovegrain_la-repairvs.lo
src/filters/removegrain/clense.cpp:171:22: warning: missing field 'pnode' initializer [-Wmissing-field-initializers]
ClenseData d = {0};
^
1 warning generated.
CXX src/filters/removegrain/libremovegrain_la-shared.lo
4 warnings generated.
CXX src/filters/removegrain/libremovegrain_la-verticalcleaner.lo
CC src/filters/vinverse/libvinverse_la-vinverse.lo
CC src/filters/vivtc/libvivtc_la-vivtc.lo
CYTHON src/cython/vapoursynth.c
src/filters/vivtc/vivtc.c:1217:18: warning: comparison of constant -1 with expression of type 'char' is always true [-Wtautological-constant-out-of-range-compare]
if (drop > -1) {
~~~~ ^ ~~
CXX src/vspipe/vspipe.o
CXXLD libvapoursynth-script.la
CCLD libassvapour.la
1 warning generated.
CCLD libeedi3.la
CCLD libmorpho.la
CXXLD libremovegrain.la
CCLD libvinverse.la
CCLD libvivtc.la
CXXLD vspipe
CXXLD libvapoursynth.la
CC src/cython/vapoursynth_la-vapoursynth.lo
src/cython/vapoursynth.c:4270:17: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
__pyx_t_4 = __pyx_v_self->funcs->getError(__pyx_v_outm);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/cython/vapoursynth.c:5926:96: warning: incompatible pointer types passing 'void (void *, const VSFrameRef *, int, VSNodeRef *, char *)' to parameter of type 'VSFrameDoneCallback'
(aka 'void (*)(void *, const VSFrameRef *, int, VSNodeRef *, const char *)') [-Wincompatible-pointer-types]
__pyx_v_d->node->funcs->getFrameAsync(__pyx_v_d->requested, __pyx_v_d->node->node, __pyx_f_11vapoursynth_frameDoneCallback, __pyx_v_data);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/cython/vapoursynth.c:9949:13: warning: assigning to 'char *' from 'char const[32]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
__pyx_t_3 = __pyx_v_f->name;
^ ~~~~~~~~~~~~~~~
src/cython/vapoursynth.c:16092:71: warning: incompatible pointer types passing 'void (void *, const VSFrameRef *, int, VSNodeRef *, char *)' to parameter of type 'VSFrameDoneCallback'
(aka 'void (*)(void *, const VSFrameRef *, int, VSNodeRef *, const char *)') [-Wincompatible-pointer-types]
__pyx_v_self->funcs->getFrameAsync(__pyx_t_5, __pyx_v_self->node, __pyx_f_11vapoursynth_frameDoneCallback, ((void *)__pyx_v_d));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/cython/vapoursynth.c:20490:13: warning: assigning to 'char *' from 'const char *const' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
__pyx_t_1 = __pyx_v_v->versionString;
^ ~~~~~~~~~~~~~~~~~~~~~~~~
5 warnings generated.
CCLD vapoursynth.la
odroid@OdroidU2:/mnt/Terabox/build/vapoursynth$ su
Mot de passe :
root@OdroidU2:/mnt/Terabox/build/vapoursynth# make install
make[1]: Entering directory '/mnt/Terabox/build/vapoursynth'
/bin/mkdir -p '/usr/local/lib'
/bin/bash ./libtool --mode=install /usr/bin/install -c libvapoursynth.la libvapoursynth-script.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libvapoursynth.so /usr/local/lib/libvapoursynth.so
libtool: install: /usr/bin/install -c .libs/libvapoursynth.lai /usr/local/lib/libvapoursynth.la
libtool: install: /usr/bin/install -c .libs/libvapoursynth-script.so.0.0.0 /usr/local/lib/libvapoursynth-script.so.0.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libvapoursynth-script.so.0.0.0 libvapoursynth-script.so.0 || { rm -f libvapoursynth-script.so.0 && ln -s libvapoursynth-script.so.0.0.0 libvapoursynth-script.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libvapoursynth-script.so.0.0.0 libvapoursynth-script.so || { rm -f libvapoursynth-script.so && ln -s libvapoursynth-script.so.0.0.0 libvapoursynth-script.so; }; })
libtool: install: /usr/bin/install -c .libs/libvapoursynth-script.lai /usr/local/lib/libvapoursynth-script.la
libtool: install: /usr/bin/install -c .libs/libvapoursynth.a /usr/local/lib/libvapoursynth.a
libtool: install: chmod 644 /usr/local/lib/libvapoursynth.a
libtool: install: ranlib /usr/local/lib/libvapoursynth.a
libtool: install: /usr/bin/install -c .libs/libvapoursynth-script.a /usr/local/lib/libvapoursynth-script.a
libtool: install: chmod 644 /usr/local/lib/libvapoursynth-script.a
libtool: install: ranlib /usr/local/lib/libvapoursynth-script.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/mkdir -p '/usr/local/bin'
/bin/bash ./libtool --mode=install /usr/bin/install -c vspipe '/usr/local/bin'
libtool: install: /usr/bin/install -c .libs/vspipe /usr/local/bin/vspipe
/bin/mkdir -p '/usr/local/lib/vapoursynth'
/bin/bash ./libtool --mode=install /usr/bin/install -c libassvapour.la libeedi3.la libmorpho.la libremovegrain.la libvinverse.la libvivtc.la '/usr/local/lib/vapoursynth'
libtool: install: /usr/bin/install -c .libs/libassvapour.so /usr/local/lib/vapoursynth/libassvapour.so
libtool: install: /usr/bin/install -c .libs/libassvapour.lai /usr/local/lib/vapoursynth/libassvapour.la
libtool: install: /usr/bin/install -c .libs/libeedi3.so /usr/local/lib/vapoursynth/libeedi3.so
libtool: install: /usr/bin/install -c .libs/libeedi3.lai /usr/local/lib/vapoursynth/libeedi3.la
libtool: install: /usr/bin/install -c .libs/libmorpho.so /usr/local/lib/vapoursynth/libmorpho.so
libtool: install: /usr/bin/install -c .libs/libmorpho.lai /usr/local/lib/vapoursynth/libmorpho.la
libtool: install: /usr/bin/install -c .libs/libremovegrain.so /usr/local/lib/vapoursynth/libremovegrain.so
libtool: install: /usr/bin/install -c .libs/libremovegrain.lai /usr/local/lib/vapoursynth/libremovegrain.la
libtool: install: /usr/bin/install -c .libs/libvinverse.so /usr/local/lib/vapoursynth/libvinverse.so
libtool: install: /usr/bin/install -c .libs/libvinverse.lai /usr/local/lib/vapoursynth/libvinverse.la
libtool: install: /usr/bin/install -c .libs/libvivtc.so /usr/local/lib/vapoursynth/libvivtc.so
libtool: install: /usr/bin/install -c .libs/libvivtc.lai /usr/local/lib/vapoursynth/libvivtc.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib/vapoursynth
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib/vapoursynth
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/mkdir -p '/usr/local/lib/python3.4/site-packages'
/bin/bash ./libtool --mode=install /usr/bin/install -c vapoursynth.la '/usr/local/lib/python3.4/site-packages'
libtool: install: warning: relinking `vapoursynth.la'
libtool: install: (cd /mnt/Terabox/build/vapoursynth; /bin/bash /mnt/Terabox/build/vapoursynth/libtool --silent --tag CC --tag disable-static --mode=relink clang -O3 -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -I./include -no-undefined -avoid-version -module -o vapoursynth.la -rpath /usr/local/lib/python3.4/site-packages src/cython/vapoursynth_la-vapoursynth.lo -lpython3.4m libvapoursynth.la )
libtool: install: /usr/bin/install -c .libs/vapoursynth.soT /usr/local/lib/python3.4/site-packages/vapoursynth.so
libtool: install: /usr/bin/install -c .libs/vapoursynth.lai /usr/local/lib/python3.4/site-packages/vapoursynth.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib/python3.4/site-packages
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib/python3.4/site-packages
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/mkdir -p '/usr/local/lib/pkgconfig'
/usr/bin/install -c -m 644 pc/vapoursynth.pc pc/vapoursynth-script.pc '/usr/local/lib/pkgconfig'
/bin/mkdir -p '/usr/local/include/vapoursynth'
/usr/bin/install -c -m 644 include/VapourSynth.h include/VSHelper.h include/VSScript.h '/usr/local/include/vapoursynth'
make[1]: Leaving directory '/mnt/Terabox/build/vapoursynth'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment