Code: Select all
apt-get install build-essential
Code: Select all
apt-get install build-essential
Code: Select all
# apt-get install build-essential
Code: Select all
$ which cc
Code: Select all
$ ls -l /usr/bin/cc
lrwxrwxrwx 1 root root 20 Dec 18 2010 /usr/bin/cc -> /etc/alternatives/cc
$ ls -l /etc/alternatives/cc
Code: Select all
$ update-alternatives --list cc
Code: Select all
# update-alternatives --config cc
Thanks!Gordon wrote:Did you install the meta package `build-essential`?Code: Select all
apt-get install build-essential
Code: Select all
root@b2:/home/storage/idle3-tools-0.9.1/idle3-tools-0.9.1# ./idle3ctl -d /dev/sda
sg16(VSC_ENABLE) failed: Input/output error
Code: Select all
root@b2:/home/storage/idle3-tools-0.9.1# make
cc -g -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -c -o idle3ctl.o idle3ctl.c
idle3ctl.c:48: warning: function declaration isn't a prototype
idle3ctl.c:89: warning: function declaration isn't a prototype
idle3ctl.c:113: warning: function declaration isn't a prototype
idle3ctl.c:136: warning: no previous prototype for 'VSC_send_key'
idle3ctl.c:167: warning: function declaration isn't a prototype
idle3ctl.c:174: warning: function declaration isn't a prototype
idle3ctl.c:182: warning: no previous prototype for 'VSC_get_timer'
idle3ctl.c:213: warning: no previous prototype for 'VSC_set_timer'
idle3ctl.c:244: warning: no previous prototype for 'cleanup'
idle3ctl.c:252: warning: no previous prototype for 'show_version'
idle3ctl.c:258: warning: no previous prototype for 'show_usage'
cc -g -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -c -o sgio.o sgio.c
cc -s -o idle3ctl idle3ctl.o sgio.o
#strip idle3ctl
Code: Select all
http://ftp.debian.org/debian/pool/main/i/idle3-tools/
Sorry to say it seems you were right in your first statement...There's actually a binary for this in the Debian repository! So if you think something went wrong during compiling, you can grab the package from there and install it to retry.
I disabled the parking now after 2,646 million lcc's, right on the edge of fail I guess.fatmelter wrote:My WD20EARS 2TB stock driver died with LCC 2,4 million.