标题 | 阅读 | 评论 | 转发 | 发布日期 | |
---|---|---|---|---|---|
mount root filesystem的三种方式 | 3834 | 0 | 0 | 2008-03-28 | |
Super server系列1: inetd和xinetd | 3286 | 0 | 0 | 2008-03-26 | |
AT91RM9200开发笔记(10):PPPD-2.4.3交叉编译 | 4254 | 2 | 0 | 2008-03-25 | |
SSH系列2:DropBear移植 | 6509 | 0 | 0 | 2008-03-24 | |
busybox编译错误:undefined reference to `query_module' | 4448 | 0 | 0 | 2008-03-24 | |
SSH系列1: OpenSSH移植 | 3790 | 0 | 0 | 2008-03-24 | |
嵌入式系统设计专题: 网络服务功能 | 5192 | 9 | 0 | 2008-03-24 | |
Telnet系列1:busybox telnetd的移植与配置 | 9688 | 0 | 0 | 2008-03-24 | |
HOWTO - Use Autoscript in U-Boot | 3165 | 0 | 0 | 2008-03-24 | |
用户名登陆,按退格键出现^H问题解决 | 3005 | 0 | 0 | 2008-03-23 | |
初级根文件系统的制作 | 5696 | 9 | 0 | 2008-03-22 | |
对嵌入式文件系统制作的理解 | 3811 | 0 | 0 | 2008-03-18 | |
AT91RM9200开发笔记(9):为Linux-2.6.20添加MTD驱动 | 3953 | 4 | 0 | 2008-03-18 | |
解决制作根文件系统遇到的共享库查找问题 | 4075 | 0 | 0 | 2008-03-13 | |
AT91RM9200开发笔记(8):serial port configuration | 2755 | 1 | 0 | 2008-03-11 | |
AT91RM9200开发笔记(7):machine ID问题解决 | 4672 | 0 | 0 | 2008-03-11 | |
C99中struct的高级用法 | 5577 | 1 | 1 | 2008-03-11 | |
C99对除法和取模运算的几处细节 | 2995 | 0 | 0 | 2008-03-05 | |
文档整理 | 2340 | 0 | 0 | 2008-03-05 |
scott_lvsha2009-08-21 16:17
请教:我在arm上编译asterisk出问题,能不能帮我看一下啊,连接的时候出错 make[1]: Entering directory `/home/scott/asterisk-1.4.26/main' [LD] abstract_jb.o acl.o aescrypt.o aeskey.o aestab.o alaw.o app.o ast_expr2.o ast_expr2f.o asterisk.o astfd.o astmm.o astobj2.o audiohook.o autoservice.o callerid.o cdr.o channel.o chanvars.o cli.o config.o cryptostub.o db.o devicestate.o dial.o dns.o dnsmgr.o dsp.o enum.o file.o fixedjitterbuf.o frame.o fskmodem.o global_datastores.o http.o image.o indications.o io.o jitterbuf.o loader.o logger.o manager.o md5.o netsock.o pbx.o plc.o poll.o privacy.o rtp.o say.o sched.o sha1.o slinfactory.o srv.o stdtime/localtime.o strcompat.o tdd.o term.o threadstorage.o translate.o udptl.o ulaw.o utils.o editline/libedit.a db1-ast/libdb1.a -> asterisk astobj2.o: In function `ast_atomic_fetchadd_int': /home/scott/asterisk-1.4.26/include/asterisk/lock.h:1300: undefined reference to `__sync_fetch_and_add_4' /home/scott/asterisk-1.4.26/include/asterisk/lock.h:1300: undefined reference to `__sync_fetch_and_add_4' channel.o: In function `ast_atomic_fetchadd_int': /home/scott/asterisk-1.4.26/include/asterisk/lock.h:1300: undefined reference to `__sync_fetch_and_add_4' /home/scott/asterisk-1.4.26/include/asterisk/lock.h:1300: undefined reference to `__sync_fetch_and_add_4' dial.o: In function `ast_atomic_fetchadd_int': /home/scott/asterisk-1.4.26/include/asterisk/lock.h:1300: undefined reference to `__sync_fetch_and_add_4' manager.o: In function `ast_atomic_dec_and_test': /home/scott/asterisk-1.4.26/include/asterisk/lock.h:1346: undefined reference to `__sync_sub_and_fetch_4' /home/scott/asterisk-1.4.26/include/asterisk/lock.h:1346: undefined reference to `__sync_sub_and_fetch_4' /home/scott/asterisk-1.4.26/include/asterisk/lock.h:1346: undefined reference to `__sync_sub_and_fetch_4' /home/scott/asterisk-1.4.26/include/asterisk/lock.h:1346: undefined reference to `__sync_sub_and_fetch_4' /home/scott/asterisk-1.4.26/include/asterisk/lock.h:1346: undefined reference to `__sync_sub_and_fetch_4' utils.o:/home/scott/asterisk-1.4.26/include/asterisk/lock.h:1346: more undefined references to `__sync_sub_and_fetch_4' follow utils.o: In function `ast_atomic_fetchadd_int': /home/scott/asterisk-1.4.26/include/asterisk/lock.h:1300: undefined reference to `__sync_fetch_and_add_4' collect2: ld returned 1 exit status make[1]: *** [asterisk] Error 1
okti2009-04-04 09:32
与您交流:关于你的《基于at91rm9200重映射机制的修正》一文中,先判断是否已经重映射sram为0x0地址,之后再进行拷贝向量表,的疑问?? 1.sram不论重映射前与后,都可以在0x20 0000地址可以访问到。所以,无论哪种情景,都可以将中断向量表直接拷贝到这个地址,无须作判断。 2. /*relocate exception table*/ /* 您要的是向量表的起始地址,可这是一个位置有关的代码,代码重定位之前应该不能正确访问,也就是说,掉电复位的情景应该无法实现*/ ldr r0, =_start /*应该将上面这条指令换成位置无关代码adr r0, _start*/ ldr r1, 0x0 /*将上面这个地址换成,0x20 0000 ldr r1,0x200000*/ mov r2, #16 copyex: >>>>>>>>>>>>>>>>>