broadcom crystalhd installing on ubuntu 12.04 编译出错

Totem,mplayer,sopcast,realplayer,bmp
回复
samuelgl
帖子: 115
注册时间: 2010-01-30 19:15

broadcom crystalhd installing on ubuntu 12.04 编译出错

#1

帖子 samuelgl » 2015-03-04 15:47

hp mini 1000, 就是那个年代比较经典的上网本, 最近想着再折腾一下,
broadcom crystal hd 硬件解压卡, 这个在 windows xp 下蛮好用的,
从官网下载了对应的 linux 驱动, 根据里面的 readme 档安装, 中途报错
简单理解是编译的问题, 请大侠们指点一下.

2楼是 readme 档的全部
3楼是 按部就班 操作中的报错
上次由 samuelgl 在 2015-03-04 15:55,总共编辑 1 次。
Samuel G. L.
Mobile: 139-0-171-35-61
samuelgl
帖子: 115
注册时间: 2010-01-30 19:15

Re: broadcom crystalhd installing on ubuntu 12.04 编译出错

#2

帖子 samuelgl » 2015-03-04 15:47

Broadcom CrystalHD Linux Software Release 07032010

This is beta release of the Linux driver and application software with support for the BCM70012 and BCM70015

This is a pure source release with no distribution binary packages

FEATURES SUPPORTED -

Playback support for H.264 and other codecs using the default media players for Ubuntu and Meego. This includes support for GStreamer based applications.

Support both BCM70012 and BCM70015

FIXED ISSUES
Kernel oops during driver load
64-bit support
Power management
HW scaling

KNOWN ISSUES

Seeking hangs the player
Playlist functionality does not work correctly
VC-1 not functional

BUILD and INSTALL instructions

Required packages -

Under Ubuntu the following additional packages are required, install them using "sudo apt-get <package-name>"

build-essential
g++
automake
autoconf
libtool
libgstreamer0.10-dev
libgstreamer-plugins-base0.10-dev

In order to build and install the driver -

In the driver/linux folder, run the following commands -

autoconf
./configure
make
sudo make install

In order to build and install the library -

In the linux_lib/libcrystalhd folder, run the following commands -

make
sudo make install

In order to build and install the media player application library (gstreamer plugin) -

In the filters/gst/gst-plugin/, run the following commands -

./autogen.sh
make
sudo make install

Finally copy the firmware files from firmware/fwbin/70015 and firmware/fwbin/70012 directories to /lib/firmware

If HW scaling is necessary - in libcrystalhd_if.cpp in line 1240 uncomment the Ctx->EnableScaling line
Samuel G. L.
Mobile: 139-0-171-35-61
samuelgl
帖子: 115
注册时间: 2010-01-30 19:15

Re: broadcom crystalhd installing on ubuntu 12.04 编译出错

#3

帖子 samuelgl » 2015-03-04 15:53

代码: 全选

samuelgl@hpmini1000:~/Desktop/07032010/driver/linux$ autoconf
samuelgl@hpmini1000:~/Desktop/07032010/driver/linux$ ./configure
checking for ld... ld
configure: creating ./config.status
config.status: creating ./Makefile
samuelgl@hpmini1000:~/Desktop/07032010/driver/linux$ make
make -C /lib/modules/3.13.0-46-generic/build SUBDIRS=/home/samuelgl/Desktop/07032010/driver/linux modules
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-46-generic'
  CC [M]  /home/samuelgl/Desktop/07032010/driver/linux/crystalhd_lnx.o
In file included from /home/samuelgl/Desktop/07032010/driver/linux/crystalhd_lnx.c:20:0:
/home/samuelgl/Desktop/07032010/driver/linux/crystalhd_lnx.h:48:24: fatal error: asm/system.h: No such file or directory
compilation terminated.
make[2]: *** [/home/samuelgl/Desktop/07032010/driver/linux/crystalhd_lnx.o] Error 1
make[1]: *** [_module_/home/samuelgl/Desktop/07032010/driver/linux] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-46-generic'
make: *** [all] Error 2
samuelgl@hpmini1000:~/Desktop/07032010/driver/linux$ 
Samuel G. L.
Mobile: 139-0-171-35-61
samuelgl
帖子: 115
注册时间: 2010-01-30 19:15

Re: broadcom crystalhd installing on ubuntu 12.04 编译出错

#4

帖子 samuelgl » 2015-03-06 0:13

前後試了3個版本,ubuntu 14.04/12.04/10.04
最後終於在 ubuntu 10.04 netbook edition i386, kernel 2.6.32-56-generic,
按照官方說明,按部就班成功,但是還有很多各種問題,哎

關於編譯問題繼續請教各位大俠了,有空也要好好學習學習了
聽說 重新編譯內核 機器速度能夠快很多,不知道是不是真的?
Samuel G. L.
Mobile: 139-0-171-35-61
rosynirvana
帖子: 893
注册时间: 2011-02-14 17:46

Re: broadcom crystalhd installing on ubuntu 12.04 编译出错

#5

帖子 rosynirvana » 2015-03-06 4:28

编译内核让机器快很多应该是个古老的段子……
samuelgl
帖子: 115
注册时间: 2010-01-30 19:15

Re: broadcom crystalhd installing on ubuntu 12.04 编译出错

#6

帖子 samuelgl » 2015-03-11 15:13

rosynirvana 写了:编译内核让机器快很多应该是个古老的段子……
此話怎講哇?
Samuel G. L.
Mobile: 139-0-171-35-61
回复