boa编译、移植
2017-01-21 14:51
369 查看
fly@Flyme:src$ make -j2
gcc -g -O2 -pipe -Wall -I. -c -o y.tab.o y.tab.c
gcc -g -O2 -pipe -Wall -I. -c -o lex.yy.o lex.yy.c
y.tab.c: In function ‘yyparse’:
y.tab.c:1189:7: warning: implicit declaration of function ‘yylex’ [-Wimplicit-function-declaration]
yychar = yylex ();
^
boa_lexer.l: In function ‘yylex’:
boa_lexer.l:82:2: warning: implicit declaration of function ‘yyerror’ [-Wimplicit-function-declaration]
yyerror("unterminated string constant");
^
boa_lexer.l: At top level:
lex.yy.c:1292:17: warning: ‘yyunput’ defined but not used [-Wunused-function]
static void yyunput (int c, register char * yy_bp )
^
lex.yy.c:1333:16: warning: ‘input’ defined but not used [-Wunused-function]
static int input (void)
^
gcc -g -O2 -pipe -Wall -I. -c -o util.o util.c
In file included from boa.h:50:0,
from util.c:26:
util.c: In function ‘get_commonlog_time’:
util.c:100:39: error: pasting "t" and "->" does not give a valid preprocessing token
time_offset = TIMEZONE_OFFSET(t);
^
compat.h:120:30: note: in definition of macro ‘TIMEZONE_OFFSET’
#define TIMEZONE_OFFSET(foo) foo##->tm_gmtoff
^
make: *** [util.o] Error 1
make: *** Waiting for unfinished jobs....
修改为
gcc -g -O2 -pipe -Wall -I. -c -o y.tab.o y.tab.c
gcc -g -O2 -pipe -Wall -I. -c -o lex.yy.o lex.yy.c
y.tab.c: In function ‘yyparse’:
y.tab.c:1189:7: warning: implicit declaration of function ‘yylex’ [-Wimplicit-function-declaration]
yychar = yylex ();
^
boa_lexer.l: In function ‘yylex’:
boa_lexer.l:82:2: warning: implicit declaration of function ‘yyerror’ [-Wimplicit-function-declaration]
yyerror("unterminated string constant");
^
boa_lexer.l: At top level:
lex.yy.c:1292:17: warning: ‘yyunput’ defined but not used [-Wunused-function]
static void yyunput (int c, register char * yy_bp )
^
lex.yy.c:1333:16: warning: ‘input’ defined but not used [-Wunused-function]
static int input (void)
^
gcc -g -O2 -pipe -Wall -I. -c -o util.o util.c
In file included from boa.h:50:0,
from util.c:26:
util.c: In function ‘get_commonlog_time’:
util.c:100:39: error: pasting "t" and "->" does not give a valid preprocessing token
time_offset = TIMEZONE_OFFSET(t);
^
compat.h:120:30: note: in definition of macro ‘TIMEZONE_OFFSET’
#define TIMEZONE_OFFSET(foo) foo##->tm_gmtoff
^
make: *** [util.o] Error 1
make: *** Waiting for unfinished jobs....
修改为
相关文章推荐
- 嵌入式web服务器boa的编译移植
- 嵌入式web服务器boa的编译移植
- 嵌入式web服务器boa的编译移植
- Linux下boa的编译及移植
- 毕业设计-----基于uclinux的boa移植及内核的从新编译
- 安卓Android ROM定制、移植,安卓软件反编译、汉化实战教程第五篇:厨房的使用教程(G15实例)
- Linux手机DIY.移植软件专题.Qt/Qte的编译环境
- Readline-5.2交叉编译——fileman移植
- ubuntu 步步为营之uclinux编译和移植(完整版)
- 解析libcurl在android下的移植、编译与测试
- Qt5.7.0编译移植到Linux-Arm-A9
- 嵌入式WEB服务器BOA的移植方法(一)
- Qt4.8.6 Embedded Linux 的编译与移植
- QT5.7+tslib1.4库的交叉编译、移植到开发板ARM9上.......
- Ubuntu 下用NDK编译移植 ffmpeg 2.0 (配置最新版x264) 到android平台
- 如何交叉编译 移植 QT
- (OK) 编译内核及移植MPTCP过程 - 树莓派 3B - (北邮张成文老师组)本科生 - 杨翔 - 周煊赫 - 研究生 - 黎增城
- FFmpeg移植Android编译生成多库
- 移植uboot第一步:下载,编译,烧到板子上试验