hddtemp slackbuild ne veut pas s'installer !

French Forum
Post Reply
User avatar
Chokapic
Posts: 11
Joined: 31. Dec 2011, 00:50

hddtemp slackbuild ne veut pas s'installer !

Post by Chokapic »

Salut à tous !
:o J'ai un petit soucis avec le slackbuild de hddtemp qui ne veut pas s'installer. Alors que sous les dérivés debian, aucun bug, donc ce n'est pas un problème de reconnaissance de mon disuqe.
Voici le retour de la console :
...config.status: creating po/Makefile
hddtemp-0.3-beta15 is now configured for
Build: i486-slackware-linux-gnu
Host: i486-slackware-linux-gnu
Source directory: .
Installation prefix: /usr
C compiler: gcc -O2 -march=i486 -mtune=i686 -Wall -W -Wcast-align

make all-recursive
make[1] : on entre dans le répertoire « /tmp/SBo/hddtemp-0.3-beta15 »
Making all in intl
make[2] : on entre dans le répertoire « /tmp/SBo/hddtemp-0.3-beta15/intl »
make[2]: Rien à faire pour « all ».
make[2] : on quitte le répertoire « /tmp/SBo/hddtemp-0.3-beta15/intl »
Making all in po
make[2] : on entre dans le répertoire « /tmp/SBo/hddtemp-0.3-beta15/po »
make[2]: Rien à faire pour « all ».
make[2] : on quitte le répertoire « /tmp/SBo/hddtemp-0.3-beta15/po »
Making all in m4
make[2] : on entre dans le répertoire « /tmp/SBo/hddtemp-0.3-beta15/m4 »
make[2]: Rien à faire pour « all ».
make[2] : on quitte le répertoire « /tmp/SBo/hddtemp-0.3-beta15/m4 »
Making all in src
make[2] : on entre dans le répertoire « /tmp/SBo/hddtemp-0.3-beta15/src »
if gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -I.. -I../intl -I../intl -Wall -W -rdynamic -O2 -march=i486 -mtune=i686 -Wall -W -Wcast-align -MT hddtemp-ata.o -MD -MP -MF ".deps/hddtemp-ata.Tpo" \
-c -o hddtemp-ata.o `test -f 'ata.c' || echo './'`ata.c; \
then mv -f ".deps/hddtemp-ata.Tpo" ".deps/hddtemp-ata.Po"; \
else rm -f ".deps/hddtemp-ata.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -I.. -I../intl -I../intl -Wall -W -rdynamic -O2 -march=i486 -mtune=i686 -Wall -W -Wcast-align -MT hddtemp-atacmds.o -MD -MP -MF ".deps/hddtemp-atacmds.Tpo" \
-c -o hddtemp-atacmds.o `test -f 'atacmds.c' || echo './'`atacmds.c; \
then mv -f ".deps/hddtemp-atacmds.Tpo" ".deps/hddtemp-atacmds.Po"; \
else rm -f ".deps/hddtemp-atacmds.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -I.. -I../intl -I../intl -Wall -W -rdynamic -O2 -march=i486 -mtune=i686 -Wall -W -Wcast-align -MT hddtemp-daemon.o -MD -MP -MF ".deps/hddtemp-daemon.Tpo" \
-c -o hddtemp-daemon.o `test -f 'daemon.c' || echo './'`daemon.c; \
then mv -f ".deps/hddtemp-daemon.Tpo" ".deps/hddtemp-daemon.Po"; \
else rm -f ".deps/hddtemp-daemon.Tpo"; exit 1; \
fi
daemon.c: In function ‘daemon_stop’:
daemon.c:261:22: attention : unused parameter ‘n’
if gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -I.. -I../intl -I../intl -Wall -W -rdynamic -O2 -march=i486 -mtune=i686 -Wall -W -Wcast-align -MT hddtemp-db.o -MD -MP -MF ".deps/hddtemp-db.Tpo" \
-c -o hddtemp-db.o `test -f 'db.c' || echo './'`db.c; \
then mv -f ".deps/hddtemp-db.Tpo" ".deps/hddtemp-db.Po"; \
else rm -f ".deps/hddtemp-db.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -I.. -I../intl -I../intl -Wall -W -rdynamic -O2 -march=i486 -mtune=i686 -Wall -W -Wcast-align -MT hddtemp-hddtemp.o -MD -MP -MF ".deps/hddtemp-hddtemp.Tpo" \
-c -o hddtemp-hddtemp.o `test -f 'hddtemp.c' || echo './'`hddtemp.c; \
then mv -f ".deps/hddtemp-hddtemp.Tpo" ".deps/hddtemp-hddtemp.Po"; \
else rm -f ".deps/hddtemp-hddtemp.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -I.. -I../intl -I../intl -Wall -W -rdynamic -O2 -march=i486 -mtune=i686 -Wall -W -Wcast-align -MT hddtemp-sata.o -MD -MP -MF ".deps/hddtemp-sata.Tpo" \
-c -o hddtemp-sata.o `test -f 'sata.c' || echo './'`sata.c; \
then mv -f ".deps/hddtemp-sata.Tpo" ".deps/hddtemp-sata.Po"; \
else rm -f ".deps/hddtemp-sata.Tpo"; exit 1; \
fi
sata.c: In function ‘sata_probe’:
sata.c:71:3: attention : pointer targets in passing argument 2 of ‘scsi_inquiry’ differ in signedness
scsicmds.h:29:5: note: expected ‘unsigned char *’ but argument is of type ‘char *’
sata.c: In function ‘sata_model’:
sata.c:92:5: attention : pointer targets in passing argument 1 of ‘strlen’ differ in signedness
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
sata.c:92:5: attention : pointer targets in passing argument 1 of ‘__strdup’ differ in signedness
/usr/include/bits/string2.h:1303:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
if gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -I.. -I../intl -I../intl -Wall -W -rdynamic -O2 -march=i486 -mtune=i686 -Wall -W -Wcast-align -MT hddtemp-satacmds.o -MD -MP -MF ".deps/hddtemp-satacmds.Tpo" \
-c -o hddtemp-satacmds.o `test -f 'satacmds.c' || echo './'`satacmds.c; \
then mv -f ".deps/hddtemp-satacmds.Tpo" ".deps/hddtemp-satacmds.Po"; \
else rm -f ".deps/hddtemp-satacmds.Tpo"; exit 1; \
fi
if gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -I.. -I../intl -I../intl -Wall -W -rdynamic -O2 -march=i486 -mtune=i686 -Wall -W -Wcast-align -MT hddtemp-scsi.o -MD -MP -MF ".deps/hddtemp-scsi.Tpo" \
-c -o hddtemp-scsi.o `test -f 'scsi.c' || echo './'`scsi.c; \
then mv -f ".deps/hddtemp-scsi.Tpo" ".deps/hddtemp-scsi.Po"; \
else rm -f ".deps/hddtemp-scsi.Tpo"; exit 1; \
fi
scsi.c: In function ‘scsi_model’:
scsi.c:66:5: attention : pointer targets in passing argument 1 of ‘strlen’ differ in signedness
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
scsi.c:66:5: attention : pointer targets in passing argument 1 of ‘__strdup’ differ in signedness
/usr/include/bits/string2.h:1303:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
if gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -I.. -I../intl -I../intl -Wall -W -rdynamic -O2 -march=i486 -mtune=i686 -Wall -W -Wcast-align -MT hddtemp-scsicmds.o -MD -MP -MF ".deps/hddtemp-scsicmds.Tpo" \
-c -o hddtemp-scsicmds.o `test -f 'scsicmds.c' || echo './'`scsicmds.c; \
then mv -f ".deps/hddtemp-scsicmds.Tpo" ".deps/hddtemp-scsicmds.Po"; \
else rm -f ".deps/hddtemp-scsicmds.Tpo"; exit 1; \
fi
scsicmds.c: In function ‘scsi_modeselect’:
scsicmds.c:184:3: attention : pointer targets in passing argument 4 of ‘scsi_command’ differ in signedness
scsicmds.c:116:5: note: expected ‘unsigned char *’ but argument is of type ‘char *’
scsicmds.c: In function ‘scsi_smartDEXCPTdisable’:
scsicmds.c:216:5: attention : pointer targets in passing argument 2 of ‘scsi_modeselect’ differ in signedness
scsicmds.c:171:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’
if gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -I.. -I../intl -I../intl -Wall -W -rdynamic -O2 -march=i486 -mtune=i686 -Wall -W -Wcast-align -MT hddtemp-backtrace.o -MD -MP -MF ".deps/hddtemp-backtrace.Tpo" \
-c -o hddtemp-backtrace.o `test -f 'backtrace.c' || echo './'`backtrace.c; \
then mv -f ".deps/hddtemp-backtrace.Tpo" ".deps/hddtemp-backtrace.Po"; \
else rm -f ".deps/hddtemp-backtrace.Tpo"; exit 1; \
fi
backtrace.c: In function ‘backtrace_handler’:
backtrace.c:67:29: erreur: ‘REG_EIP’ undeclared (first use in this function)
backtrace.c:67:29: note: each undeclared identifier is reported only once for each function it appears in
backtrace.c:45:32: attention : unused variable ‘old_ebp’
backtrace.c:45:23: attention : unused variable ‘old_eip’
make[2]: *** [hddtemp-backtrace.o] Erreur 1
make[2] : on quitte le répertoire « /tmp/SBo/hddtemp-0.3-beta15/src »
make[1]: *** [all-recursive] Erreur 1
make[1] : on quitte le répertoire « /tmp/SBo/hddtemp-0.3-beta15 »
make: *** [all] Erreur 2
root[hddtemp]#
Il ne semble pas manquer de dépendances alors c'est quoi le hic ?!... :cry:
Le plus grand pouvoir dans le monde est le nombre de personnes qui pensent et agissent de concert au même moment il est temps de s'en servir pour rétablir les valeurs fondamentales de l'Humanité Une.
User avatar
JRD
Salix Warrior
Posts: 950
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: hddtemp slackbuild ne veut pas s'installer !

Post by JRD »

hddtemp-0.3-beta15
Je pense qu'il vaudrait mieux utiliser une version stable de ce logiciel plutôt qu'une version beta. Sur les debian et debian dérivées que tu as utilisées, quelle était la version de hddtemp ? Je pense que hddtemp s'attend à certaines choses qui ne sont pas définies dans les includes des librairies et kernel de Salix/Slackware.

[Edit]
Une solution trouvée ici : http://stackoverflow.com/questions/5679 ... on-linux-3
Je l'ai trouvé en googlisant le message d'erreur (Tu noteras que l'erreur est du côté de hddtemp et non-spécifique à une distribution).
Image
Post Reply