linux下編譯ZBar出錯 stdio2.h:140:1: error: expected identifier or ‘(’ before ‘{’ token
In file included from /usr/include/stdio.h:937:0,
from zbar/debug.h:60,
from zbar/scanner.c:34:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:140:1: error: expected identifier or ‘(’ before ‘{’ token
解決方法:
export CFLAGS="" //將CFLAGS環境變數置為空
然後重新 ./configure
此時再make,則會成功。
相關推薦
linux下編譯ZBar出錯 stdio2.h:140:1: error: expected identifier or ‘(’ before ‘{’ token
編譯ZBar時,./configure之後make時提示如下錯誤。In file included from /usr/include/stdio.h:937:0, from zbar/debug.h:60, f
TI am335x sdk 自帶linux原始碼下編譯驅動出錯解決辦法
在使用beaglebone black的時候從TI官網下載了最新版的sdk: ti-processor-sdk-linux-am335x-evm-01.00.00.00-Linux-x86-Install.bin 在linux下安裝之後 kernel的預設路徑是 /opt/
和 的區別 及 Linux下編譯iostream.h的方法
# g++34example.cpp In file included from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/backward/iostream.h:31, from main.cpp:8: /us
Linux下編譯驅動程式碼時smp_lock.h檔案找不到的解決方案
專案中有個驅動程式碼之前在老版本linux系統中編寫的 在移植到linux核心3.2.0後,編譯時出現一處錯誤“fatal error: linux/smp_lock.h: No such file or directory” 解決辦法是將 #include <linux/smp_lock.h&g
奪命雷公狗---linux NO:42 linux下編譯apache
amp ima -1 輸入 inux png apach logs lin 我們先來到apache官網下載他,地址:http://httpd.apache.org/ 鼠標右鍵將他的地址復制出來,然後到linux 服務器上進行 wget 將他下載出來,如下所示
在Linux下編譯安裝memcached
linux memcache 一.在編譯安裝之前,先安裝系統所需要的相關庫文件#yum -y install gcc gcc-c++ make cmake libtool autoconf libaio二.下載相應的依賴庫和memcached源碼包1.從http://libevent.org/下載li
linux下編譯安裝php各種報錯大集合
linuxPHP開源腳本語言PHP(外文名: Hypertext Preprocessor,中文名:“超文本預處理器”)是一種通用開源腳本語言。語法吸收了C語言、Java和Perl的特點,入門門檻較低,易於學習,使用廣泛,主要適用於Web開發領域。PHP的文件後綴名為php。本文為大家整理匯總了一些linux
Linux 下編譯並安裝配置 Qt 4.53全過程
雙擊 win port 環境 簡單的 類型 http you ner 最近準備做 Nokia 的 Symbian,Maemo 下觸摸屏開發。考慮到程序的跨平臺可移植性,最終選擇使用 Qt 開發。相對來說,國內關於 Qt 相關文檔並不算很多。作者將 Linux
arm linux下編譯庫System.Net.Primitives.dll和System.Xml.XmlSerializer.dll
cad serial linu 5.4 mcs download 切換 mon dll 1.環境: /home/jello # uname -aLinux 3.10.0 #2 SMP Mon Mar 6 17:52:09 CST 2017 armv7l GNU/Linux
Linux下編譯安裝XLib庫
問題 fun col bsp source 過程 知識 4.2 span 新裝好的redhat7.3,在安裝qt的時候,有時會出現 Basic XLib functionality test failed!You might need to modify the inclu
Linux 下 編譯Xerces-c++
linu ida 共享 ++ blank 這樣的 gunzip pad -c 原文地址: http://blog.csdn.net/chenlanmin/article/details/2200064 按照 doc/html 文件夾中的詳細指導編譯 Xerces-C++ 共
golang Linux下編譯環境搭建
可執行文件 ash -s lib 運行 sta 目錄 bin 編譯環境搭建 1、下載golang1.4和1.10源碼(1.4以後的版本都用1.4go編譯安裝,所以先安裝1.4) 2、解壓後我的目錄結構是: /opt/xxx/golang |-------gopa
linux下編譯Boost庫
eas module cmak lease 加載 IT AI c-c++ python re 下載源碼 boost_1_66_0.tar.gz 生成編譯工具 # tar axf boost_1_66_0.tar.gz # cd boost_1_66_0 # yum inst
LINUX下編譯源碼時所需提前安裝的常用依賴包列表
conf toc tps ncurses dev openss c++ zlib bzip2 yum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype fre
linux下編譯安裝python
color down 二進制 config 編譯 服務 pytho -- bsp 從官網下載指定的源碼包 https://www.python.org/downloads/source/ 把源碼文件以二進制方式上傳到linux服務器 解壓 tar
Linux下編譯安裝SVN
cep can 關閉 進程 關閉selinux creat table curses 依賴包 說明:SVN(subversion)的運行方式有兩種:一種是基於Apache的http、https網頁訪問形式;還有一種是基於svnserve的獨立服務器模式。SVN的數據存儲方式
linux下編譯c語言教程
準備工作 - Linux系統 - 懂得Linux系統下編輯器vim/vi軟體的使用 - 懂得簡易的c語言程式設計(初次學習的同學可以直接複製文章末尾的原始碼) 總結一下:有Linux系統,會使用Linux系統下的文字編輯器,有一點c語言基礎即可。 建立c語言檔案並編譯
在Linux下編譯安裝mysql
1、在官網下載mysql壓縮包: 下載地址:http://dev.mysql.com/downloads/mysql/5.6.html#downloads 下載版本:我這裡選擇的5.6.33,通用版,linux下64位 也可以直接通過命令下載: wget ht
在 CentOS 7上安裝並配置 Python 3.6 環境 超詳細的 Linux CentOS 編譯安裝python3 Linux下編譯安裝python3
前言 按照此方法安裝保證以下報錯什麼的統統都沒有! 基礎環境 系統:centos7.4 軟體:python3 Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connect
Linux下編譯SylixOS
開發環境:Ubuntu 14.04 SylixOS原始碼版本:1.6.7 一、搭建環境 $ sudo apt-get udpate $ sudo apt-get install build-essential $ sudo apt-get in