Ubuntu12.0.4x86 _ 64 install HTK3.4.1 Problems and Solutions (hp-cq40)
Source: Internet
Author: User
Ubuntu1204x86_64 install HTK341 encountered problems and solutions (hp-cq40) 1 No Internet icon :( boot needs to configure the network 60 seconds is also the solution) modify the etcnetworkinterface file, modified to the following: autoloifaceloinetloop Ubuntu12.0.4x86 _ 64 install HTK3.4.1 Problems and Solutions (hp-cq40) 1. no Internet icon: (the network needs to be configured for 60 seconds at startup) modify the/etc/network/interface file to the following: auto loiface lo inet loopback 2. wireless Internet access: install the Wireless NIC driver (Broadcom 802.11 linux STA driver) in Linux (for a 64-bit server, you must download the 64-bit driver; otherwise, an error is reported) for ubuntu systems, you must first run the following two commands # apt-get install build-essential linux-headers-generic # apt-get build-dep linux ensure that the directory exists # ls/lib/ modules/'uname-r'/build wget driver package and enter the corresponding driver Directory # wget http://zh-tw.broadcom.com/docs/linux_sta/hybrid-portsrc_x86_32-v5_100_82_38.tar.gz# Tar-zxvf hybrid-portsrc_x86_32-v5_100_82_38.tar.gz # cd hybrid-portsrc_x86_32-v5_100_82_38 # makeKBUILD_NOPEDANTIC = 1 make-C/lib/modules/'uname-r'/build M = 'pwd' make [1]: entering directory '/usr/src/linux-headers-2.6.38-8-generic' LD/data/software/built-in.o CC [M]/data/software/src/shared/linux_osl.o CC [M]/data/software/ src/wl/sys/wl_linux.o/data/software/src/wl/sys/wl_linux.c: in function 'W L_attach ':/data/software/src/wl/sys/wl_linux.c: 485: 3: error: implicit declaration of function 'init _ MUTEX' make [2]: * ** [/data/software/src/wl/sys/wl_linux.o] Error 1 make [1]: * ** [_ module _/data/software] Error 2 make [1]: Leaving directory '/usr/src/linux-headers-2.6.38-8-generic' make: * ** [all] Error 2 if your kernel version is later than 2.6.37, congratulations, the above Error will be reported during compilation. at this time, you only need to apply a patch! # Uname-r wget patch to the driver Directory (lib, Makefile, src) # wget http://www.broadcom.com/docs/linux_sta/5_100_82_38.patch# Patch-p0 <5_100_82_38.patch and then execute make. after the execution, wl is generated. files such as ko # make remove all previous related drivers, skip # lsmod | grep "b43 \ | ssb \ | wl" # rmmod b43 # rmmod ssb # rmmod wl # echo "blacklist ssb">/etc/modprobe. d/blacklist. conf # echo "blacklist b43">/etc/modprobe. d/blacklist. conf install driver # modprobe lib80211 # insmod wl. ko 3. wireless network card boot does not start automatically: install here, iwconfig can see that there is an eth1-is the Ubuntu wireless network card, but tx-power is still off. For the sake of insurance, I also added two sentences # modprobe wl --- the first time I was prompted that the wl module was not available, later, I activated the broadcom sta driver in the system-Management-hardware driver (which was not originally available, as if insmod wl. after ko), run this command again. # Depmod-s is loaded here. in order to make this module load at the beginning, add wl to/etc/modules. /Etc/modules file content: # kernel modules to load at boot time. # This file contains the names of kernel modules that shoshould be loadedat boot time, one per line. lines beginning with "#" are ignored. wl is like this. 4. install the libx11-dev: # apt-get install libx11-dev libxext-dev libxtst-dev because HTK is 32-bit, you also need to install 32-bit libx11 (solution:/usr/bin/lb lix11 not found) (will further support gcc 32-bit and libx11 32-bit) # apt-get install libx11-dev: i386 error, the key is to see the error message !!!!!!!!!!!
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.