SU cwp
Inviato: mar 20 nov 2007, 17:36
Salve a tutti
il titolo del topic è in pò criptico e scusatemi se ho sbagliato sezione: è il nome del programma che sto tentando di installare su una slack 12 fresca che non mi compila. Si tratta del Seismic unix del "center of wave phenomena" - programma di elaborazione di segnali sismici; è un programma alquanto complesso che va installato da utente e non da root. La compilazione si ferma quasi subito col seguente errore
.
.
.
.
make[2]: Entering directory `/home/benez/CWP/src/par/lib'
cc -c -I/home/benez/CWP/include -O3 -Wall -Wno-long-long -ansi -pedantic -D_POSIX_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DGNU_SOURCE -DCWP_LITTLE_ENDIAN atopkge.c
In file included from /usr/include/linux/errno.h:4,
from /usr/include/bits/errno.h:25,
from /usr/include/errno.h:36,
from atopkge.c:80:
/usr/include/asm/errno.h:4:31: error: asm-generic/errno.h: No such file or directory
atopkge.c: In function 'eatoh':
atopkge.c:87: error: 'ERANGE' undeclared (first use in this function)
atopkge.c:87: error: (Each undeclared identifier is reported only once
atopkge.c:87: error: for each function it appears in.)
atopkge.c: In function 'eatou':
atopkge.c:99: error: 'ERANGE' undeclared (first use in this function)
atopkge.c: In function 'eatoi':
atopkge.c:111: error: 'ERANGE' undeclared (first use in this function)
atopkge.c: In function 'eatop':
atopkge.c:123: error: 'ERANGE' undeclared (first use in this function)
atopkge.c: In function 'eatol':
atopkge.c:135: error: 'ERANGE' undeclared (first use in this function)
atopkge.c: In function 'eatov':
atopkge.c:147: error: 'ERANGE' undeclared (first use in this function)
atopkge.c: In function 'eatof':
atopkge.c:159: error: 'ERANGE' undeclared (first use in this function)
atopkge.c: In function 'eatod':
atopkge.c:172: error: 'ERANGE' undeclared (first use in this function)
make[2]: *** [/home/benez/CWP/lib/libpar.a(atopkge.o)] Error 1
make[2]: Leaving directory `/home/benez/CWP/src/par/lib'
make[1]: *** [INSTALL] Error 2
make[1]: Leaving directory `/home/benez/CWP/src/par'
make: *** [cwpstuff] Error 2
benez@slack_laptop:~/CWP/src$
al tentativo precedente avevo lo stesso tipo di errore è pensavo di aver risolto con
cd /usr/include
ln -s /usr/src/linux/
ln -s /usr/src/asm
stavolta ho provato a mettere anche il link
ln -s /usr/src/linux/include/asm-generic
dove c'è il file errno.h che non trova nell'errore
il problema è che continua a non trovarlo
dove sbaglio?
ciao benez
il titolo del topic è in pò criptico e scusatemi se ho sbagliato sezione: è il nome del programma che sto tentando di installare su una slack 12 fresca che non mi compila. Si tratta del Seismic unix del "center of wave phenomena" - programma di elaborazione di segnali sismici; è un programma alquanto complesso che va installato da utente e non da root. La compilazione si ferma quasi subito col seguente errore
.
.
.
.
make[2]: Entering directory `/home/benez/CWP/src/par/lib'
cc -c -I/home/benez/CWP/include -O3 -Wall -Wno-long-long -ansi -pedantic -D_POSIX_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DGNU_SOURCE -DCWP_LITTLE_ENDIAN atopkge.c
In file included from /usr/include/linux/errno.h:4,
from /usr/include/bits/errno.h:25,
from /usr/include/errno.h:36,
from atopkge.c:80:
/usr/include/asm/errno.h:4:31: error: asm-generic/errno.h: No such file or directory
atopkge.c: In function 'eatoh':
atopkge.c:87: error: 'ERANGE' undeclared (first use in this function)
atopkge.c:87: error: (Each undeclared identifier is reported only once
atopkge.c:87: error: for each function it appears in.)
atopkge.c: In function 'eatou':
atopkge.c:99: error: 'ERANGE' undeclared (first use in this function)
atopkge.c: In function 'eatoi':
atopkge.c:111: error: 'ERANGE' undeclared (first use in this function)
atopkge.c: In function 'eatop':
atopkge.c:123: error: 'ERANGE' undeclared (first use in this function)
atopkge.c: In function 'eatol':
atopkge.c:135: error: 'ERANGE' undeclared (first use in this function)
atopkge.c: In function 'eatov':
atopkge.c:147: error: 'ERANGE' undeclared (first use in this function)
atopkge.c: In function 'eatof':
atopkge.c:159: error: 'ERANGE' undeclared (first use in this function)
atopkge.c: In function 'eatod':
atopkge.c:172: error: 'ERANGE' undeclared (first use in this function)
make[2]: *** [/home/benez/CWP/lib/libpar.a(atopkge.o)] Error 1
make[2]: Leaving directory `/home/benez/CWP/src/par/lib'
make[1]: *** [INSTALL] Error 2
make[1]: Leaving directory `/home/benez/CWP/src/par'
make: *** [cwpstuff] Error 2
benez@slack_laptop:~/CWP/src$
al tentativo precedente avevo lo stesso tipo di errore è pensavo di aver risolto con
cd /usr/include
ln -s /usr/src/linux/
ln -s /usr/src/asm
stavolta ho provato a mettere anche il link
ln -s /usr/src/linux/include/asm-generic
dove c'è il file errno.h che non trova nell'errore
il problema è che continua a non trovarlo
dove sbaglio?
ciao benez