Visualizzazione dei risultati da 1 a 7 su 7

Discussione: Unresolved symbols

  1. #1

    Unresolved symbols

    ho installato dei drivers per una scheda di interfaccia PCMCIA-Bus CAN seguendo queste istruzioni:

    On a RedHat-like system, installing is simply done by issuing a su followed by make install.

    This will perform the following tasks:

    The modules /lib/modules/`uname -r`/kernel/drivers/pcmcia/lapcan_cs.o i and /lib/modules/`uname -r`/kernel/drivers/char/kvpcican.o will be copied .

    If you need the modules somewhere else, please edit the installscript_pcican.sh or installscript_lapcan.sh.

    For LAPcan, the file config/can is copied to /etc/pcmcia/. This script handles the device nodes for LAPcan when the card is inserted/removed.

    The following lines are then added to /etc/pcmcia/config

    device "lapcan_cs" class "can" module "lapcan_cs"
    card "Kvaser LAPcan" manfid 0x01ee, 0x001d bind "lapcan_cs"
    card "Kvaser LAPcan II" manfid 0x01ee, 0x0073 bind "lapcan_cs"

    This states that the driver lapcan_cs.o shall be loaded when cards with the "manfid" of LAPcan/LAPcan II are inserted and the "can" script shall be run.


    Tutto pare funzionare: i file lapcan_cs.o e configure sono copiati nelle directory indicate e le righe che vanno scritte in etc/pcmcia/config effettivamente ci sono.

    Però quando inserisco la scheda il driver lapcan_cs.o non parte e se riavvio alla voce "finding module dependencies" mi segnala il seguente errore:

    depmode *** unresolved symbols in /lib/modules/2.4.18-3/kernel/drivers/pcmcia/lapcan_cs.o

    e anche in /lib/modules/2.4.18-3/pcmcia/lapcan_cs.o

    Secondo voi da cosa può dipendere? Ho una Red-Hat 7.2.

  2. #2
    Se a qualcuno interessa ( ) il file tar con sorgente è questo: http://xoomer.virgilio.it/ing.elettr...xcan_30.tar.gz

  3. #3
    Nessuno che può darmi una mano??

  4. #4

    1. Prerequisites

    Make sure you have the right software tools to build Kvaser Linux CANlib. You will need the following:

    * Linux kernel source tree configured for the kernel you are running.
    * A kernel supporting modules.
    * For PCIcan: PCI support.
    * For LAPcan: PCMCIA Card Services support.
    * The same C-compiler as used for the kernel build. *Note: gcc 3.1 can produce a broken driver.
    sei sicuro di soddisfare questi prerequisiti? Al punto uno dice di avere i sorgenti del kernel...tu hai il kernel compilato da sorgenti?

  5. #5
    l'unica cosa su cui ho qualche dubbio è la versione del compilatore.. come faccio a sapere che versione è il mio gcc?

    Scusa l'ignoranza

  6. #6

  7. #7
    hi risolto con man gcc ed è la 2.96

    quindi niente a che vedere con la 3.1 incriminata.

    allora dove sta il problema? (

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 © 2024 vBulletin Solutions, Inc. All rights reserved.