使用arm-uclinux-gcc编译 /root/bin/arm-uclinux-tool/bin/arm-uclinux-gcc -g -O2 -pipe -Wall -I. -c -o util.o util.c util.c:100:1: pasting "t" and "->" does not give a valid preprocessing token util.c: In function `get_commonlog_time': util.c:100: error: structure has no member named `tm_gmtoff' make: *** [util.o] 错误 1 不知道如何解决!
用arm-elf-gcc编译boa出错,出错内容是 [code]/usr/local/lib/gcc-lib/arm-elf/2.95.3/libgcc.a(__main.o)(.text+0xc4): In function `__do_global_ctors': : undefined reference to `__CTOR_LIST__' /usr/local/lib/gcc-lib/arm-elf/2.95.3/libgcc.a(__main.o)(.data+0x0): undefined reference to `__DTOR_LIST__' collect2: ld returned 1 exit status make: *** [boa] Error 1 [/code] 有人知道是什么原因,或者怎么查错吗?...
本帖最后由 googny 于 2012-05-12 11:16 编辑 背景: Centos6.2 i386 系统,安装boa服务器; 操作步骤: $ tar zxvf boa-0.94.13.tar.gz 2、进入boa的源代码目录 $ cd boa-0.94.13/src 3、配置 $ ./configure 4、编译 $ make 出现错误: [root@localhost src]# make yacc -d boa_grammar.y make: yacc: Command not found make: *** [y.tab.c] Error 127 尝试解决方法: $vim Makefile 找到变量设置如下: YACC = yacc LEX ...
/************************************************* 帅得不敢出门 C++爱好者灌水天堂 3503799 转载请保留此信息 *************************************************/ 步骤大部分都一样吧,只是交叉编译器会有不同. 第一步boa 程序的移植 目标板为xscale pxa270 ,交叉编译器arm-linux-gcc 去网上下了一份源代码 http://www.boa.org/ Latest Released Version (0.94.13) here (signature here) 点击here弹出文件下载...
http://hh8582.blog.163.com/blog/static/14041920420114202636840/
boa (boa.org/">http://www.boa.org)是比较流行的嵌入式Web Server,虽然性能不见得太好,但是胜在简单,整个软件编译完后只有几十K.而且可以支持CGI动态脚本..很容易移植到支持POSIX...
一、boa程序的移植 1、下载boa源码 下载地址: http://www.boa.org/ 目前最新发行版本: 0.94.13 (几年没更新版本了) 下载 boa-0.94.13.tar.gz, 注意:若从boa上下载的是boa-0.94.13.tar.tar,解压方式一样 解压: [tekkamanninja@Tekkaman-Ninja source]$tar xzf boa-0.94.13.tar.gz 2、生成Makefile文件 进入boa-0.94.13,直接运行src/configure文件 [tekkamanninja@Tekkaman-Ninja src]$./configure...