Skip to content

Instantly share code, notes, and snippets.

home/build/build_dir/staging_dir/hostpkg/lib -llzma -o build/lib.linux-x86_64-3.7/_lzma.cpython-37.so
/usr/bin/ld: /home/build/build_dir/staging_dir/host/lib/liblzma.a(liblzma_la-common.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /home/build/build_dir/staging_dir/host/lib/liblzma.a(liblzma_la-alone_encoder.o): relocation R_X86_64_32S against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /home/build/build_dir/staging_dir/host/lib/liblzma.a(liblzma_la-filter_encoder.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /home/build/build_dir/staging_dir/host/lib/liblzma.a(liblzma_la-stream_encoder.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /home/build/build_dir/staging_dir/host/lib/liblzma.a(liblzma_la-alone_decoder.o): relocation R_X86_
--- a/src/photo-meta-reader-vips.c
+++ b/src/photo-meta-reader-vips.c
@@ -21,6 +21,7 @@
*/
#include <vips/vips.h>
+#include <vips/vips7compat.h>
#include <config.h>
#include <errno.h>
#include <math.h>
Jan 22 23:20:42 mangix-pc kernel: usb 1-14: new high-speed USB device number 6 using xhci_hcd
Jan 22 23:20:42 mangix-pc kernel: usb 1-14: New USB device found, idVendor=0e8d, idProduct=7612, bcdDevice= 1.00
Jan 22 23:20:42 mangix-pc kernel: usb 1-14: New USB device strings: Mfr=2, Product=3, SerialNumber=4
Jan 22 23:20:42 mangix-pc kernel: usb 1-14: Product: Wireless
Jan 22 23:20:42 mangix-pc kernel: usb 1-14: Manufacturer: MediaTek Inc.
Jan 22 23:20:42 mangix-pc kernel: usb 1-14: SerialNumber: 000000000
Jan 22 23:20:42 mangix-pc mtp-probe[1740]: checking bus 1, device 6: "/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-14"
Jan 22 23:20:42 mangix-pc mtp-probe[1740]: bus: 1, device: 6 was not an MTP device
Jan 22 23:20:43 mangix-pc kernel: usb 1-14: reset high-speed USB device number 6 using xhci_hcd
Jan 22 23:20:43 mangix-pc kernel: mt76x2u 1-14:1.0: ASIC revision: 76120044
make[3]: Entering directory '/home/mangix/devstuff/openwrt/feeds/packages/net/tinyssh'
touch /home/mangix/devstuff/openwrt/build_dir/target-mipsel_24kc_musl/tinyssh-20190101/.prepared_0956b8acbf4c049ccf832e5ed6b5dc7c_6664517399ebbbc92a37c5bb081b5c53_check
. /home/mangix/devstuff/openwrt/include/shell.sh; gzip -dc /home/mangix/devstuff/openwrt/dl/tinyssh-20190101.tar.gz | tar -C /home/mangix/devstuff/openwrt/build_dir/target-mipsel_24kc_musl/tinyssh-20190101/.. -xf -
[ ! -d ./src/ ] || cp -fpR ./src/. /home/mangix/devstuff/openwrt/build_dir/target-mipsel_24kc_musl/tinyssh-20190101
Applying ./patches/010-mangix.patch using plaintext:
patching file crypto/cleanup.c
touch /home/mangix/devstuff/openwrt/build_dir/target-mipsel_24kc_musl/tinyssh-20190101/.prepared_0956b8acbf4c049ccf832e5ed6b5dc7c_6664517399ebbbc92a37c5bb081b5c53
rm -f /home/mangix/devstuff/openwrt/build_dir/target-mipsel_24kc_musl/tinyssh-20190101/.configured_*
rm -f /home/mangix/devstuff/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.tinyssh
diff --git a/src/storage/MemoryBundleStorage.cpp b/src/storage/MemoryBundleStorage.cpp
index bc6029c..5023778 100644
--- a/src/storage/MemoryBundleStorage.cpp
+++ b/src/storage/MemoryBundleStorage.cpp
@@ -217,7 +217,7 @@ namespace dtn
ibrcommon::MutexLock l(_bundleslock);
// search for the bundle in the bundle list
- const bundle_list::const_iterator iter = find(_bundles.begin(), _bundles.end(), id);
+ const bundle_list::iterator iter = find(_bundles.begin(), _bundles.end(), id);
diff --git a/ibrdtn/data/Bundle.cpp b/ibrdtn/data/Bundle.cpp
index f515860..f000f3f 100644
--- a/ibrdtn/data/Bundle.cpp
+++ b/ibrdtn/data/Bundle.cpp
@@ -71,11 +71,23 @@ namespace dtn
return other == (const PrimaryBlock&)(*this);
}
+ bool Bundle::operator!=(const BundleID& other) const
+ {
libi2pd/Crypto.cpp: In function 'bool i2p::crypto::AEADChaCha20Poly1305(const uint8_t*, size_t, const uint8_t*, size_t, const uint8_t*, const uint8_t*, uint8_t*, size_t, bool)':
libi2pd/Crypto.cpp:1153:28: error: 'EVP_chacha20_poly1305' was not declared in this scope
EVP_EncryptInit_ex(ctx, EVP_chacha20_poly1305(), 0, 0, 0);
^~~~~~~~~~~~~~~~~~~~~
libi2pd/Crypto.cpp:1153:28: note: suggested alternative: 'LN_chacha20_poly1305'
EVP_EncryptInit_ex(ctx, EVP_chacha20_poly1305(), 0, 0, 0);
^~~~~~~~~~~~~~~~~~~~~
LN_chacha20_poly1305
libi2pd/Crypto.cpp:1163:28: error: 'EVP_chacha20_poly1305' was not declared in this scope
EVP_DecryptInit_ex(ctx, EVP_chacha20_poly1305(), 0, 0, 0);
libi2pd/Gost.cpp: In constructor 'i2p::crypto::GOSTR3410Curve::GOSTR3410Curve(BIGNUM*, BIGNUM*, BIGNUM*, BIGNUM*, BIGNUM*, BIGNUM*)':
libi2pd/Gost.cpp:17:14: error: 'BN_num_bytes' was not declared in this scope
m_KeyLen = BN_num_bytes (p);
^~~~~~~~~~~~
libi2pd/Gost.cpp:18:18: error: 'BN_CTX_new' was not declared in this scope
BN_CTX * ctx = BN_CTX_new ();
^~~~~~~~~~
libi2pd/Gost.cpp:18:18: note: suggested alternative: 'ASN1_SCTX_new'
BN_CTX * ctx = BN_CTX_new ();
^~~~~~~~~~
[100%] Linking CXX executable v4l2rtspserver-0.1.1
/home/mangix/devstuff/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-7.3.0_musl/lib/gcc/mipsel-openwrt-linux-musl/7.3.0/../../../../mipsel-openwrt-linux-musl/bin/ld: libv4l2wrapper.a(V4l2Device.o): in function `V4l2Device::checkCapabilities(int, unsigned int)':
V4l2Device.cpp:(.text+0x1cc): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <char, std::char_traits<char>, std::allocator<char> >(std::basic_ostream<char, std::char_traits<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/mangix/devstuff/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-7.3.0_musl/lib/gcc/mipsel-openwrt-linux-musl/7.3.0/../../../../mipsel-openwrt-linux-musl/bin/ld: V4l2Device.cpp:(.text+0x322): undefined reference to `std::ostream& std::ostream::_M_insert<unsigned long>(unsigned long)'
/home/mangix/devstuff/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-7.3.0_musl/lib/gcc/mipsel-openwrt-linux-
--- a/net/aircrack-ng/Makefile
+++ b/net/aircrack-ng/Makefile
@@ -33,6 +33,7 @@ PKG_CONFIG_DEPENDS:= \
CONFIG_AIRCRACK_NG_HWLOC \
CONFIG_AIRCRACK_NG_SQLITE3
+include $(INCLUDE_DIR)/uclibc++.mk
include $(INCLUDE_DIR)/package.mk
define Package/aircrack-ng