Forum francophone pour la Debian
Vous n'êtes pas connecté.
Je désire que ma debian contrôle mon iPod formatté HFS+,
et je me base sur le Howto de iPodLinux pour ce faire.
Mais je rencontre un pépin lors de la première partie de la compilation, qui doit créer l'outil mkfs.hfsplus :
# make -f Makefile.lnx for d in newfs_hfs.tproj fsck_hfs.tproj; do make -C $d -f Makefile.lnx all; done make[1]: Entering directory `/home/pathe/diskdev_cmds-332.14/newfs_hfs.tproj' gcc -g3 -Wall -I/home/pathe/diskdev_cmds-332.14/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o hfs_endian.o hfs_endian.c gcc -g3 -Wall -I/home/pathe/diskdev_cmds-332.14/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o makehfs.o makehfs.c makehfs.c:54:25: error: openssl/sha.h: Aucun fichier ou répertoire de ce type makehfs.c: In function 'InitMDB': makehfs.c:571: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness makehfs.c: In function 'GenerateVolumeUUID': makehfs.c:2058: error: 'SHA_CTX' undeclared (first use in this function) makehfs.c:2058: error: (Each undeclared identifier is reported only once makehfs.c:2058: error: for each function it appears in.) makehfs.c:2058: error: syntax error before 'context' makehfs.c:2074: warning: implicit declaration of function 'SHA1_Init' makehfs.c:2074: error: 'context' undeclared (first use in this function) makehfs.c:2080: warning: implicit declaration of function 'SHA1_Update' makehfs.c:2141: warning: implicit declaration of function 'SHA1_Final' make[1]: *** [makehfs.o] Erreur 1 make[1]: Leaving directory `/home/pathe/diskdev_cmds-332.14/newfs_hfs.tproj'
La suite de la compilation, qui me donne la fonction fsck.hfsplus, se passe à peu près bien, malgré quelques erreurs :
... SBTree.c: In function 'SearchBTreeRecord': SBTree.c:96: warning: pointer targets in passing argument 1 of 'DebugStr' differ in signedness SBTree.c: In function 'GetBTreeRecord': SBTree.c:193: warning: pointer targets in passing argument 1 of 'DebugStr' differ in signedness ...
Quelqu'un pourrait-il m'apporter ses lumières ? Merci.
Dernière modification par pathe (2006-04-17 13:23:48)
Hors ligne
Merci !
(dès que ça concerne le monde mac, bz31 est là !)
Ça a l'air de marcher.
Mais je ne comprends pas ce nom, libssl-dev :
pour moi, le suffixe -dev indiquait que cette librairie était requise seulement pour faire du développement,
et pas pour une bête installation comme dans mon cas.
Hors ligne
La compilation est une étape du développement. Le message d'erreur dit qu'elle n'a pas trouvé le fichier openssl/sha.h nécessaire (qui est un fichier du paquet libssl-dev).
Hors ligne