Build on OpenWRT
relationlife opened this issue · 0 comments
relationlife commented
Hi there, I'm wondering if it's possible to build this project using the OpenWRT system. I tried to build it, but it seems that the architecture doesn't support it. I would appreciate any support or suggestions.
Thank you.
root@GL-MT6000:~/aooserver/Builds/LinuxMakefile# CONFIG=Release make
make: pkg-config: No such file or directory
Compiling include_juce_core.cpp
In file included from ../../JuceLibraryCode/modules/juce_core/juce_core.cpp:70,
from ../../JuceLibraryCode/include_juce_core.cpp:9:
/usr/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include <sys/errno.h> to <errno.h> [-Wcpp]
1 | #warning redirecting incorrect #include <sys/errno.h> to <errno.h>
| ^~~~~~~
In file included from ../../JuceLibraryCode/modules/juce_core/juce_core.cpp:106:
/usr/include/execinfo.h:23:1: error: '__BEGIN_DECLS' does not name a type
23 | __BEGIN_DECLS
| ^~~~~~~~~~~~~
/usr/include/execinfo.h:33:6: error: expected initializer before '__THROW'
33 | __THROW __nonnull ((1));
| ^~~~~~~
/usr/include/execinfo.h:39:6: error: expected initializer before '__THROW'
39 | __THROW __nonnull ((1));
| ^~~~~~~
/usr/include/execinfo.h:41:1: error: '__END_DECLS' does not name a type
41 | __END_DECLS
| ^~~~~~~~~~~
In file included from ../../JuceLibraryCode/modules/juce_core/juce_core.cpp:160:
../../JuceLibraryCode/modules/juce_core/system/juce_SystemStats.cpp: In static member function 'static juce::String juce::SystemStats::getStackBacktrace()':
../../JuceLibraryCode/modules/juce_core/system/juce_SystemStats.cpp:217:19: error: 'backtrace' was not declared in this scope
217 | auto frames = backtrace (stack, numElementsInArray (stack));
| ^~~~~~~~~
../../JuceLibraryCode/modules/juce_core/system/juce_SystemStats.cpp:218:27: error: 'backtrace_symbols' was not declared in this scope
218 | char** frameStrings = backtrace_symbols (stack, frames);
| ^~~~~~~~~~~~~~~~~
In file included from ../../JuceLibraryCode/modules/juce_core/juce_core.cpp:196:
../../JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h: In function 'bool juce::{anonymous}::juce_stat(const juce::String&, juce_statStruct&)':
../../JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h:180:56: error: invalid use of incomplete type 'struct juce::{anonymous}::stat64'
180 | && JUCE_STAT (fileName.toUTF8(), &info) == 0;
| ^
../../JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h:170:36: note: forward declaration of 'struct juce::{anonymous}::stat64'
170 | using juce_statStruct = struct stat64;
| ^~~~~~
../../JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h: In function 'juce::int64 juce::{anonymous}::getCreationTime(const juce_statStruct&)':
../../JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h:201:91: error: invalid use of incomplete type 'const juce::{anonymous}::juce_statStruct' {aka 'const struct juce::{anonymous}::stat64'}
201 | tatic int64 getCreationTime (const juce_statStruct& s) noexcept { return (int64) s.st_ctime; }
| ^
../../JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h:170:36: note: forward declaration of 'using juce_statStruct = struct juce::{anonymous}::stat64' {aka 'struct juce::{anonymous}::stat64'}
170 | using juce_statStruct = struct stat64;
| ^~~~~~
../../JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h: In function 'void juce::{anonymous}::updateStatInfoForFile(const juce::String&, bool*, juce::int64*, juce::Time*, juce::Time*, bool*)':
../../JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h:209:29: error: aggregate 'juce::{anonymous}::juce_statStruct info' has incomplete type and cannot be defined
209 | juce_statStruct info;
| ^~~~
../../JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h: In member function 'bool juce::File::isDirectory() const':
../../JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h:239:21: error: aggregate 'juce::{anonymous}::juce_statStruct info' has incomplete type and cannot be defined
239 | juce_statStruct info;
| ^~~~
../../JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h: In member function 'juce::int64 juce::File::getSize() const':
../../JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h:258:21: error: aggregate 'juce::{anonymous}::juce_statStruct info' has incomplete type and cannot be defined
258 | juce_statStruct info;
| ^~~~
../../JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h: In member function 'juce::uint64 juce::File::getFileIdentifier() const':
../../JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h:264:21: error: aggregate 'juce::{anonymous}::juce_statStruct info' has incomplete type and cannot be defined
264 | juce_statStruct info;
| ^~~~
../../JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h: In function 'bool juce::setFileModeFlags(const String&, mode_t, bool)':
../../JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h:298:21: error: aggregate 'juce::{anonymous}::juce_statStruct info' has incomplete type and cannot be defined
298 | juce_statStruct info;
| ^~~~
../../JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h: In member function 'void juce::File::getFileTimesInternal(juce::int64&, juce::int64&, juce::int64&) const':
../../JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h:330:21: error: aggregate 'juce::{anonymous}::juce_statStruct info' has incomplete type and cannot be defined
330 | juce_statStruct info;
| ^~~~
../../JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h: In member function 'bool juce::File::setFileTimesInternal(juce::int64, juce::int64, juce::int64) const':
../../JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h:353:21: error: aggregate 'juce::{anonymous}::juce_statStruct info' has incomplete type and cannot be defined
353 | juce_statStruct info;
| ^~~~
In file included from ../../JuceLibraryCode/modules/juce_core/juce_core.cpp:226:
../../JuceLibraryCode/modules/juce_core/native/juce_Files_linux.cpp: In function 'bool juce::isFileExecutable(const String&)':
../../JuceLibraryCode/modules/juce_core/native/juce_Files_linux.cpp:188:21: error: aggregate 'juce::{anonymous}::juce_statStruct info' has incomplete type and cannot be defined
188 | juce_statStruct info;
| ^~~~
In file included from ../../JuceLibraryCode/modules/juce_core/juce_core.cpp:231:
../../JuceLibraryCode/modules/juce_core/native/juce_SystemStats_linux.cpp: In static member function 'static juce::String juce::SystemStats::getUserLanguage()':
../../JuceLibraryCode/modules/juce_core/native/juce_SystemStats_linux.cpp:207:28: error: '_NL_ADDRESS_LANG_AB' was not declared in this scope
207 | return getLocaleValue (_NL_ADDRESS_LANG_AB);
| ^~~~~~~~~~~~~~~~~~~
../../JuceLibraryCode/modules/juce_core/native/juce_SystemStats_linux.cpp: In static member function 'static juce::String juce::SystemStats::getUserRegion()':
../../JuceLibraryCode/modules/juce_core/native/juce_SystemStats_linux.cpp:216:28: error: '_NL_ADDRESS_COUNTRY_AB2' was not declared in this scope
216 | return getLocaleValue (_NL_ADDRESS_COUNTRY_AB2);
| ^~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:198: build/intermediate/Release/include_juce_core_f26d17db.o] Error 1