Approved: Fortect
Sometimes your system may display a message stating that eleven were not found. There can be several reasons for this problem.
I’m thinking of creating a simple hello ELF
arena for my Xiaomi Router 3g
and cmake
. This
Linux is running OpenWrt 4.14.95 # 0 SMP Wednesday, Jan 30, 12:21:02 pm 2019 with GNU / Linux
The idea is to use $ (PKG_BUILD_DIR)
because of the directory for third party compilation (which is usually done with mkdir developer; cd build; cmake .. )
The installation completed successfully and when I run the installation on my router and run it, it fails:
root @ OpenWrt: ~ # chw/ usr / bin / chw: line 1: ELF: may not be found/ usr / bin / chw: Line 2: Syntax error: unpredictable "("
- comment out the line
include $ (INCLUDE_DIR) /cmake.mk
, - Uncomment our
$ (CP) ...
line underDefine Build / Prepare
- Remove the
Define Build / Compile
section
#include int main () printf ("Hello everyone!"); Returns 0;
cmmake_minimum_required (VERSION 2.6)Project (chw)add_executable (chw main.c)install (ZIELE chw DESTINATION / usr / bin)
include $ (TOPDIR) /rules.mkPKG_NAME: = chwPKG_VERSION: = 0.1PKG_RELEASE: = 1PKG_MAINTAINER: = John Doe PKG_LICENSE: =CC0-1.0contains $ (INCLUDE_DIR) /package.mkcontains $ (INCLUDE_DIR) /cmake.mkPackage / chw. define SECTION: = utilities CATEGORY: = Utilities TITLE: = Hello app Global URL: = https: //www.example.comEndefDefine package / chw / description Hello world appEndefDefine assembly / preparation mkdir -p $ (PKG_BUILD_DIR) # $ (cp) ./ src / main.c, Makefile $ (PKG_BUILD_DIR) /EndefDefine build / setup cmake -B -S $ (package_dir) ./srcEndefDefine assembly / compilation $ (Call Build / Compile / Default, -C $ (PKG_BUILD_DIR))EndefDefine the package / chw / install $ (INSTALL_DIR) $ (1) / usr / bin $ (INSTALL_BIN) $ (1) / usr / bin /Endef$ (eval $ (pkg_build_dir) / chw $ (call BuildPackage, chw))
I have an "ELF: not found" condition on a Raspberry Pi 3B +
Docker Logs -fattermostdocker_app_1
"
/ most material / bin / most material: set 4: Syntax error: unexpected "("
Using gift config file /mattermost/config/config.json
Configure database connection ... OK
Launches
/ most material / bin / most material: first line is simple: not eleven: found
/ attermost / bin / attermost: Line 2: @%: not found
/ attermost / bin / attermost: Line 1: ��: not found
/ Mattermost / bin / Mattermost: Prev Location 3: ���o�� @z
�� @ �
� @ � @ �� @ �� @ � @h �
���� @ 8 : not found
/ attermost / bin / attermost: Line 4: Format error: unexpected "("
Client:
Version: 18.09.0
API version: 1.39
Type: go1.10.4
Git Checkout: 4d60db4
Built: Wednesday, November 8, 2018 12:57:21 PM
Operating System / Arch: false
Server: linux / arm
Experimental: Docker Engine - Community
Engine:
Version: 18.09.0
API version: 1.39 (minimum version 1.12)
Go package: go1.10.4
Git Checkout: 4d60db4
Built: Wed, Nov Numerous, 00:17:57 2018
Operating system / Arch: linux / arm
Experimental: false`
My problem is not "eleven: detected" on Raspberry Pi 3B +
Docker Logs -fattermostdocker_app_1
"
/ attermost / bin / attermost: Line 4: Format error: unexpected "("
Use your existing configuration database /mattermost/config/config.json
Configure database connection ... OK
Launches
/ attermost / bin / attermost: Line 1: ELF: You didn't find it
/ attermost / bin / attermost: Line 2: @%: not found
/ attermost / bin / attermost: Internet 1: ��: not found
/ Mattermost / bin / Mattermost: Line 3: ���o�� @z
�� @ �
� @ � @ �� @ �� @ � @h �
���� @ 8 : not found as found
/ attermost / bin / attermost: Line 4: Syntax error: "("
Client:
Version: handy 18.09.0
API version: 1.39
Go version: go1.10.4
Git outputs: 4d60db4
Built: 7 Nov 2018, Wednesday 12:57:21 PM
Operating system / Arch: linux / arm
Experimental: false
Server: Docker Engine Community
Engine:
Version: - 18.09.0
API version: 1.39 (minimum version 1.12)
Go version: go1.10.4
Git injected: 4d60db4
Built: Wednesday 7 November 2018 00:17:57
Operating system / Arch: linux / arm
Experimental: false`
- The topic is usually locked indefinitely.
author | |
|