Compiling bash statically in 4.2/4.3/4.4 with GCC 6.1.0
In addition to my previous email, I also tired older versions of bash, going back to 4.2 I get the exact same error with all of them with the only exception being that the error occurs on different lines, but it always boils down to this: ./config.h:332:22: error: two or more data types in declaration specifiers #define sig_atomic_t int I'm starting to wonder if this is a matter of setting the C style right, maybe it wants C89 or some other syntax? I didn't see anything like that specified as a requirement in either the readme, install, or faq...
Bash 4.4 on GCC 6.1.0 static build issue
Hello, I get the configure script to accept --enable-static-link seemingly without issue. I'm using gcc 6.1.0 and when I do 'make' I get: rm -f mksyntax gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/p/home/adowns/bin/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/p/home/adowns/bash-4.4/lib/intl -g -O2 -Wno-parentheses -Wno-format-security -static -L./lib/termcap -static -rdynamic -g -O2 -Wno-parentheses -Wno-format-security -rdynamic -g -O2 -Wno-parentheses -Wno-format-security -o mksyntax ./mksyntax.c In file included from ./mksyntax.c:23:0: ./config.h:356:22: error: two or more data types in declaration specifiers #define sig_atomic_t int I did some googling to see what could be done, and the general consensus seemed to be to add a semi-colon after 'int'. So I opened up config.h, made that adjustment and got the *exact* same error, just with a semi-colon at the end. I wanted to stop myself before I get involved with code changes and see what the maintainers have to say. Thank you for your time. -vsteve