I am not sure if there is anything that strange.
See https://dev.openwrt.org/browser/trunk/include/prereq-build.mk#L27
'gcc' basically just checks that gcc exists. (check that it responds to 'gcc
--version' command)
'working-gcc' checks if gcc actually can compile anything. It tries to
compile an one-line program.
The later five failing tests also depend on a working gcc.
If you are really interested, check the test command from lines 39-40 manually:
echo 'int main(int argc, char **argv) { return 0; }' | gcc -x c -o
$(TMP_DIR)/a.out -
Manually running it might give a better error message.
On 9.11.2015 19:18, Carlos Ferreira wrote:
The weirdest part is this.
Checking 'gcc'... ok.
Checking 'working-gcc'... failed.
Checking 'g++'... ok.
Checking 'working-g++'... failed.
Checking 'ncurses'... failed.
Checking 'zlib'... failed.
Checking 'libssl'... failed.
GCC and G++ checks out but the tests implemented in prereq-build.mk
<http://prereq-build.mk> (working-gcc and working-g++) seem to fail.
I too believe this was triggered by a recent OS update.
On 9 November 2015 at 17:14, Carlos Ferreira <[email protected]
<mailto:[email protected]>> wrote:
For reference, I'm using Manjaro Linux (Arch Linux based).
[claymore@Claymore trunk]$ uname -a
Linux Claymore 4.3.0-1-MANJARO #1 SMP PREEMPT Mon Nov 2 07:40:28 UTC
2015 x86_64 GNU/Linux
On 9 November 2015 at 16:42, Hannu Nyman <[email protected]
<mailto:[email protected]>> wrote:
One more "me too" report:
There was probably something unusual in the last OS kernel update
for Ubuntu 15.10 x64, which has caused some compiler tools to
require re-installation.
I updated Ubuntu 15.10 kernel last week along other updates offered
by the system, and after the kernel update I ran a command to purge
old kernels, like I always do after kernel updates. At that point I
noticed that exceptionally also a few of the build
tools/prerequisities of Openwrt got uninstalled at the same time.
Almost like there had been a forced dependency to the previous
kernel version. Normally only the old kernel modules are purged, so
this looked strange.
I re-installed the Openwrt prerequisities (gcc-multilib, flex,
git-core, gettext, libssl-dev, ...). Not all of those needed
re-installation, but some did. So some of them had been really
uninstalled. Since then the things have been normal again.
Your situation pretty much matches what I would probably have seen
if I had not re-installed the prerequisities.
Just try reinstalling the ~20 prerequisities for Openwrt and see if
that helps.
I don't think that this has anything to do with Openwrt itself.
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel