Error Compiling GCC on Ubuntu 14.04 - gcc

While installing gcc-3.4.6 (I really need only this version) I get this error
$ make 1>/dev/null
./unwind-dw2.c: In function `uw_frame_state_for':
./unwind-dw2.c:1031: error: field `info' has incomplete type
make[2]: *** [libgcc/32/unwind-dw2.o] Error 1
make[1]: *** [stmp-multilib] Error 2
make: *** [all-gcc] Error 2
I found this question, but it does not solve the problem?
I am using Ubuntu 14.04 in VirtualBox.

Related

Cant Make Prepare in Kernel-LT on Centos 7.9

I am trying to merge code with the kernel and then compile, but when I run make prepare, I get the following error:
[root#localhost 5.4.231-1.el7.elrepo.x86_64]# make prepare
/usr/src/kernels/5.4.231-1.el7.elrepo.x86_64/Makefile:678: include/config/auto.conf.cmd: No such file or directory
scripts/kconfig/conf --syncconfig Kconfig
Kconfig:34: can't open file "Documentation/Kconfig"
make[3]: *** [syncconfig] Error 1
make[2]: *** [syncconfig] Error 2
make[1]: *** [include/config/auto.conf.cmd] Error 2
make: *** [sub-make] Error 2
[root#localhost 5.4.231-1.el7.elrepo.x86_64]#
I installed Kernel-LT-Devel and headers, and do not know what package I need to complete this requirement, and so I am stuck. Has anyone seen this error before?
Thanks

make [2]: **** [Makefile:44: envi_slc_decode] Error 1, while installing gmtsar in fedora 32

This is my first question in stack overflow and hope I make it clear.
I am trying to install a program (gmtsar) in fedora 32. However, the compilation was not complete and two errors return at the end.
I ran the following commands:
sudo -i
cd /usr/local
git clone --branch 6.0 https://github.com/gmtsar/gmtsar GMTSAR
cd GMTSAR
autoconf
./configure --with-orbits-dir=/usr/local/orbits
make
make install
after make and mak install the following errors return:
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:44: envi_slc_decode] Error 1
make[2]: Leaving directory '/usr/local/GMTSAR/preproc/ENVI_preproc/ENVI_SLC_decode'
make[1]: *** [Makefile:8: all] Error 2
make[1]: Leaving directory '/usr/local/GMTSAR/preproc/ENVI_preproc'
make: *** [Makefile:37: preprocess] Error 2
I followed the same procedures in ubuntu 16.04 and the compilation was complete without errors.
Can anyone help me understand why I got these errors and how to fix them, please?

How to install JDK1.7 on Mac

I'm going to install the jdk1.7 on my macbook. But I cannot make it proper to be installed.
I confronted an error which states that
line 27: hg: command not found.
https://github.com/hgomez/obuildfactory/wiki/Building-and-Packaging-OpenJDK7-for-OSX
And I was following the above steps till I entered this code segment.
XBUILD=true ./obuildfactory/openjdk7/macosx/standalone-job.sh
I've fixed it by installing the official binary file instead of using brew verison. But I encountered another problem, which is as follows.
openjdkathome/sources/openjdk7/hotspot/src/share/vm/adlc/adlparse.cpp:4515:17: note:
use '=' to turn this equality comparison into an assignment
if( (second == '=') ) {
^~
=
5 errors generated.
make[8]: *** [../generated/adfiles/adlparse.o] Error 1
make[7]: *** [ad_stuff] Error 2
make[6]: *** [product] Error 2
make[5]: *** [generic_build2] Error 2
make[4]: *** [product] Error 2
make[3]: *** [all_product_universal] Error 2
make[2]: *** [universal_product] Error 2
make[1]: *** [hotspot-build] Error 2
make: *** [build_product_image] Error 2
hg is the Mercurial command line command - which the linked document says you should have installed from MacPorts or homebrew.

Debian "make" error

I'm trying to install ufasoft miner on my Debian machine, but after entering make it shows this message:
make[1]: Entering directory `/root/ufasoft_coin-0.75'
CXX el/libext/bignum.o
In file included from el/libext/bignum.cpp:18:0:
./el/bignum.h: In member function ?void Ext::BigInteger::swap(Ext::BigInteger&)?:
./el/bignum.h:310:8: error: ?mpz_class? has no member named ?swap?
make[1]: *** [el/libext/bignum.o] Error 1
make[1]: Leaving directory `/root/ufasoft_coin-0.75'
make: *** [all] Error 2
Check your installed GMP version.
For me, ufasoft_coin-0.75 compiles fine against the latest gmp-5.1.3 (With --enable-cxx)

couchDB RHEL4 Install Error

I'm currently trying to install couchDB on a Red Hat 4 machine
Linux version 2.6.32-220.el6.x86_64 (mockbuild#c6b18n3.bsys.dev.centos.org) (gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC) ) #1 SMP Tue Dec 6 19:48:22 GMT 2011
following the instructions on the Apache Wiki: http://wiki.apache.org/couchdb/Installing_on_RHEL4. The install runs fine right up until the line
make && sudo make install
when i get the following error:
/usr/local/bin/erlc couch_key_tree.erl;
./couch_key_tree.erl:78: type boolean() undefined
./couch_key_tree.erl:79: type boolean() undefined
./couch_key_tree.erl:93: type boolean() undefined
./couch_key_tree.erl:136: type boolean() undefined
make[4]: *** [couch_key_tree.beam] Error 1
make[4]: Leaving directory `/home/acarter/couchdb/src/couchdb'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/acarter/couchdb/src/couchdb'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/acarter/couchdb/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/acarter/couchdb'
make: *** [all] Error 2
I've looked around online and seen the problem mentioned once or twice but never a solution. Does anyone know a solution or a good place to start looking?
Thanks
I ran into this same issue. The problem is that the version of Erlang is outdated(12B in my case). The solution was to upgrade to a newer version.
Source:
https://github.com/cloudant/bigcouch/issues/13

Resources