Cha'u la`m theo hu+o+'ng da^~n cu?a ba'c Ha?i # apt-cache search kernel 2.6.8 ro^`i sau ddo' tie^'p tu.c thi` ddu+o+.c nhu+ the^' na`y : [EMAIL PROTECTED]:~ # apt-get install linux-headers-2.6.8.1-3-386 Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: linux-headers-2.6.8.1-3 The following NEW packages will be installed: linux-headers-2.6.8.1-3 linux-headers-2.6.8.1-3-386 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/3492kB of archives. After unpacking 43.4MB of additional disk space will be used. Do you want to continue? [Y/n] Y
Preconfiguring packages ... Selecting previously deselected package linux-headers-2.6.8.1-3. (Reading database ... 61305 files and directories currently installed.) Unpacking linux-headers-2.6.8.1-3 (from .../linux-headers-2.6.8.1-3_2.6.8.1-16_i386.deb) ... Selecting previously deselected package linux-headers-2.6.8.1-3-386. Unpacking linux-headers-2.6.8.1-3-386 (from .../linux-headers-2.6.8.1-3-386_2.6.8.1-16_i386.deb) ... Setting up linux-headers-2.6.8.1-3 (2.6.8.1-16) ... Setting up linux-headers-2.6.8.1-3-386 (2.6.8.1-16) .. Va^.y la` ddu+o+.c chu+a nhi? ? sau ddo' complie tie^'p source driver cu?a modem thi` ddu+o+.c nhu+ the^' na`y : [EMAIL PROTECTED]:~/intel-536EP-2.56.76.1 # make clean cd coredrv; make clean make[1]: Entering directory `/home/chuotmap/intel-536EP-2.56.76.1/coredrv' rm -f *.ko *.o *~ core make[1]: Leaving directory `/home/chuotmap/intel-536EP-2.56.76.1/coredrv' rm -f *.o *.ko [EMAIL PROTECTED]:~/intel-536EP-2.56.76.1 # make 536 Module precompile check Current running kernel is: 2.6.8.1-3-386 /lib/modules... autoconf.h exists diff: /boot/vmlinuz.autoconf.h: No such file or directory autoconf.h matches running kernel diff: /boot/vmlinuz.version.h: No such file or directory version.h matches running kernel uname -r|grep "2.6" && \ cd coredrv && make 536core_26 && \ cp Intel536.ko .. && cd .. && \ strip --strip-debug Intel536.ko && \ exit; \ ls Intel536.ko >/dev/null 2>&1 || uname -r | grep "2.6" && echo "Failed to build driver" && exit; \ if [ ]; then \ cd coredrv; make TARGET=TARGET_SELAH KERNEL_SOURCE_PATH= "PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" 536core; \ else \ cd coredrv; make TARGET=TARGET_SELAH KERNEL_INCLUDES=/lib/modules/`uname -r`/build/include \ "PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" 536core; \ fi ; \ cp Intel536.o .. ; \ if [ -a /boot/vmlinuz.version.h ]; then \ cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/include/linux/version.h;\ fi 2.6.8.1-3-386 make[1]: Entering directory `/home/chuotmap/intel-536EP-2.56.76.1/coredrv' make -C /lib/modules/2.6.8.1-3-386/build SUBDIRS=/home/chuotmap/intel-536EP-2.56.76.1/coredrv modules /usr/src/linux-headers-2.6.8.1-3-386/scripts/gcc-version.sh: line 1: gcc: command not found /usr/src/linux-headers-2.6.8.1-3-386/scripts/gcc-version.sh: line 1: gcc: command not found make[2]: Entering directory `/usr/src/linux-headers-2.6.8.1-3-386' CC [M] /home/chuotmap/intel-536EP-2.56.76.1/coredrv/coredrv.o /bin/sh: line 1: gcc: command not found make[3]: *** [/home/chuotmap/intel-536EP-2.56.76.1/coredrv/coredrv.o] Error 127 make[2]: *** [_module_/home/chuotmap/intel-536EP-2.56.76.1/coredrv] Error 2 make[2]: Leaving directory `/usr/src/linux-headers-2.6.8.1-3-386' make[1]: *** [536core_26] Error 2 make[1]: Leaving directory `/home/chuotmap/intel-536EP-2.56.76.1/coredrv' 2.6.8.1-3-386 Failed to build driver What's wrong ? Ca'c ba'c gxem thu+? giu`m cha'u vo+'i . -- WHEN YOU HAVE ELIMINATED THE IMPOSSIBLE WHATEVER REMAINS, HOWEVER IMPROBABLE MUST BE THE TRUTH On Sat, 15 Jan 2005 07:37:33 -0600, Phan Vinh Thinh <[EMAIL PROTECTED]> wrote: > hi, > > On 4:18:29 am 15/01/2005 Chuot map <[EMAIL PROTECTED]> wrote: > > Thanks ba'c Long , > > khi mi`nh > > apt-get install kernel-headers-2.6.8 > > thi` co' ca^`n connect Internet kho^ng ? Hay chi? ca^`n CD ubuntu la` > > ddu+o+.c ? > > Ne^'u ca^`n connect Internet thi` thua vi` modem chu+a co' driver thi` > > la`m sao connect ddu+o+.c . > > > > On Sat, 15 Jan 2005 05:48:28 +0100, Pham Kim Long <[EMAIL PROTECTED]> > > > wrote: On Sat, 15 Jan 2005 07:10:49 +0700, Chuot map > > > > <[EMAIL PROTECTED]> wrote: Hi All, > > > > Khi cha'u install driver cho modem thi` ga(.p ca'i error na`y : > > > > [EMAIL PROTECTED]:~/intel-536EP-2.56.76.1 # make 536 > > > > Module precompile check > > > > Current running kernel is: 2.6.8.1-3-386 > > > > /lib/modules... autoconf.h does not exist > > > > please install kernel source > > > > make: *** [check] Error 1 > > > > No' ba?o la` autoconf.h does not exist > > > > please install kernel source > > > > make . La`m the^' na`o dde^? gia?i quy'et va^'n dde^` na`y ? > > > > > > "Cha'u" ca^`n install the^m: > > > apt-get install kernel-headers-2.6.8 > > > > > > Long > > > > > "cha'u" co' the^? du`ng CDs hoa(.c du`ng ca'ch nhu+ thu+ tru+o+'c "ba'c" > gu+?i. (apt-get install kernel-headers-2.6.8 dde^? la^'y URL cu?a go'i > ro^`i ra ngoa`i ha`ng download). > Ne^'u du`ng CDs thi` ca^`n: > # apt-cdrom add > # apt-get install kernel-headers-2.6.8 > $ man apt-cdrom > > DESCRIPTION > > apt-cdrom is used to add a new CDROM to APTs list of available > sources. > apt-cdrom takes care of determining the structure of the disc as > well > as correcting for several possible mis-burns and verifying the > index > files. > > http://ccrma.stanford.edu/planetccrma/man/man8/apt-cdrom.8.html > > --- > Ð ÑÐÐÐÐÐÐÐÐ > Thinh http://teppi.org/ [EMAIL PROTECTED] > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > VietLUG-users mailing list > VietLUG-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/vietlug-users > -- WHEN YOU HAVE ELIMINATED THE IMPOSSIBLE WHATEVER REMAINS, HOWEVER IMPROBABLE MUST BE THE TRUTH ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ VietLUG-users mailing list VietLUG-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vietlug-users