Re: suspend_bootsplash.c
En başta belirteyim ben kernel derleme konusunda çok acemiyim.
Ben bir de kernel-patch-suspend2 yaması uygulamaya çalıştım. Bunu da
deb http://http.us.debian.org/debian/ ../project/experimental main contrib non-free
adresinden kurdum. Bunu kurunca
/usr/src/kernel-patches/all/2.6.11/suspend2 şeklinde bir klasör oluştu.
Bu klasördeki dosyaları kaynak kodunun olduğu dizine kopyalayıp ./apply
diye uyguladım. Bootsplash'ı da sizin tarif ettiğiniz gibi yamadım. Ben
heralde yapmamam gereken birşeyi yaptım o da menuconfig i sıfırdan
oluşturmamdı. Bir de debianla gelen kernel 2.6.11 in ayarlarını
kopyalayıp deneyeyim bakalım ne olacak? Ben size tekrar bildiririm.
Ayrıyeten bootsplash kernel ayarları konulu mesajdaki sorun yine olursa
saydığınız modülleri de kontrol ederim.
On 6/1/05, Alper KANAT <tunix@raptiye.org
> wrote:Yanlış yamayı uygulamış olabilir misiniz diyeceğim ama ? Ya da
çekirdeğin kaynak kodunu tam açamamış olma ihtimaliniz var mı ? Bir
diğer seçenek ise uyguladığınız başka yamalar varsa onlardan kaynaklanan
bir problem de olabilir.. Bir de suspend_bootsplash gibi bir şey bana
acayip geldi... Suspending ile bootsplash arasında bir bağlantı
kuramıyorum ?
mehmet turkoglu yazmış:
> Debian tarzı kernel(2.6.11) derlerken derleme işlemi aşağıdaki hata
> ile sonlandı. Acaba bu sorunu nasıl çözerim?
>
> kernel/power/suspend_bootsplash.c:26:21:
plugins.h: Böyle bir dosya ya
> da dizin
> yok
> kernel/power/suspend_bootsplash.c:27:18: proc.h: Böyle bir dosya ya da
> dizin yok
> kernel/power/suspend_bootsplash.c:264: error: elements of array
> `proc_params' ha
> ve incomplete type
> kernel/power/suspend_bootsplash.c:265: error: unknown field `filename'
> specified
> in initializer
> kernel/power/suspend_bootsplash.c:265: uyarı: struct ilklendiricide
> gereğinden f
> azla öğe
> kernel/power/suspend_bootsplash.c:265: uyarı: (proc_params[0] için
> near ilklendi
> rme)
> kernel/power/suspend_bootsplash.c:266: error: unknown field
> `permissions' specif
> ied in initializer
> kernel/power/suspend_bootsplash.c:266: error: `PROC_RW' undeclared
> here (not in
> a function)
> kernel/power/suspend_bootsplash.c:266: uyarı: struct ilklendiricide
> gereğinden f
> azla öğe
> kernel/power/suspend_bootsplash.c:266: uyarı: (proc_params[0] için
> near ilklendi
> rme)
> kernel/power/suspend_bootsplash.c:267: error: unknown field `type'
> specified in
> initializer
> kernel/power/suspend_bootsplash.c:267: error:
> `SUSPEND_PROC_DATA_INTEGER' undecl
> ared here (not in a function)
> kernel/power/suspend_bootsplash.c:267: uyarı: struct ilklendiricide
> gereğinden f
> azla öğe
> kernel/power/suspend_bootsplash.c:267: uyarı: (proc_params[0] için
> near ilklendi
> rme)
> kernel/power/suspend_bootsplash.c:268: error: unknown field `data'
> specified in
> initializer
> kernel/power/suspend_bootsplash.c:268: error: ilklendiricinin sonunda
> fazladan p
> arantezli grup
> kernel/power/suspend_bootsplash.c:268: error: (near initialization for
> `proc_par
> ams[0]')
> kernel/power/suspend_bootsplash.c:269: error: ilklendiricinin sonunda
> fazladan p
> arantezli grup
> kernel/power/suspend_bootsplash.c:269: error: (near initialization for
> `proc_par
> ams[0]')
> kernel/power/suspend_bootsplash.c:274: uyarı: struct ilklendiricide
> gereğinden f
> azla öğe
> kernel/power/suspend_bootsplash.c:274: uyarı: (proc_params[0] için
> near ilklendi
> rme)
> kernel/power/suspend_bootsplash.c:277: error: unknown field `filename'
> specified
> in initializer
> kernel/power/suspend_bootsplash.c:277: uyarı: struct ilklendiricide
> gereğinden f
> azla öğe
> kernel/power/suspend_bootsplash.c:277: uyarı: (proc_params[1] için
> near ilklendi
> rme)
> kernel/power/suspend_bootsplash.c:278: error: unknown field
> `permissions' specif
> ied in initializer
> kernel/power/suspend_bootsplash.c:278: error: `PROC_RW' undeclared
> here (not in
> a function)
> kernel/power/suspend_bootsplash.c:278: uyarı: struct ilklendiricide
> gereğinden f
> azla öğe
> kernel/power/suspend_bootsplash.c:278: uyarı: (proc_params[1] için
> near ilklendi
> rme)
> kernel/power/suspend_bootsplash.c:279: error: unknown field `type'
> specified in
> initializer
> kernel/power/suspend_bootsplash.c:279: error:
> `SUSPEND_PROC_DATA_INTEGER' undecl
> ared here (not in a function)
> kernel/power/suspend_bootsplash.c:279: uyarı: struct ilklendiricide
> gereğinden f
> azla öğe
> kernel/power/suspend_bootsplash.c:279: uyarı: (proc_params[1] için
> near ilklendi
> rme)
> kernel/power/suspend_bootsplash.c:280: error: unknown field `data'
> specified in
> initializer
> kernel/power/suspend_bootsplash.c:280: error: ilklendiricinin sonunda
> fazladan p
> arantezli grup
> kernel/power/suspend_bootsplash.c:280: error: (near initialization for
> `proc_par
> ams[1]')
> kernel/power/suspend_bootsplash.c:281: error: ilklendiricinin sonunda
> fazladan p
> arantezli grup
> kernel/power/suspend_bootsplash.c:281: error: (near initialization for
> `proc_par
> ams[1]')
> kernel/power/suspend_bootsplash.c:282: error: invalid use of undefined
> type `str
> uct suspend_plugin_ops'
> kernel/power/suspend_bootsplash.c:286: uyarı: struct ilklendiricide
> gereğinden f
> azla öğe
> kernel/power/suspend_bootsplash.c:286: uyarı: (proc_params[1] için
> near ilklendi
> rme)
> kernel/power/suspend_bootsplash.c:290: error: variable
> `bootsplash_ops' has init
> ializer but incomplete type
> kernel/power/suspend_bootsplash.c:291: error: unknown field `type'
> specified in
> initializer
> kernel/power/suspend_bootsplash.c:291: error: `UI_PLUGIN' undeclared
> here (not i
> n a function)
> kernel/power/suspend_bootsplash.c:291: uyarı: struct ilklendiricide
> gereğinden f
> azla öğe
> kernel/power/suspend_bootsplash.c:291: uyarı: (bootsplash_ops için
> near ilklendi
> rme)
> kernel/power/suspend_bootsplash.c:292: error: unknown field `name'
> specified in
> initializer
> kernel/power/suspend_bootsplash.c:292: uyarı: struct ilklendiricide
> gereğinden f
> azla öğe
> kernel/power/suspend_bootsplash.c:292: uyarı: (bootsplash_ops için
> near ilklendi
> rme)
> kernel/power/suspend_bootsplash.c:293: error: unknown field `ops'
> specified in i
> nitializer
> kernel/power/suspend_bootsplash.c:293: error: ilklendiricinin sonunda
> fazladan p
> arantezli grup
> kernel/power/suspend_bootsplash.c:293: error: (near initialization for
> `bootspla
> sh_ops')
> kernel/power/suspend_bootsplash.c:294: error: ilklendiricinin sonunda
> fazladan p
> arantezli grup
> kernel/power/suspend_bootsplash.c:294: error: (near initialization for
> `bootspla
> sh_ops')
> kernel/power/suspend_bootsplash.c:301: uyarı: struct ilklendiricide
> gereğinden f
> azla öğe
> kernel/power/suspend_bootsplash.c:301: uyarı: (bootsplash_ops için
> near ilklendirme)
> kernel/power/suspend_bootsplash.c: `bootsplash_load' işlevinde:
> kernel/power/suspend_bootsplash.c:308: error: invalid application of
> `sizeof' to an incomplete type
> kernel/power/suspend_bootsplash.c:308: error: invalid application of
> `sizeof' to an incomplete type
> kernel/power/suspend_bootsplash.c:308: uyarı: division by zero
> kernel/power/suspend_bootsplash.c:312: uyarı: implicit declaration of
> function `suspend_register_plugin'
> kernel/power/suspend_bootsplash.c:314: uyarı: implicit declaration of
> function `suspend_register_procfile'
> kernel/power/suspend_bootsplash.c:314: error: invalid use of undefined
> type `struct suspend_proc_data'
> kernel/power/suspend_bootsplash.c: Üst düzeyde:
> kernel/power/suspend_bootsplash.c:290: error: storage size of
> `bootsplash_ops' isn't known
> make[3]: *** [kernel/power/suspend_bootsplash.o] Hata 1
> make[2]: *** [kernel/power] Hata 2
> make[1]: *** [kernel] Hata 2
> make[1]: Leaving directory `/usr/src/kernel-source-2.6.11'
> make: *** [stamp-build] Hata 2
Reply to: