日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

ubuntu9.10配置编译xawtv-3.95

發布時間:2025/4/5 49 豆豆
生活随笔 收集整理的這篇文章主要介紹了 ubuntu9.10配置编译xawtv-3.95 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

1.下載源碼

2.解壓,配置

tar -xzf xawtv-3.95.tar.gz

cd xawtv-3.95/

./configure --prefix=$PWD/tmp

make

make install

3.出現的錯誤

1)console/fs.h找不到

console/fs.h:2:20: error: FSlib.h: No such file or directory

解決:

sudo apt-get install libfs-dev

sudo apt-get install libxaw7-dev

安裝完成后make依然出錯

接著查找FSlib.h在哪里

直接修改console/fs.h第二行為: #include <X11/fonts/FSlib.h>即可

或者在配置階段使用./configure --prefix=$PWD/tmp --x-includes=/usr/include/X11/fonts/

?

2)asm/page.h找不到

console/fbtools.c:24:22: error: asm/page.h: No such file or directory

console/matrox.c:12:38: error: asm/page.h: No such file or directory

把asm/page.h修改為sys/user.h即可。

3)console/fs.o: In function `fs_open':
/work/ming/disanqi/2_camera_wifi_3G_alsa_video/xawtv-3.95/console/fs.c:226: undefined reference to `FSListFonts'
/work/ming/disanqi/2_camera_wifi_3G_alsa_video/xawtv-3.95/console/fs.c:235: undefined reference to `FSOpenBitmapFont'
/work/ming/disanqi/2_camera_wifi_3G_alsa_video/xawtv-3.95/console/fs.c:236: undefined reference to `FSFreeFontNames'
/work/ming/disanqi/2_camera_wifi_3G_alsa_video/xawtv-3.95/console/fs.c:240: undefined reference to `FSQueryXInfo'
/work/ming/disanqi/2_camera_wifi_3G_alsa_video/xawtv-3.95/console/fs.c:243: undefined reference to `FSQueryXExtents16'
/work/ming/disanqi/2_camera_wifi_3G_alsa_video/xawtv-3.95/console/fs.c:244: undefined reference to `FSQueryXBitmaps16'
console/fs.o: In function `fs_connect':
/work/ming/disanqi/2_camera_wifi_3G_alsa_video/xawtv-3.95/console/fs.c:196: undefined reference to `FSOpenServer'
/work/ming/disanqi/2_camera_wifi_3G_alsa_video/xawtv-3.95/console/fs.c:198: undefined reference to `FSServerName'
/work/ming/disanqi/2_camera_wifi_3G_alsa_video/xawtv-3.95/console/fs.c:201: undefined reference to `FSServerName'
collect2: ld returned 1 exit status
make: *** [console/fbtv] Error 1

在Makefile里面添加 -lFS

接著make成功,最后make install

在tmp目錄下看到編譯出來的xawtv以及一些庫,文檔

?

參考:https://blog.csdn.net/zhang_danf/article/details/79268017

?

總結

以上是生活随笔為你收集整理的ubuntu9.10配置编译xawtv-3.95的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。