[Gate-users] Problems with installation of ECAT7

Ba Es begate at ymail.com
Sat Nov 23 07:05:02 CET 2013


Dear Gate User
Hi
I have problem during installing ecat7.
I did these jobs as written in "INSTALL" file in ecat7 folder:

1. extract all files from the UCL archive in the right directory
   (by typing 'tar zxvf ecat.tar.gz')
2. copy the right Makefile.<os> to Makefile
3. type 'make depend'
   this will put the file dependencies in the Makefile
4. type 'make'
   this will build the library
5. goto the utils directory
6. copy the right Makefile.<os> to Makefile
7. type 'make'
   this will create some ultility programs

when I go to utils directory and type "make", I give this errors:

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 ‘time_t’ [-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] Error 1


I will be thankful if you can help me.

Best Regards,
Babak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20131122/e2f36688/attachment.html>


More information about the Gate-users mailing list