Dear Hadi Ariwibowo,

Setelah menerima e-mail anda, segera saya melakukan langkah-langkah seperti 
berikut:

1) instalasi "kernel-source", anda benar hasil instalasi mendapatkan 
direktori /usr/src/linux-2.4.3

2) perubahan isi file /ModemDrv/src/hamcore/makefile
dari INCLUDES = -I /usr/include -I
jadi INCLUDES = -I /usr/src/linux-2.4.3/include -I

3) perubahan isi file /ModemDrv/src/serial/makefile
dari INCLUDES = -I /usr/include -I
jadi INCLUDES = -I /usr/src/linux-2.4.3/include -I

4)  pada direktori /ModemDrv/ melakukan
# script error1.txt
# make clean
# exit
=== isi error1.txt adalah sbb ===
Script started on Thu Jun  7 00:40:19 2001
[36l>[root@localhost /ModemDrv]#
[K[root@localhost /ModemDrv]# m
[K[root@localhost /ModemDrv]# ma
[K[root@localhost /ModemDrv]# mak
[K[root@localhost /ModemDrv]# make
[K[root@localhost /ModemDrv]# make
[K[root@localhost /ModemDrv]# make c
[K[root@localhost /ModemDrv]# make cl
[K[root@localhost /ModemDrv]# make cle
[K[root@localhost /ModemDrv]# make clea
[K[root@localhost /ModemDrv]# make clean
[K[root@localhost /ModemDrv]# make clean
cd src/hamcore; make clean
make[1]: Entering directory `/ModemDrv/src/hamcore'
rm -f *.o *~ core
make[1]: Leaving directory `/ModemDrv/src/hamcore'
cd src/serial;  make clean
make[1]: Entering directory `/ModemDrv/src/serial'
rm -f *.o *~ core
make[1]: Leaving directory `/ModemDrv/src/serial'
rm -f ham.o
rm -f hamcore.o
[root@localhost /ModemDrv]#
[K[root@localhost /ModemDrv]# e
[K[root@localhost /ModemDrv]# ex
[K[root@localhost /ModemDrv]# exi
[K[root@localhost /ModemDrv]# exit
[K[root@localhost /ModemDrv]# exit

Script done on Thu Jun  7 00:41:02 2001

5)  pada direktori /ModemDrv/ melakukan
# script error2.txt
# make all
# exit
=== isi error2.txt adalah sbb ===
Script started on Thu Jun  7 00:41:22 2001
[36l>[root@localhost /ModemDrv]#
[K[root@localhost /ModemDrv]# m
[K[root@localhost /ModemDrv]# ma
[K[root@localhost /ModemDrv]# mak
[K[root@localhost /ModemDrv]# make
[K[root@localhost /ModemDrv]# make
[K[root@localhost /ModemDrv]# make a
[K[root@localhost /ModemDrv]# make al
[K[root@localhost /ModemDrv]# make all
[K[root@localhost /ModemDrv]# make all
cd src/hamcore; make hamcore-release
make[1]: Entering directory `/ModemDrv/src/hamcore'
cc -Wall -O -I /usr/include -I../inc   -c -o coredrv.o coredrv.c
In file included from hamdefs.h:58,
                  from hamcore.h:38,
                  from coredrv.c:33:
/usr/include/linux/modversions.h:1:2: #error Modules should never use 
kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but headers from an 
appropriate kernel-source
In file included from hamcore.h:38,
                  from coredrv.c:33:
hamdefs.h:89:8: warning: extra tokens at end of #endif directive
In file included from coredrv.c:33:
hamcore.h:261:8: warning: extra tokens at end of #endif directive
make[1]: *** [coredrv.o] Error 1
make[1]: Leaving directory `/ModemDrv/src/hamcore'
make: *** [all] Error 2
[root@localhost /ModemDrv]#
[K[root@localhost /ModemDrv]# e
[K[root@localhost /ModemDrv]# ex
[K[root@localhost /ModemDrv]# exi
[K[root@localhost /ModemDrv]# exit
[K[root@localhost /ModemDrv]# exit

Script done on Thu Jun  7 00:41:40 2001

6)  pada direktori /ModemDrv/ melakukan
# script error3.txt
# make install
# exit
=== isi error3.txt adalah sbb ===
Script started on Thu Jun  7 00:41:50 2001
[36l>[root@localhost /ModemDrv]#
[K[root@localhost /ModemDrv]# m
[K[root@localhost /ModemDrv]# ma
[K[root@localhost /ModemDrv]# mak
[K[root@localhost /ModemDrv]# make
[K[root@localhost /ModemDrv]# make
[K[root@localhost /ModemDrv]# make i
[K[root@localhost /ModemDrv]# make in
[K[root@localhost /ModemDrv]# make ins
[K[root@localhost /ModemDrv]# make inst
[K[root@localhost /ModemDrv]# make insta
[K[root@localhost /ModemDrv]# make instal
[K[root@localhost /ModemDrv]# make install
[K[root@localhost /ModemDrv]# make install
bash haminst
haminst:
: command not found
haminst:
: command not found
running kernel 2.4.3-20mdk


installing

hamcfg

hamtool

hamdata

serial module

install: ham.o: No such file or directory
core module

install: hamcore.o: No such file or directory
haminst:
: command not found
haminst: line 57: syntax error near unexpected token `elif'
haminst: line 57: `elif [ -a /etc/SuSE-release ]; then
'
make: *** [install] Error 2
[root@localhost /ModemDrv]#
[K[root@localhost /ModemDrv]# e
[K[root@localhost /ModemDrv]# ex
[K[root@localhost /ModemDrv]# exi
[K[root@localhost /ModemDrv]# exit
[K[root@localhost /ModemDrv]# exit

Script done on Thu Jun  7 00:42:04 2001

Setelah melakukan ke-6 langkah diatas, dan masih terlihat adanya error dari 
hasil "make", maka saya sampaikan e-mail ini untuk mendapatkan pencerahan 
lebih lanjut dari anda.

Banyak terima-kasih dan salam, gygi.


At 08:22 PM 6/6/2001 +0700, Hadi Ariwibowo wrote:
>Hello Gygi :)
>Mudah-mudahan ini tanda baik, sebab masalah anda pernah saya alami,
>dan penyelesaiannya mudah :)
>Dahulu saya juga bermasalah pada saat "make all". Sebab saat ini kita
>membutuhkan
>header kernel yang sedang kita pakai ( supaya kompatibel ).
>Anda kan sudah menggunakan kernel versi 2.4, nah sekarang dari CD
>anda install "kernel-source", defaultnya bagian ini emang nggak bakal
>diinstall, kecuali kalau mau ngehack kernel. Kalau saya ( redhat
>7.0 ), setelah dinstall terdapat direktori
>/usr/src/linux-2.2.16.
>Coba dicheck, apakah ada direktori mirip seperti ini. Ya mungkin punya
>kamu adalah
>/usr/src/linux-2.4.3.
>Oh ya, sekarang kamu lihat "makefile" yang ada pada source kode
>drivernya.
>Yang saya tahu, biasanya pada direktori ~/src/hamcore dan
>~/src/serial.
>Dan saya lihat ada juga kok di tempat kamu.
>Pada kedua direktori tersebut, rubah file makefile yang berbunyi :
>
>INCLUDES = -I /usr/include -I
>
>Menjadi :
>
>INCLUDES = -I /usr/src/linux-2.2.16/include -I
>
>Oh ya, ingat punya anda pasti bukan linux-2.2.16, ini kernel saya.
>Pada saat ini, saya rasa anda sudah bisa melalui tahap :
># make all
>Silahkan mencoba :
># make install
>Bila sudah berhasil, ok :)


-- 
Utk berhenti langganan, kirim email ke [EMAIL PROTECTED]
Dapatkan FAQ milis dg mengirim email kosong ke [EMAIL PROTECTED]
Informasi arsip di http://www.linux.or.id/milis.php3

Kirim email ke