返回列表 發帖
本帖最後由 角色 於 2011-10-14 14:39 編輯

Error message
  1. Assembler messages:
  2. Error: unknown architecture `armv5tel'

  3. Error: unrecognized option -march=armv5tel
  4. src/add.c:1: error: bad value (armv5tel) for -march= switch
  5. make[2]: *** [src/add.o] Error 1
  6. make[1]: *** [gsm/lib/libgsm.a] Error 2
  7. make: *** [codecs] Error 2
複製代碼
Resolved by
  1. ./configure --build=arm-gnu-linux
複製代碼

TOP

Finally I am able to obtain the following menuselect image:

10-14-2011 1-30-28 PM.png

YH

TOP

本帖最後由 角色 於 2011-10-14 13:48 編輯
  1. gcc -g -c -D_GNU_SOURCE -Wall   -c -o menuselect_stub.o menuselect_stub.c
  2. gcc -o menuselect menuselect.o strcompat.o menuselect_stub.o mxml/libmxml.a
  3. make[2]: Leaving directory `/share/HDA_DATA/.qpkg/Optware/src/asterisk/1.8/menuselect'
  4. menuselect/nmenuselect: error while loading shared libraries: libnewt.so.0.52: cannot open shared object file: No such file or directory
  5. menuselect changes NOT saved!
  6. make[1]: Leaving directory `/share/HDA_DATA/.qpkg/Optware/src/asterisk/1.8'
  7. [/opt/src/asterisk/1.8] #
複製代碼
Solved by
  1. export PATH=/opt/bin:$PATH
  2. export LDFLAGS="-L/opt/lib"
  3. export CFLAGS="-I/opt/include"
  4. export LD_LIBRARY_PATH=/opt/lib
複製代碼

TOP

  1. export PATH=/opt/bin:$PATH
複製代碼

TOP

  1. configure: creating ./config.status
  2. config.status: creating build_tools/menuselect-deps
  3. gawk: ./confldX1rf/subs.awk:2: S["/; s/!.*/"]=LTLIBOBJS!%!_!# ""
  4. gawk: ./confldX1rf/subs.awk:2:                          ^ syntax error
  5. gawk: ./confldX1rf/subs.awk:3: S["/; s/!.*/"]=LTLIBOBJS!%!_!# ""
  6. gawk: ./confldX1rf/subs.awk:3:                              ^ syntax error
  7. gawk: ./confldX1rf/subs.awk:4: S["/; s/!.*/"]=PBX_SYSLOG!1%!_!# "1"
  8. gawk: ./confldX1rf/subs.awk:4:                                ^ syntax error
  9. gawk: ./confldX1rf/subs.awk:5: S["/; s/!.*/"]=PBX_SYSLOG_FACILITY_LOG_UUCP!1%!_!
複製代碼
To solve the above problem, we have to install the optware-devel package
  1. ipkage install optware-devel
複製代碼

TOP

本帖最後由 bubblestar 於 2011-10-14 15:51 編輯

It is a great to hear that!  If they can also make it and put it into QPKG as well, I hope I can apply on my TS109.  I know they are going to do it and release once the the installation succeeds.

TOP

返回列表