On Mon, 24 Aug 2020 11:29:11 +0200, Dominique ROUSSET dominique.rousset@univ-pau.fr wrote:
Hi everyone
John has set up a new 44 minor release of Seismic Unix (R19). Thank you John !
It is available at https://wiki.seismic-unix.org
Hi all,
I have just downloaded and start compiling this 44R19 whith the default config (it is the Ubuntu config after all). It went well, with the usual cornucopia of warnings, until I tried to execute "make sfinstall". At a point it returned:
cc -c -I. -I.. -O -Dvt_threaded=0 stdfgetc.c In file included from /usr/include/wchar.h:43:0, from ../sfhdr.h:304, from stdio_s.h:11, from stdfgetc.c:1: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: conflicting types for ‘__FILE’ typedef struct _IO_FILE __FILE; ^~~~~~ In file included from stdfgetc.c:1:0: stdio_s.h:8:25: note: previous declaration of ‘__FILE’ was here typedef struct _sfio_s *__FILE; ^~~~~~ Makefile:25: recipe for target 'stdfgetc.o' failed make[4]: *** [stdfgetc.o] Error 1 make[4]: Leaving directory '/usr/local/geof/cwp-44R19/src/Sfio/src/lib/sfio/Stdio_s' Makefile:146: recipe for target 'mkstdio_s' failed make[3]: *** [mkstdio_s] Error 2 make[3]: Leaving directory '/usr/local/geof/cwp-44R19/src/Sfio/src/lib/sfio' Makefile:77: recipe for target 'install' failed make[2]: *** [install] Error 2 make[2]: Leaving directory '/usr/local/geof/cwp-44R19/src/Sfio/src/lib/sfio' Makefile:6: recipe for target 'INSTALL' failed make[1]: *** [INSTALL] Error 2 make[1]: Leaving directory '/usr/local/geof/cwp-44R19/src/Sfio' Makefile:129: recipe for target 'sfinstall' failed make: *** [sfinstall] Error 2
It seems that there is a conflicting name in this "__FILE" symbol. Is there any direction to fix it?
BTW: I am using [Xu|U]buntu 18.05 LTS with the distribution development support:
$ gcc --version gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 Copyright (C) 2017 Free Software Foundation, Inc. ... NO warranty... $ gfortran --version GNU Fortran (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 Copyright (C) 2017 Free Software Foundation, Inc. ... NO warranty... $ make --version GNU Make 4.1 Compilado para x86_64-pc-linux-gnu Copyright (C) 1988-2014 Free Software Foundation, Inc. Licença GPLv3+: GNU GPL versão 3 ou posterior ... NO warranty...
Enjoy SU
D.
Roxo