Visualizzazione dei risultati da 1 a 3 su 3
  1. #1
    Utente di HTML.it L'avatar di chaosd
    Registrato dal
    Mar 2004
    Messaggi
    1,282

    errore compilazione kernel

    ciao, ho preso una scheda di acquisizione tv, quindi volevo aggiungere i moduli nel kernel e poi ricompilarlo, ma mi dà questo errore:

    codice:
    root@darkstar:/usr/src/linux-2.6.11.8# make
      CHK     include/linux/version.h
    make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
      CHK     include/linux/compile.h
      CHK     usr/initramfs_list
      CC      drivers/i2c/i2c-core.o
    In file included from drivers/i2c/i2c-core.c:29:
    include/linux/i2c.h:58: error: array type has incomplete element type
    include/linux/i2c.h:197: error: array type has incomplete element type
    drivers/i2c/i2c-core.c: In function 'i2c_transfer':
    drivers/i2c/i2c-core.c:594: error: type of formal parameter 2 is incomplete
    drivers/i2c/i2c-core.c: In function 'i2c_master_send':
    drivers/i2c/i2c-core.c:620: error: type of formal parameter 2 is incomplete
    drivers/i2c/i2c-core.c: In function 'i2c_master_recv':
    drivers/i2c/i2c-core.c:649: error: type of formal parameter 2 is incomplete
    make[2]: *** [drivers/i2c/i2c-core.o] Error 1
    make[1]: *** [drivers/i2c] Error 2
    make: *** [drivers] Error 2

    notare che i2c non si può togliere, perchè si attiva automaticamente quando metto il modulo della scheda nella sezione Video for Linux

    <Girls are like Internet Domains: the ones you like are already taken, but you can still get one from a strange country!>

    Computers are like conditioned air: they stop work properly when you open windows

    Livin' on: Kubuntu + 2.6.24.2

  2. #2
    aggiungi altri moduli di i2c Device Drivers >> i2c

    a volte non carica da se i moduli dipendenti

    guarda nell'help del modulo in genere c'è scritto da chi dipende

  3. #3
    Utente di HTML.it L'avatar di chaosd
    Registrato dal
    Mar 2004
    Messaggi
    1,282
    ho provato di tutto, e mi sono ricordato che avevo provato mesi fa ad installare gcc4.0, ma c'è stato qualche problema e sono tornato al 3.3.4

    ci ho pensato anche perchè non mi compilava più mplayer

    ho reinstallato la slack e ora tutto ok: il formattone non tradisce
    <Girls are like Internet Domains: the ones you like are already taken, but you can still get one from a strange country!>

    Computers are like conditioned air: they stop work properly when you open windows

    Livin' on: Kubuntu + 2.6.24.2

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.