http://www.slacky.eu/wikislack/index.php?title=Breve_guida_a_DMRAID
come posso mettere questo driver, dmraid, durante la live di ubuntu 9.04 o fedora 10 in modo che mi riconosca il raid? quando faccio ./configure mi da errore sotto fedora 10 dice no accettable c compiler found in path... cosi ho pensato di scarica il pacchetto gcc con yum... ma poi quando faccio make mi dice commando non trovato -_-
edit... ho fatto yum install make e ora invece di comando non trovato mi da questo risultato
Codice:
make -C include
make[1]: Entering directory `/home/liveuser/Download/dmraid/1.0.0.rc15/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/liveuser/Download/dmraid/1.0.0.rc15/include'
make -C lib
make[1]: Entering directory `/home/liveuser/Download/dmraid/1.0.0.rc15/lib'
gcc -MM -MF activate/devmapper.d -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -O2 -D_LARGEFILE64_SOURCE activate/devmapper.c; \
gcc -c -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -O2 -D_LARGEFILE64_SOURCE activate/devmapper.c -o activate/devmapper.o
activate/devmapper.c:15:26: error: libdevmapper.h: No such file or directory
activate/devmapper.c: In function ‘mkdm_path’:
activate/devmapper.c:34: warning: implicit declaration of function ‘dm_dir’
activate/devmapper.c:34: warning: initialization makes pointer from integer without a cast
activate/devmapper.c: In function ‘_init_dm’:
activate/devmapper.c:55: warning: implicit declaration of function ‘dm_log_init’
activate/devmapper.c: At top level:
activate/devmapper.c:60: warning: ‘struct dm_task’ declared inside parameter list
activate/devmapper.c:60: warning: its scope is only this definition or declaration, which is probably not what you want
activate/devmapper.c: In function ‘_exit_dm’:
activate/devmapper.c:63: warning: implicit declaration of function ‘dm_task_destroy’
activate/devmapper.c:65: warning: implicit declaration of function ‘dm_lib_release’
activate/devmapper.c:66: warning: implicit declaration of function ‘dm_lib_exit’
activate/devmapper.c: In function ‘get_target_list’:
activate/devmapper.c:79: warning: implicit declaration of function ‘dm_task_create’
activate/devmapper.c:79: error: ‘DM_DEVICE_LIST_VERSIONS’ undeclared (first use in this function)
activate/devmapper.c:79: error: (Each undeclared identifier is reported only once
activate/devmapper.c:79: error: for each function it appears in.)
activate/devmapper.c:79: warning: assignment makes pointer from integer without a cast
activate/devmapper.c:80: warning: implicit declaration of function ‘dm_task_run’
activate/devmapper.c:80: warning: implicit declaration of function ‘dm_task_get_versions’
activate/devmapper.c:80: warning: pointer/integer type mismatch in conditional expression
activate/devmapper.c: In function ‘valid_ttype’:
activate/devmapper.c:100: error: dereferencing pointer to incomplete type
activate/devmapper.c:100: error: dereferencing pointer to incomplete type
activate/devmapper.c:100: error: dereferencing pointer to incomplete type
activate/devmapper.c:100: error: dereferencing pointer to incomplete type
activate/devmapper.c:100: error: dereferencing pointer to incomplete type
activate/devmapper.c:100: error: dereferencing pointer to incomplete type
activate/devmapper.c:100: error: dereferencing pointer to incomplete type
activate/devmapper.c:100: error: dereferencing pointer to incomplete type
activate/devmapper.c:100: error: dereferencing pointer to incomplete type
activate/devmapper.c:100: error: dereferencing pointer to incomplete type
activate/devmapper.c:100: error: dereferencing pointer to incomplete type
activate/devmapper.c:100: error: dereferencing pointer to incomplete type
activate/devmapper.c:100: error: dereferencing pointer to incomplete type
activate/devmapper.c:100: error: dereferencing pointer to incomplete type
activate/devmapper.c:100: error: dereferencing pointer to incomplete type
activate/devmapper.c:100: error: dereferencing pointer to incomplete type
activate/devmapper.c:100: error: dereferencing pointer to incomplete type
activate/devmapper.c:100: error: dereferencing pointer to incomplete type
activate/devmapper.c:100: error: dereferencing pointer to incomplete type
activate/devmapper.c:100: error: dereferencing pointer to incomplete type
activate/devmapper.c:104: error: dereferencing pointer to incomplete type
activate/devmapper.c: At top level:
activate/devmapper.c:117: warning: ‘struct dm_task’ declared inside parameter list
activate/devmapper.c: In function ‘handle_table’:
activate/devmapper.c:141: warning: implicit declaration of function ‘dm_task_add_target’
activate/devmapper.c: At top level:
activate/devmapper.c:151: warning: ‘struct dm_task’ declared inside parameter list
activate/devmapper.c: In function ‘parse_table’:
activate/devmapper.c:153: warning: passing argument 2 of ‘handle_table’ from incompatible pointer type
activate/devmapper.c: In function ‘run_task’:
activate/devmapper.c:194: warning: assignment makes pointer from integer without a cast
activate/devmapper.c:194: warning: implicit declaration of function ‘dm_task_set_name’
activate/devmapper.c:196: warning: passing argument 2 of ‘parse_table’ from incompatible pointer type
activate/devmapper.c:199: error: ‘DM_DEVICE_CREATE’ undeclared (first use in this function)
activate/devmapper.c:201: warning: implicit declaration of function ‘dm_task_set_uuid’
activate/devmapper.c:206: warning: passing argument 1 of ‘_exit_dm’ from incompatible pointer type
activate/devmapper.c: In function ‘dm_create’:
activate/devmapper.c:217: error: ‘DM_DEVICE_CREATE’ undeclared (first use in this function)
activate/devmapper.c: In function ‘dm_suspend’:
activate/devmapper.c:234: error: ‘DM_DEVICE_SUSPEND’ undeclared (first use in this function)
activate/devmapper.c: In function ‘dm_resume’:
activate/devmapper.c:242: error: ‘DM_DEVICE_RESUME’ undeclared (first use in this function)
activate/devmapper.c: In function ‘dm_reload’:
activate/devmapper.c:252: error: ‘DM_DEVICE_RELOAD’ undeclared (first use in this function)
activate/devmapper.c: In function ‘dm_remove’:
activate/devmapper.c:269: error: ‘DM_DEVICE_REMOVE’ undeclared (first use in this function)
activate/devmapper.c: In function ‘dm_status’:
activate/devmapper.c:279: error: storage size of ‘info’ isn’t known
activate/devmapper.c:284: error: ‘DM_DEVICE_STATUS’ undeclared (first use in this function)
activate/devmapper.c:284: warning: assignment makes pointer from integer without a cast
activate/devmapper.c:286: warning: implicit declaration of function ‘dm_task_get_info’
activate/devmapper.c:287: warning: passing argument 1 of ‘_exit_dm’ from incompatible pointer type
activate/devmapper.c:279: warning: unused variable ‘info’
activate/devmapper.c: In function ‘dm_version’:
activate/devmapper.c:303: error: ‘DM_DEVICE_VERSION’ undeclared (first use in this function)
activate/devmapper.c:303: warning: assignment makes pointer from integer without a cast
activate/devmapper.c:305: warning: implicit declaration of function ‘dm_task_get_driver_version’
activate/devmapper.c:306: warning: passing argument 1 of ‘_exit_dm’ from incompatible pointer type
make[1]: *** [activate/devmapper.o] Error 1
make[1]: Leaving directory `/home/liveuser/Download/dmraid/1.0.0.rc15/lib'
make: *** [lib] Error 2
edit: ok ce lho fatta... non so perchè ma su fedora 10, nonostante sia già attivo dmraid, non funziona... mentre su ubuntu sono riuscito ad installarlo e farlo funzionare