[Gate-users] Prolem with installation ECAT
Kowalski Paweł
Pawel.Kowalski at ncbj.gov.pl
Wed Oct 10 11:51:28 CEST 2012
Hi,
I have problem with installation ECAT library on Ubuntu 12.04. Firstly, when I use command 'make depend' in ecat directory I have following warnings:
makedepend -Dunix -O -I. ./*.c ./lib_compress/*.c
makedepend: warning: ./analyze.c (reading /usr/include/gnu/stubs.h, line 7): cannot find include file "gnu/stubs-32.h"
not in ./gnu/stubs-32.h
not in /usr/include/gnu/stubs-32.h
makedepend: warning: ./analyze.c (reading /usr/include/time.h, line 38): cannot find include file "stddef.h"
not in ./stddef.h
not in /usr/include/stddef.h
makedepend: warning: ./analyze.c (reading /usr/include/string.h, line 34): cannot find include file "stddef.h"
not in ./stddef.h
not in /usr/include/stddef.h
makedepend: warning: ./analyze.c (reading /usr/include/stdlib.h, line 33): cannot find include file "stddef.h"
not in ./stddef.h
not in /usr/include/stddef.h
makedepend: warning: ./analyze.c (reading /usr/include/sys/types.h, line 147): cannot find include file "stddef.h"
not in ./stddef.h
not in /usr/include/stddef.h
makedepend: warning: ./analyze.c (reading /usr/include/alloca.h, line 25): cannot find include file "stddef.h"
not in ./stddef.h
not in /usr/include/stddef.h
makedepend: warning: ./analyze.c (reading /usr/include/stdio.h, line 34): cannot find include file "stddef.h"
not in ./stddef.h
not in /usr/include/stddef.h
makedepend: warning: ./analyze.c (reading /usr/include/_G_config.h, line 15): cannot find include file "stddef.h"
not in ./stddef.h
not in /usr/include/stddef.h
makedepend: warning: ./analyze.c (reading /usr/include/wchar.h, line 52): cannot find include file "stddef.h"
not in ./stddef.h
not in /usr/include/stddef.h
makedepend: warning: ./analyze.c (reading /usr/include/sys/socket.h, line 30): cannot find include file "stddef.h"
not in ./stddef.h
not in /usr/include/stddef.h
makedepend: warning: ./analyze.c (reading /usr/include/bits/socket.h, line 29): cannot find include file "stddef.h"
not in ./stddef.h
not in /usr/include/stddef.h
makedepend: warning: ./load_volume7.c (reading /usr/include/malloc.h, line 25): cannot find include file "stddef.h"
not in ./stddef.h
not in /usr/include/stddef.h
makedepend: warning: ./matrix_extra.c (reading /usr/include/unistd.h, line 227): cannot find include file "stddef.h"
not in ./stddef.h
not in /usr/include/stddef.h
makedepend: warning: ./matrix_xdr.c (reading /usr/include/limits.h, line 125): cannot find include file "limits.h"
makedepend: warning: ./rts_cmd.c (reading /usr/include/rpc/netdb.h, line 42): cannot find include file "stddef.h"
not in ./stddef.h
not in /usr/include/stddef.h
makedepend: warning: cannot open "./lib_compress/*.c"
When I run 'make' command in the same directory it compiles, but when I run make command in ecat/utils directory, I get following error:
cc -O -I.. -o show_header ./show_header.c ../libecat.a -lrpcsvc -lnsl -lsocket -lm
./show_header.c: In function ‘main’:
./show_header.c:28:3: warning: incompatible implicit declaration of built-in function ‘exit’ [enabled by default]
./show_header.c:33:4: warning: incompatible implicit declaration of built-in function ‘exit’ [enabled by default]
./show_header.c:66:2: warning: incompatible implicit declaration of built-in function ‘exit’ [enabled by default]
./show_header.c: In function ‘show_main_header’:
./show_header.c:113:2: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘int’ [-Wformat]
./show_header.c:119:2: warning: incompatible implicit declaration of built-in function ‘strncpy’ [enabled by default]
./show_header.c:186:6: error: ‘dosage’ undeclared (first use in this function)
./show_header.c:186:6: note: each undeclared identifier is reported only once for each function it appears in
./show_header.c:193:2: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘int’ [-Wformat]
./show_header.c:194:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat]
./show_header.c: In function ‘show_image_subheader’:
./show_header.c:373:4: warning: format ‘%f’ expects argument of type ‘double’, but argument 4 has type ‘int’ [-Wformat]
./show_header.c: In function ‘day_time’:
./show_header.c:407:2: warning: incompatible implicit declaration of built-in function ‘strncpy’ [enabled by default]
./show_header.c: In function ‘show_norm_subheader’:
./show_header.c:466:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘double’ [-Wformat]
./show_header.c:467:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘double’ [-Wformat]
make: *** [show_header] Błąd 1
What should I do to install ecat library properly? Thanks for your help.
Is this library available as a .deb package or in any other compiled version for linux?
Best regards,
Paweł Kowalski
More information about the Gate-users
mailing list