Truble when compiling Qbittorrent for OpenWRT (fatal error: gnu/stubs.h)

Linux specific questions, problems.
Post Reply
Deema
Newbie
Newbie
Posts: 6
Joined: Mon Dec 28, 2020 10:11 pm

Truble when compiling Qbittorrent for OpenWRT (fatal error: gnu/stubs.h)

Post by Deema »

Hi if I compile OpenWRT with this make files:
Gbittorrent make file:

Code: Select all

include $(TOPDIR)/rules.mk

PKG_NAME:=qBittorrent
PKG_VERSION:=4.3.1
PKG_RELEASE=0

PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/qbittorrent/qBittorrent.git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=587688634561b17229a6f5951478cbdd5ae0c128
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz

PKG_MAINTAINER:=Krypton Lee <[email protected]>
PKG_LICENSE:=GPL-2.0+
PKG_LICENSE_FILES:=COPYING

PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
PKG_USE_MIPS16:=0

include $(INCLUDE_DIR)/package.mk

define Package/qBittorrent
  SUBMENU:=BitTorrent
  SECTION:=net
  CATEGORY:=Network
  TITLE:=BitTorrent Client Programmed in C++ / Qt
  URL:=https://www.qbittorrent.org/
  DEPENDS:=+libQt5Core +libQt5Network +libQt5Xml +rblibtorrent
endef

define Package/qBittorrent/description
qBittorrent is a bittorrent client programmed in C++ / Qt that uses 
libtorrent (sometimes called libtorrent-rasterbar) by Arvid Norberg.
It aims to be a good alternative to all other bittorrent clients out 
there. qBittorrent is fast, stable and provides unicode support as 
well as many features.
endef

CONFIGURE_VARS += \
	QT_QMAKE=$(STAGING_DIR_HOSTPKG)/bin \
	QMAKE_LRELEASE=$(STAGING_DIR_HOSTPKG)/bin/lrelease \
	PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig

CONFIGURE_ARGS += \
	--disable-gui \
	--with-boost=$(STAGING_DIR)/usr

MAKE_VARS += \
	INSTALL_ROOT=$(PKG_INSTALL_DIR)

define Package/qBittorrent/install
	$(INSTALL_DIR) $(1)/usr/man/man1
	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/man/man1/qbittorrent-nox.1 $(1)/usr/man/man1/qbittorrent-nox.1
	$(INSTALL_DIR) $(1)/usr/bin
	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/qbittorrent-nox $(1)/usr/bin
endef

$(eval $(call BuildPackage,qBittorrent))
libtorrent-rasterbar make file:

Code: Select all

include $(TOPDIR)/rules.mk

PKG_NAME:=rblibtorrent
PKG_VERSION:=1.2.11
PKG_RELEASE=0

PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/arvidn/libtorrent.git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=471e772cb7038f1bf5f44c32a09eb42fbb80ee99
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz

PKG_MAINTAINER:=Krypton Lee <[email protected]>
PKG_LICENSE:=BSD
PKG_LICENSE_FILES:=COPYING

PKG_BUILD_PARALLEL:=1
PKG_USE_MIPS16:=0
PKG_INSTALL:=1

include $(INCLUDE_DIR)/package.mk

define Package/rblibtorrent
  SECTION:=libs
  CATEGORY:=Libraries
  TITLE:=Rasterbar BitTorrent Library
  URL:=https://www.libtorrent.org/
  DEPENDS:=+boost +boost-system +boost-chrono +boost-random +libopenssl +libstdcpp
  MAINTAINER:=Arvid Norberg <[email protected]>
endef

define Package/rblibtorrent/description
Rasterbar libtorrent is a C++ library that aims to be a good alternative to
all the other bittorrent implementations around. It is a library and not a
full featured client, although it comes with a working example client.
endef

TARGET_CFLAGS += $(if $(CONFIG_SOFT_FLOAT),-DBOOST_NO_FENV_H) -fPIC

EXTRA_CXXFLAGS += $(if $(CONFIG_GCC_VERSION_4_8),-std=gnu++11,-std=gnu++14)

TARGET_LDFLAGS += -lstdc++

CONFIGURE_ARGS += \
	--enable-shared \
	--enable-static \
	--disable-debug \
	--enable-encryption \
	--with-boost=$(STAGING_DIR)/usr

define Build/Configure
	cd $(PKG_BUILD_DIR) ; \
		sh autotool.sh
	$(call Build/Configure/Default)
endef

define Build/InstallDev
	$(INSTALL_DIR) $(1)/usr/include
	$(CP) $(PKG_INSTALL_DIR)/usr/include/libtorrent $(1)/usr/include/
	$(INSTALL_DIR) $(1)/usr/lib
	$(CP) $(PKG_INSTALL_DIR)/usr/lib/libtorrent-rasterbar.{a,so*} $(1)/usr/lib/
	$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
	$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libtorrent-rasterbar.pc $(1)/usr/lib/pkgconfig/
endef

define Package/rblibtorrent/install
	$(INSTALL_DIR) $(1)/usr/lib
	$(CP) $(PKG_INSTALL_DIR)/usr/lib/libtorrent-rasterbar.so* $(1)/usr/lib/
endef

$(eval $(call BuildPackage,rblibtorrent))
All compile qood

But if I want compile libtorrent-rasterbar 2.0 and use thise make file:

Code: Select all

include $(TOPDIR)/rules.mk

PKG_NAME:=libtorrent-rasterbar
PKG_VERSION:=2.0.1
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/arvidn/libtorrent/tar.gz/v$(PKG_VERSION)?
PKG_HASH:=cf906167e0b332681f6304a9bb740404a53bb0efed39897e1d2bd0f6f0d9e9cd

PKG_MAINTAINER:=David Yang <[email protected]>
PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=COPYING

PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1

include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk

define Package/libtorrent-rasterbar/Default
	TITLE:=Rasterbar BitTorrent library
	URL:=https://libtorrent.org/
endef

define Package/libtorrent-rasterbar
	$(call Package/libtorrent-rasterbar/Default)
	SECTION:=libs
	CATEGORY:=Libraries
	DEPENDS:=+boost-system +libopenssl
endef

#define Package/python3-libtorrent
#	$(call Package/libtorrent-rasterbar/Default)
#	SECTION:=lang
#	CATEGORY:=Languages
#	SUBMENU:=Python
#	TITLE+= (Python 3)
#	DEPENDS:=+libtorrent-rasterbar +boost-python
#endef

define Package/libtorrent-rasterbar/description
	Rasterbar libtorrent is a C++ library that aims to be a good alternative to
	all the other bittorrent implementations around.
endef

#define Package/python3-libtorrent/description
#	$(call Package/libtorrent-rasterbar/description)
#	This package contains Python 3 bindings for the libtorrent-rasterbar library.
#endef

define Download/try_signal
	VERSION:=2a99893f92b29a5948569cba1e16fd259dbc2016
	SUBDIR:=deps/try_signal
	FILE:=$(PKG_NAME)-try_signal-$$(VERSION).tar.xz
	URL:=https://github.com/arvidn/try_signal.git
	MIRROR_HASH:=4dee408897de3475e6f7eca9c4e4617c3e746351d01cec3cccac38b9b4d38302
	PROTO:=git
endef
$(eval $(call Download,try_signal))

PKG_UNPACK:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE)

define Build/Prepare
	$(Build/Prepare/Default)
	$(eval $(Download/try_signal))
	xzcat $(DL_DIR)/$(FILE) | tar -C $(PKG_BUILD_DIR) $(TAR_OPTIONS)
endef

#CMAKE_OPTIONS += \
#	-Dpython-bindings=ON \
#	-Dpython-egg-info=ON

define Build/InstallDev
	$(INSTALL_DIR) $(1)/usr/include
	$(CP) $(PKG_INSTALL_DIR)/usr/include/libtorrent $(1)/usr/include/
	$(INSTALL_DIR) $(1)/usr/lib
	$(CP) $(PKG_INSTALL_DIR)/usr/lib/libtorrent-rasterbar.so* $(1)/usr/lib/
	$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
	$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libtorrent-rasterbar.pc $(1)/usr/lib/pkgconfig/
endef

define Package/libtorrent-rasterbar/install
	$(INSTALL_DIR) $(1)/usr/lib
	$(CP) $(PKG_INSTALL_DIR)/usr/lib/libtorrent-rasterbar.so.* $(1)/usr/lib/
endef

#define Package/python3-libtorrent/install
#	$(INSTALL_DIR) $(1)/usr/lib/python2.7/site-packages
#	$(CP) $(PKG_INSTALL_DIR)/usr/lib/python2.7/site-packages/*.so* $(1)/usr/lib/python2.7/site-packages/
#endef

$(eval $(call BuildPackage,libtorrent-rasterbar))
I have got error:

Code: Select all

aarch64-openwrt-linux-musl-g++ -c -pipe -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/osboxes/openwrt/build_dir/target-aarch64_cortex-a53_musl/qBittorrent-4.3.1=qBittorrent-4.3.1 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fexceptions -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/osboxes/openwrt/build_dir/target-aarch64_cortex-a53_musl/qBittorrent-4.3.1=qBittorrent-4.3.1 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -Wall -Wextra -Wpedantic -Wformat-security -O2 -D_REENTRANT -Wall -Wextra -fPIC -D_FORTIFY_SOURCE=1 -DTORRENT_LINKING_SHARED -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_NO_DEPRECATED -DTORRENT_USE_OPENSSL -DTORRENT_USE_LIBCRYPTO -DTORRENT_SSL_PEERS -DOPENSSL_NO_SSL2 -D_FORTIFY_SOURCE=1 -DDISABLE_GUI -DQT_NO_DEBUG_OUTPUT -DQBT_VERSION_MAJOR=4 -DQBT_VERSION_MINOR=3 -DQBT_VERSION_BUGFIX=1 -DQBT_VERSION_BUILD=0 -DQBT_VERSION=\"v4.3.1\" -DQBT_VERSION_2=\"4.3.1\" -DQT_DEPRECATED_WARNINGS -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_USE_QSTRINGBUILDER -DQT_STRICT_ITERATORS -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include -I. -Iapp -I../../qt-everywhere-src-5.14.2/ipkg-install/usr/include -I../../qt-everywhere-src-5.14.2/ipkg-install/usr/include/QtNetwork -I../../qt-everywhere-src-5.14.2/ipkg-install/usr/include/QtXml -I../../qt-everywhere-src-5.14.2/ipkg-install/usr/include/QtCore -I. -I../../../../staging_dir/hostpkg/mkspecs/linux-openwrt-g++ -o application.o app/application.cpp
In file included from /usr/include/assert.h:35,
                 from ../../qt-everywhere-src-5.14.2/ipkg-install/usr/include/QtCore/qglobal.h:50,
                 from ../../qt-everywhere-src-5.14.2/ipkg-install/usr/include/QtCore/qsharedpointer.h:43,
                 from ../../qt-everywhere-src-5.14.2/ipkg-install/usr/include/QtCore/qpointer.h:43,
                 from ../../qt-everywhere-src-5.14.2/ipkg-install/usr/include/QtCore/QPointer:1,
                 from app/application.h:32,
                 from app/application.cpp:30:
/usr/include/features.h:388:10: fatal error: gnu/stubs.h: No such file or directory
 #include <gnu/stubs.h>
          ^~~~~~~~~~~~~
compilation terminated.
Makefile:6131: recipe for target 'application.o' failed
make[5]: *** [application.o] Error 1
make[5]: Leaving directory '/home/osboxes/openwrt/build_dir/target-aarch64_cortex-a53_musl/qBittorrent-4.3.1/src'
Makefile:46: recipe for target 'sub-src-make_first' failed
make[4]: *** [sub-src-make_first] Error 2
make[4]: Leaving directory '/home/osboxes/openwrt/build_dir/target-aarch64_cortex-a53_musl/qBittorrent-4.3.1'
Makefile:66: recipe for target '/home/osboxes/openwrt/build_dir/target-aarch64_cortex-a53_musl/qBittorrent-4.3.1/.built' failed
make[3]: *** [/home/osboxes/openwrt/build_dir/target-aarch64_cortex-a53_musl/qBittorrent-4.3.1/.built] Error 2
make[3]: Leaving directory '/home/osboxes/openwrt/package/qbittorrent/qBittorrent'
time: package/qbittorrent/qBittorrent/compile#30.91#19.86#396.69
    ERROR: package/qbittorrent/qBittorrent failed to build.
package/Makefile:112: recipe for target 'package/qbittorrent/qBittorrent/compile' failed
make[2]: *** [package/qbittorrent/qBittorrent/compile] Error 1
make[2]: Leaving directory '/home/osboxes/openwrt'
package/Makefile:108: recipe for target '/home/osboxes/openwrt/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile' failed
make[1]: *** [/home/osboxes/openwrt/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/osboxes/openwrt'
/home/osboxes/openwrt/include/toplevel.mk:240: recipe for target 'world' failed
make: *** [world] Error 2
/usr/include/features.h:388:10: fatal error: gnu/stubs.h: No such file or directory
Deema
Newbie
Newbie
Posts: 6
Joined: Mon Dec 28, 2020 10:11 pm

Re: Truble when compiling Qbittorrent for OpenWRT (fatal error: gnu/stubs.h)

Post by Deema »

I use QT:5.14.2 in thise time But I try QT:5.15.2 it has same result.
User avatar
Peter
Administrator
Administrator
Posts: 1950
Joined: Wed Jul 07, 2010 6:14 pm

Re: Truble when compiling Qbittorrent for OpenWRT (fatal error: gnu/stubs.h)

Post by Peter »

Wait, hol' up. Are you planning to run qBittorrent on a router or anything similar?
Keep in mind, qBittorrent is NOT a lightweight or "thin" software by any means. Most routers have barely 128-256mb of memory. I'd heavily recommend using a bare rtorrent , maybe rutorrent if the router you use packs enough power. But qBittorrent? No no no.

To answer your question in general, I think you should be using an older libtorrent-rasterbar.
I'd simply go to let's say, Debian's site and check the package:
https://packages.debian.org/buster/qbittorrent

And you can see, that they, for that version, used a way older -rasterbar libtorrent.
Deema
Newbie
Newbie
Posts: 6
Joined: Mon Dec 28, 2020 10:11 pm

Re: Truble when compiling Qbittorrent for OpenWRT (fatal error: gnu/stubs.h)

Post by Deema »

I use Banana PI R64 It has 1 gigabyte mmemory.

Yes Qbittorrent compiles with libtorrent-rasterbar 1.x. But why It cannot compile with libtorrent-rasterbar 2.x?
User avatar
Peter
Administrator
Administrator
Posts: 1950
Joined: Wed Jul 07, 2010 6:14 pm

Re: Truble when compiling Qbittorrent for OpenWRT (fatal error: gnu/stubs.h)

Post by Peter »

Well I was on the wrong track it seems. After actually reading your error, you are just simply missing some dev/source file to build the dep/program.
Generally speaking, you can find out more why devs pick libtorrent version x, y, z on the Github page, issue tracker, pull requests.

But in your case, you seem to simply miss "stubs.h" file.
- You can check the Debian package source from Debian repo to see what deps they used.
- You can use "apt-file" to see which file is that.
- You can always Google. (See: https://www.cyberciti.biz/faq/x86_64-li ... -solution/)

Honestly, I'd just use a statically compiled package - somehow virtualize an openwrt locally, compile a static qBittorrent and then run it. But it'll be FAT, so fat for those devices. Both size and ram usage wise.
Deema
Newbie
Newbie
Posts: 6
Joined: Mon Dec 28, 2020 10:11 pm

Re: Truble when compiling Qbittorrent for OpenWRT (fatal error: gnu/stubs.h)

Post by Deema »

Thanks for answer.
Deema
Newbie
Newbie
Posts: 6
Joined: Mon Dec 28, 2020 10:11 pm

Re: Truble when compiling Qbittorrent for OpenWRT (fatal error: gnu/stubs.h)

Post by Deema »

This is command

Code: Select all

sudo apt-get install g++-multilib libc6-dev-i386
help me overcome last error, but now I have new error:

Code: Select all

In file included from /home/osboxes/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/boost/smart_ptr/shared_ptr.hpp:17,
                 from /home/osboxes/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/boost/shared_ptr.hpp:17,
                 from /home/osboxes/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/boost/date_time/time_clock.hpp:17,
                 from /home/osboxes/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/boost/date_time/posix_time/posix_time_types.hpp:10,
                 from /home/osboxes/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/boost/asio/time_traits.hpp:23,
                 from /home/osboxes/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/boost/asio/detail/timer_queue_ptime.hpp:22,
                 from /home/osboxes/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/boost/asio/detail/deadline_timer_service.hpp:29,
                 from /home/osboxes/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/boost/asio/basic_waitable_timer.hpp:22,
                 from /home/osboxes/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/boost/asio/steady_timer.hpp:22,
                 from /home/osboxes/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/boost/asio/basic_socket_streambuf.hpp:36,
                 from /home/osboxes/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/boost/asio/basic_socket_iostream.hpp:24,
                 from /home/osboxes/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/boost/asio/ip/tcp.hpp:20,
                 from /home/osboxes/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/libtorrent/socket.hpp:56,
                 from /home/osboxes/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/libtorrent/add_torrent_params.hpp:48,
                 from ./base/bittorrent/session.h:36,
                 from app/application.cpp:65:
/home/osboxes/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/boost/smart_ptr/detail/shared_count.hpp: In instantiation of 'std::size_t boost::detail::sp_hash_pointer(T*) [with T = boost::detail::sp_counted_base; std::size_t = long unsigned int]':
/home/osboxes/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/boost/smart_ptr/detail/shared_count.hpp:528:37:   required from here
/home/osboxes/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/boost/smart_ptr/detail/shared_count.hpp:105:26: error: cast from 'boost::detail::sp_counted_base*' to 'uintptr_t' {aka 'unsigned int'} loses precision [-fpermissive]
     boost::uintptr_t v = reinterpret_cast<boost::uintptr_t>( p );
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Makefile:8239: recipe for target 'application.o' failed
make[5]: *** [application.o] Error 1
make[5]: Leaving directory '/home/osboxes/openwrt/build_dir/target-aarch64_cortex-a53_musl/qBittorrent-4.3.1/src'
Makefile:46: recipe for target 'sub-src-make_first' failed
make[4]: *** [sub-src-make_first] Error 2
make[4]: Leaving directory '/home/osboxes/openwrt/build_dir/target-aarch64_cortex-a53_musl/qBittorrent-4.3.1'
Makefile:66: recipe for target '/home/osboxes/openwrt/build_dir/target-aarch64_cortex-a53_musl/qBittorrent-4.3.1/.built' failed
make[3]: *** [/home/osboxes/openwrt/build_dir/target-aarch64_cortex-a53_musl/qBittorrent-4.3.1/.built] Error 2
make[3]: Leaving directory '/home/osboxes/openwrt/package/qbittorrent/qBittorrent'
time: package/qbittorrent/qBittorrent/compile#46.39#17.52#286.70
    ERROR: package/qbittorrent/qBittorrent failed to build.
package/Makefile:112: recipe for target 'package/qbittorrent/qBittorrent/compile' failed
make[2]: *** [package/qbittorrent/qBittorrent/compile] Error 1
make[2]: Leaving directory '/home/osboxes/openwrt'
package/Makefile:108: recipe for target '/home/osboxes/openwrt/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile' failed
make[1]: *** [/home/osboxes/openwrt/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/osboxes/openwrt'
Build failed - please re-run with -j1 to see the real error message
/home/osboxes/openwrt/include/toplevel.mk:240: recipe for target 'world' failed
make: *** [world] Error 1
Deema
Newbie
Newbie
Posts: 6
Joined: Mon Dec 28, 2020 10:11 pm

Re: Truble when compiling Qbittorrent for OpenWRT (fatal error: gnu/stubs.h)

Post by Deema »

This some error from listing:

Code: Select all

In file included from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qlist.h:60,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qhash.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qshareddata.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qsharedpointer.h:45,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qpointer.h:43,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/QPointer:1,
                 from app/application.h:32,
                 from app/application.cpp:30:
/usr/include/limits.h:123:3: warning: #include_next is a GCC extension
 # include_next <limits.h>
   ^~~~~~~~~~~~
In file included from /usr/include/bits/local_lim.h:38,
                 from /usr/include/bits/posix1_lim.h:160,
                 from /usr/include/limits.h:143,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qlist.h:60,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qhash.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qshareddata.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qsharedpointer.h:45,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qpointer.h:43,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/QPointer:1,
                 from app/application.h:32,
                 from app/application.cpp:30:
/usr/include/linux/limits.h:6: warning: "NGROUPS_MAX" redefined
 #define NGROUPS_MAX    65536 /* supplemental group IDs are available */
 
In file included from /usr/include/limits.h:123,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qlist.h:60,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qhash.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qshareddata.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qsharedpointer.h:45,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qpointer.h:43,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/QPointer:1,
                 from app/application.h:32,
                 from app/application.cpp:30:
/home/osboxes/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/limits.h:46: note: this is the location of the previous definition
 #define NGROUPS_MAX 32
 
In file included from /usr/include/bits/posix1_lim.h:160,
                 from /usr/include/limits.h:143,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qlist.h:60,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qhash.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qshareddata.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qsharedpointer.h:45,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qpointer.h:43,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/QPointer:1,
                 from app/application.h:32,
                 from app/application.cpp:30:
/usr/include/bits/local_lim.h:64: warning: "PTHREAD_KEYS_MAX" redefined
 #define PTHREAD_KEYS_MAX 1024
 
In file included from /usr/include/limits.h:123,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qlist.h:60,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qhash.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qshareddata.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qsharedpointer.h:45,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qpointer.h:43,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/QPointer:1,
                 from app/application.h:32,
                 from app/application.cpp:30:
/home/osboxes/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/limits.h:58: note: this is the location of the previous definition
 #define PTHREAD_KEYS_MAX 128
 
In file included from /usr/include/bits/posix1_lim.h:160,
                 from /usr/include/limits.h:143,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qlist.h:60,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qhash.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qshareddata.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qsharedpointer.h:45,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qpointer.h:43,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/QPointer:1,
                 from app/application.h:32,
                 from app/application.cpp:30:
/usr/include/bits/local_lim.h:69: warning: "PTHREAD_DESTRUCTOR_ITERATIONS" redefined
 #define PTHREAD_DESTRUCTOR_ITERATIONS _POSIX_THREAD_DESTRUCTOR_ITERATIONS
 
In file included from /usr/include/limits.h:123,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qlist.h:60,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qhash.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qshareddata.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qsharedpointer.h:45,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qpointer.h:43,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/QPointer:1,
                 from app/application.h:32,
                 from app/application.cpp:30:
/home/osboxes/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/limits.h:60: note: this is the location of the previous definition
 #define PTHREAD_DESTRUCTOR_ITERATIONS 4
 
In file included from /usr/include/bits/posix1_lim.h:160,
                 from /usr/include/limits.h:143,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qlist.h:60,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qhash.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qshareddata.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qsharedpointer.h:45,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qpointer.h:43,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/QPointer:1,
                 from app/application.h:32,
                 from app/application.cpp:30:
/usr/include/bits/local_lim.h:81: warning: "PTHREAD_STACK_MIN" redefined
 #define PTHREAD_STACK_MIN 16384
 
In file included from /usr/include/limits.h:123,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qlist.h:60,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qhash.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qshareddata.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qsharedpointer.h:45,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qpointer.h:43,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/QPointer:1,
                 from app/application.h:32,
                 from app/application.cpp:30:
/home/osboxes/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/limits.h:59: note: this is the location of the previous definition
 #define PTHREAD_STACK_MIN 2048
 
In file included from /usr/include/bits/posix1_lim.h:160,
                 from /usr/include/limits.h:143,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qlist.h:60,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qhash.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qshareddata.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qsharedpointer.h:45,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qpointer.h:43,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/QPointer:1,
                 from app/application.h:32,
                 from app/application.cpp:30:
/usr/include/bits/local_lim.h:84: warning: "DELAYTIMER_MAX" redefined
 #define DELAYTIMER_MAX 2147483647
 
In file included from /usr/include/limits.h:123,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qlist.h:60,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qhash.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qshareddata.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qsharedpointer.h:45,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qpointer.h:43,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/QPointer:1,
                 from app/application.h:32,
                 from app/application.cpp:30:
/home/osboxes/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/limits.h:63: note: this is the location of the previous definition
 #define DELAYTIMER_MAX 0x7fffffff
 
In file included from /usr/include/bits/posix1_lim.h:160,
                 from /usr/include/limits.h:143,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qlist.h:60,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qhash.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qshareddata.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qsharedpointer.h:45,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qpointer.h:43,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/QPointer:1,
                 from app/application.h:32,
                 from app/application.cpp:30:
/usr/include/bits/local_lim.h:93: warning: "HOST_NAME_MAX" redefined
 #define HOST_NAME_MAX  64
 
In file included from /usr/include/limits.h:123,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qlist.h:60,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qhash.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qshareddata.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qsharedpointer.h:45,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qpointer.h:43,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/QPointer:1,
                 from app/application.h:32,
                 from app/application.cpp:30:
/home/osboxes/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/limits.h:54: note: this is the location of the previous definition
 #define HOST_NAME_MAX 255
 
In file included from /usr/include/bits/posix1_lim.h:160,
                 from /usr/include/limits.h:143,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qlist.h:60,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qhash.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qshareddata.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qsharedpointer.h:45,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qpointer.h:43,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/QPointer:1,
                 from app/application.h:32,
                 from app/application.cpp:30:
/usr/include/bits/local_lim.h:99: warning: "SEM_VALUE_MAX" redefined
 #define SEM_VALUE_MAX   (2147483647)
 
In file included from /usr/include/limits.h:123,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qlist.h:60,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qhash.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qshareddata.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qsharedpointer.h:45,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qpointer.h:43,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/QPointer:1,
                 from app/application.h:32,
                 from app/application.cpp:30:
/home/osboxes/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/limits.h:61: note: this is the location of the previous definition
 #define SEM_VALUE_MAX 0x7fffffff
 
In file included from /usr/include/limits.h:147,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qlist.h:60,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qhash.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qshareddata.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qsharedpointer.h:45,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qpointer.h:43,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/QPointer:1,
                 from app/application.h:32,
                 from app/application.cpp:30:
/usr/include/bits/posix2_lim.h:88: warning: "RE_DUP_MAX" redefined
 #define RE_DUP_MAX (0x7fff)
 
In file included from /usr/include/limits.h:123,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qlist.h:60,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qhash.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qshareddata.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qsharedpointer.h:45,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qpointer.h:43,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/QPointer:1,
                 from app/application.h:32,
                 from app/application.cpp:30:
/home/osboxes/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/limits.h:77: note: this is the location of the previous definition
 #define RE_DUP_MAX 255
 
In file included from /usr/include/limits.h:151,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qlist.h:60,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qhash.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qshareddata.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qsharedpointer.h:45,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qpointer.h:43,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/QPointer:1,
                 from app/application.h:32,
                 from app/application.cpp:30:
/usr/include/bits/xopen_lim.h:65: warning: "_XOPEN_IOV_MAX" redefined
 #define _XOPEN_IOV_MAX _POSIX_UIO_MAXIOV
 
In file included from /usr/include/limits.h:123,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qlist.h:60,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qhash.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qshareddata.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qsharedpointer.h:45,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qpointer.h:43,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/QPointer:1,
                 from app/application.h:32,
                 from app/application.cpp:30:
/home/osboxes/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/limits.h:154: note: this is the location of the previous definition
 #define _XOPEN_IOV_MAX          16
 
In file included from /usr/include/limits.h:151,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qlist.h:60,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qhash.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qshareddata.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qsharedpointer.h:45,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qpointer.h:43,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/QPointer:1,
                 from app/application.h:32,
                 from app/application.cpp:30:
/usr/include/bits/xopen_lim.h:70: warning: "NL_ARGMAX" redefined
 #define NL_ARGMAX _POSIX_ARG_MAX
 
In file included from /usr/include/limits.h:123,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qlist.h:60,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qhash.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qshareddata.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qsharedpointer.h:45,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qpointer.h:43,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/QPointer:1,
                 from app/application.h:32,
                 from app/application.cpp:30:
/home/osboxes/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/limits.h:79: note: this is the location of the previous definition
 #define NL_ARGMAX 9
 
In file included from /usr/include/limits.h:151,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qlist.h:60,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qhash.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qshareddata.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qsharedpointer.h:45,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qpointer.h:43,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/QPointer:1,
                 from app/application.h:32,
                 from app/application.cpp:30:
/usr/include/bits/xopen_lim.h:73: warning: "NL_LANGMAX" redefined
 #define NL_LANGMAX _POSIX2_LINE_MAX
 
In file included from /usr/include/limits.h:123,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qlist.h:60,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qhash.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qshareddata.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qsharedpointer.h:45,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qpointer.h:43,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/QPointer:1,
                 from app/application.h:32,
                 from app/application.cpp:30:
/home/osboxes/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/limits.h:92: note: this is the location of the previous definition
 #define NL_LANGMAX 32
 
In file included from /usr/include/limits.h:151,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qlist.h:60,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qhash.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qshareddata.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qsharedpointer.h:45,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qpointer.h:43,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/QPointer:1,
                 from app/application.h:32,
                 from app/application.cpp:30:
/usr/include/bits/xopen_lim.h:76: warning: "NL_MSGMAX" redefined
 #define NL_MSGMAX INT_MAX
 
In file included from /usr/include/limits.h:123,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qlist.h:60,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qhash.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qshareddata.h:46,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qsharedpointer.h:45,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/qpointer.h:43,
                 from ../../qt-everywhere-src-5.15.2/ipkg-install/usr/include/QtCore/QPointer:1,
                 from app/application.h:32,
                 from app/application.cpp:30:
/home/osboxes/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/limits.h:80: note: this is the location of the previous definition
 #define NL_MSGMAX 32767
User avatar
Peter
Administrator
Administrator
Posts: 1950
Joined: Wed Jul 07, 2010 6:14 pm

Re: Truble when compiling Qbittorrent for OpenWRT (fatal error: gnu/stubs.h)

Post by Peter »

Hmm.

Honestly, just Google around, I'm sure there is a build or pre-built binary for this.
See: https://github.com/Lankaster/qt5-openwrt

https://github.com/pawelkn/qt5-openwrt-package
(You can see the build file, what it does differently, etc.)
Post Reply