talora07

Compiler.h Asterisk 1.2

In Berita on June 22, 2010 at 6:59 pm

Sudah lama ga update blog … sibuk atau sok sibuk 🙂 .

Begini ceritanya : Saat kucoba install Asterisk versi 1.2.12.1 dan pass compile tiba2 muncul error seperti dibawah ini:

chan_phone.c:41:29: error: linux/compiler.h: No such file or directory
make[1]: *** [chan_phone.o] Error 1

Setelah mencoba mencari lewat om google, ketemu dech jawabannya di http://kanghari.blogsome.com/

Caranya ternyata mudah, buka file chan_phone.c dan edit file tersebut yaitu pass dibaris

#include
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
# include #endif

Ubah menjadi:

#ifdef HAVE_LINUX_COMPILER_H
#include #endif

Sekarang coba compile lagi … he he ternyata berhasil dan sukses. OK selamt mencoba!

Advertisements
  1. ya ampun kak….
    b baru liat ni blog lho..
    ternyata ada jg toh,hehe…

  2. Ada. Umurnya sudah sekitar 2 tahun.
    Lu pung blog kermana, update terus ko?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: