<dfn id="is4kg"></dfn>
  • <ul id="is4kg"></ul>
  • <abbr id="is4kg"></abbr>
  • <ul id="is4kg"></ul>
    <bdo id="is4kg"></bdo>
    以文本方式查看主題

    -  曙海教育集團論壇  (http://www.hufushizhe.com/bbs/index.asp)
    --  Linux應用開發  (http://www.hufushizhe.com/bbs/list.asp?boardid=32)
    ----  mips linux技術經驗總結  (http://www.hufushizhe.com/bbs/dispbbs.asp?boardid=32&id=1689)

    --  作者:wangxinxin
    --  發布時間:2010-11-23 14:00:31
    --  mips linux技術經驗總結

    1:
    mipsel-linux-gcc xxxx.o  -L/xxxx/lib -lixml -lthreadutil -lpthread -lupnp -o ushare -static
    /xxxx/upnpapi.c:216: undefined reference to `pthread_rwlock_init\'
    應該使用下面的命令
    mipsel-linux-gcc -o ushare -static -Wall -Wl,--start-group xxxxxx.o    -L/xxxx/lib -lixml -lthreadutil -lpthread -lupnp -Wl,--end-group
    原因未知
    2:
    echo -ne "string \\n"   -ne參數解釋轉義字符
           -n     do not output the trailing newline
           -e     enable interpretation of the backslash-escaped characters listed
                  below
    3:
    sed /^$/d 刪除文件中的空行