Skip to content

Commit

Permalink
libftdi1: Don’t build Python bindings
Browse files Browse the repository at this point in the history
```
[…]
Scanning dependencies of target find_all_pp
[ 87%] Building CXX object examples/CMakeFiles/find_all_pp.dir/find_all_pp.cpp.o
[ 90%] Linking CXX executable find_all_pp
[ 90%] Built target find_all_pp
[ 92%] Linking CXX executable test_libftdi1
[ 92%] Built target test_libftdi1
[ 92%] Built target doc_i
[ 95%] Swig source
/dev/shm/bee-root/libftdi1/libftdi1-1.4-0/source/src/ftdi.h:270: Warning 451: Setting a const char * variable may leak memory.
/dev/shm/bee-root/libftdi1/libftdi1-1.4-0/source/src/ftdi_i.h:131: Warning 451: Setting a const char * variable may leak memory.
Scanning dependencies of target _ftdi1
[ 97%] Building C object python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c.o
/dev/shm/bee-root/libftdi1/libftdi1-1.4-0/build/python/ftdi1PYTHON_wrap.c: In function ‘PyInit__ftdi1’:
/dev/shm/bee-root/libftdi1/libftdi1-1.4-0/build/python/ftdi1PYTHON_wrap.c:13548:21: warning: variable ‘md’ set but not used [-Wunused-but-set-variable]
   PyObject *m, *d, *md;
                     ^
[100%] Linking C shared module _ftdi1.so
/usr/bin/ld: /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib64/libpython3.3m.a(abstract.o): relocation R_X86_64_32S against `_Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib64/libpython3.3m.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
python/CMakeFiles/_ftdi1.dir/build.make:106: recipe for target 'python/_ftdi1.so' failed
make[2]: *** [python/_ftdi1.so] Error 1
CMakeFiles/Makefile2:346: recipe for target 'python/CMakeFiles/_ftdi1.dir/all' failed
make[1]: *** [python/CMakeFiles/_ftdi1.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2
```
  • Loading branch information
pmenzel committed Sep 29, 2017
1 parent 669601a commit 254da39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libftdi1.be0
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ SRCURL[0]="https://www.intra2net.com/en/developer/libftdi/download/libftdi1-${PK
# bee_patch "${@}"
#}

#mee_configure() {
# bee_configure
#}
mee_configure() {
bee_configure -DPYTHON_BINDINGS=off
}

#mee_build() {
# bee_build
Expand Down

0 comments on commit 254da39

Please sign in to comment.