Questions tagged [compiler]

Questions related to compilers or tools offering compilation.

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

Makefile Error pl-0 Compiler

i got a problem with my makefile an a really dont no why. So i had to programm an pl-0 compiler in c / c++. So the scanner and the parser is generatet with flex and bison but now i cant compile it. ...
0
votes
2answers
74 views

Trying to compile java file without success on Ubuntu (CVE-2020-2555.java) [closed]

I am trying to compile the following file https://github.com/wsfengfan/CVE-2020-2555/blob/master/supeream/CVE_2020_2555.java in my Ubuntu server but without success. I tried 'javac CVE_2020_2555.java' ...
0
votes
1answer
77 views

Problem in installing library from github

Generally, while installing libraries like lapack, blas, I just run the makefile and then they get automatically installed. To link them with my gfortran compiler, gfortran -llapack or gfortran -lblas ...
0
votes
1answer
60 views

How do I install the Scout-app?

I've downloaded Scout-app. But I can't get it to work. The file Scout-app has the correct permission, and is executable. How do I get it to work?
0
votes
1answer
58 views

Adding OpenMP support to compiler command line

When I am giving this command make -j4 I am getting this mlpack was compiled with OpenMP support, but you are compiling without OpenMP support. This will almost certainly cause irreparable disaster....
0
votes
0answers
51 views

How to install GCC Compiler in kubuntu 19.10 without inserting cd rom?

I have installed kubuntu(from USB) using unetbootin in dual boot with Windows 10. Now I want to install GCC Compiler from command line but it request me for inserting cd rom drive because without ...
0
votes
1answer
282 views

Intel Fortran compiler

I want to install a second compiler for fortran in my Ubuntu 18.04 LTS distribution, but I do not have any idea. Currently I have gfortran compiler. What is the best way to install an Intel Fortran ...
1
vote
0answers
27 views

how to get start with C, C++ coding in unix, and what is the basic packeges needed to install at first? [duplicate]

I am a beginner to use linux os. What is the basic packges needed to install to compile a C,C++ code in terminal box ? and, please give the command to install it . :(
0
votes
0answers
103 views

How to verify C11 compiler support

64-bit Ubuntu 19.10.1 is installed on a rPi3. A C11 compiler is required per compiling instructions. What command line test can be performed to verify the compiler supports C11 standards? I am not ...
0
votes
0answers
92 views

(environment-modules) Setting up modulefile for Intel compilers

I am trying to install openmpi (not from apt) into my system. I want to use intel compilers (fortran, c and c++) for the compilation. When ./configure my openmpi folder, without module load intel, ...
3
votes
2answers
5k views

How to set Clang 9 as the default C++ compiler on Ubuntu 19.10?

how do I set Clang 9 as the default C++ compiler on Ubuntu 19.10? I searched the internet, but nothing helped. Thank you for answer :)
0
votes
0answers
43 views

Why do i get a error from make while trying to install a tar.gz file

im trying to install winehq from online and gave me a tar.gz file so i ran tar xvfc and got the wine folder.I read the README.txt file and it told me to type ./configure and i got o errors then i ...
1
vote
0answers
37 views

Install gcc9 without sudo permissions

Is it possible to install gcc9 somehow without sudo permissions? Building it from source did not work because of missing libraries and I can not find precompiled binaries for gcc9. I have gcc7 ...
0
votes
0answers
105 views

link libpcap to android cross compile project

I have installed libpcap using sudo apt-get install libpcap-dev libpq-dev and trying to cross compile a C project with Android NDK and I'm getting an error: fatal error: 'pcap.h' file not found ...
0
votes
1answer
161 views

Unable to use java compiler even after installing

I wanted to use the JDK version 8.0 for NetBeans, so I uninstalled my latest version of JDK 11.0 by using these commands: sudo update-alternatives --remove-all java sudo update-alternatives --remove-...
0
votes
0answers
36 views

Compiler F77 on Ubuntu [duplicate]

I have to install the F77 compiler on Ubuntu 18.04 but I do not know if I have already a fortran compiler. How I can get this information? Thanks
0
votes
0answers
167 views

installing c compiler on an offline machine

i am new to ubuntu. i have been programming physics and rendering logic for pc games in c, c++ and opengl on windows os for years. i cannot use windows any longer and i am trying linux out. i want to ...
0
votes
1answer
199 views

How can I compile full project C language [closed]

I am currently using ubuntu 18.10 and i want to compile the source of this project but i dont know how The author says I should use Microsoft Visual Studio, Is there any way to compile these files in ...
1
vote
0answers
86 views

Freezes in large compiles and archive extractions (18.04)

My Thinkpad T440p freezes and Ubuntu 18.04 LTS stops when I compile large projects in IDEA. Unzipping the archive of a new version also results in the system getting stuck after some time. This ...
4
votes
1answer
1k views

How can I install g77 on Ubuntu 19.04?

I just downloaded Ubuntu 19.04. I want to install a program that needs the g77 compiler to run. I followed the instructions explained in Install G77 on Ubuntu >=14.04, but when typing the command ...
1
vote
1answer
474 views

How can I install mpich for a newer gcc compiler?

I have a small server with Ubuntu Server 18.04. I have the GCC and MPICH compilers installed on this machine: gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-...
1
vote
0answers
78 views

Problem In Installing Ubuntu GCC [duplicate]

I have installed Ubuntu as a guest OS on Windows. Well I am getting this error when I try to install GCC:
0
votes
1answer
510 views

how to do I install cuda on 18.10,

I have a lenovo T540p thinkpad, with an NVIDIA GK208M [GeForce GT 730M], I tried to install cuda tool-kit version 10, but the install script says I have the wrong compiler. It doesnt specify the ...
1
vote
2answers
9k views

How to install GCC6.3.x & G++6.3.x on Ubuntu 16.04

I want to install GCC and G++ 6.3 version. As MATLAB only support this compiler. On launchpad it is not available. I could not find any link which could describe way to install. I could install 6.5 ...
0
votes
1answer
31 views

Find latest modified *.c file and compile it within terminal with pipelining?

Lately I have coded a little bit more with the terminal in Linux to get a deeper understanding of programming. Right now I am trying to automatize the compiling process with the following command: ...
-2
votes
1answer
1k views

PROBLEM WITH COMPILER C/ PLEASE HELP ME [closed]

My first language is Spanish, and my use of English is not the best, but I need some assistance in debugging the following program code since it produces an error when compiled. CODE: #include "...
0
votes
0answers
567 views

Error: Dependency “python3” not found

I am somewhat new to Linux and have installed Ubuntu 18.04 LTS two weeks ago. I was following a process today which had me download Meson and Ninja to compile something. I'd run the compiler, it ...
0
votes
0answers
212 views

Netcdf undefined reference error

I am currently trying to compile wrf-hydro on ubuntu and in the process multiple error messages related to netcdf are generated. Here is an example of them. I am also attaching the nc-config and nf-...
0
votes
2answers
65 views

Software compiled from source does not work after first run

Hi I am trying to use a piece of Japanese NLP software called MeCab, written in Python and distributed with only source. ( http://taku910.github.io/mecab/ ) It has been giving me trouble since the ...
11
votes
1answer
13k views

What are the GCC and clang versions available in Ubuntu 18.04? [duplicate]

In the new Ubuntu 18.04: What's the default GCC version (with which the binaries were built)? What GCC versions are available as separate packages (and what minor version is installed if I install ...
0
votes
1answer
58 views

cpp version “end of search list”

When i checked the cpp version it showed me this message: cpp -v Using built-in specs. COLLECT_GCC=cpp OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured ...
0
votes
1answer
128 views

How to install `sprof` in Ubuntu 14.04

I have a clean Docker ubuntu:14.04 container. sprof is not installed in the base image. How do you install it? I assumed it would be part of binutils along with gprof, but it's not there. Does anyone ...
1
vote
1answer
1k views

Installing GCC from source without apt

I have a fresh install of Ubuntu Server 16.04 which is having issues with the Ethernet NIC. I think I've got it almost figured out, but I need to recompile the kernel, which is a problem because I don'...
0
votes
1answer
539 views

directories of Freetype are not creating saying C compiler is not available

FreeType build system -- automatic system detection The following settings are used: platform unix compiler cc configuration directory ./builds/unix ...
0
votes
1answer
1k views

Install older version of gfortran in ubuntu 16.04

I want to install 4.8.4 gfortran compiler in my Ubuntu 16.04. I tried this sudo apt-get install gfortran-4.8.4 but it returns unable to locate package
1
vote
0answers
61 views

How to compile Gnucap?

I installed GCompris today on my Lubuntu 16.04.3 LTS PC for my little brother. He wants to test out the electric circuit game, but it requires gnucap to be installed. So, I found the source code of ...
0
votes
1answer
337 views

How to execute cabal?

I installed stack via binary package on stack's site. Now I want to use cabal to install packages. cabal install something but it outputs: cabal: The program 'ghc' version >=6.4 is required but ...
1
vote
0answers
576 views

error: C compiler cannot create executables when compiling CFOUR with Portland compiler

The command I am trying to run is FC=pgf90 CC=pgcc MPIFC=mpif90 ./configure --prefix=/data/share/cfour_mpi --enable-mpi=openmpi --with-mpirun="mpirun -np \$CFOUR_NUM_CORES" --with-exenodes="mpirun -...
1
vote
1answer
8k views

How can I install Dev C++ in Ubuntu 16.04

I want to use Dev C++ in Ubuntu. Is it available in Ubuntu? If yes, please tell me how I can install it with terminal (by command-line)?
2
votes
1answer
4k views

g++ cant find cstdlib (fatal error: cstdlib: No such file or directory) [closed]

Im trying to compile the very simple c++ Program //Programm, um Celcius in Fahrenheit umzurechnen // F=C*(212-32)/100+32 #include <cstdio> #include <csdtlib> #include <iostream> ...
0
votes
0answers
162 views

How install fpc-stl in freepascal on ubuntu

Please help me install fpc-stl (freepascal) on ubuntu. [Standard Template Library (FCL-STL)] Thanks a lot.
1
vote
1answer
3k views

Install older version of gfortran

I am using Ubuntu 16.04.2 LTS and want to install gfortran version 5.3. When I use either of the inputs below gfortran 5.4 is installed, which is not compatible with the program I am trying to run. ...
0
votes
2answers
541 views

Runing a java program, Oracle JDK installed [closed]

I recently install Oracle JDK, set Environment variables. Everything works fine. java -version on terminal java version "1.8.0_131" Java(TM) SE Runtime Environment (build 1.8.0_131-b11) Java ...
0
votes
2answers
3k views

Shell (.sh) Compiler [closed]

How can I compile a shell(.sh) file? (S.H.C 3.8.9), I am working only on the same server and not on other servers.
7
votes
2answers
33k views

Installing an older gcc version(3.4.3) on Ubuntu 14.04 (currently 4.8 installed)

I have gcc 4.8 installed but I also need to install gcc 3.4.3. I have followed these steps: Downloaded gcc 3.4.3 from gcc.parentingamerica.com/releases. Extracted the tar. ./configure make ...
0
votes
1answer
455 views

Compiler Problem

I have no clue anymore and I have to ask some clever people now, since I just recently started working with Ubuntu. Soo here is the Problem: I got Ubuntu 16.04 on a Virtual computer via VirtualBox (...
1
vote
0answers
977 views

gfortran make error: “- recompile with -fPIC”

I am encountering an error when compiling a fortran program: since I have a makefile provided, I open the working directory in the terminal and type make. Unfortunately I get this error: relocation ...
0
votes
0answers
629 views

JD-GUI and Boomerang Deompilers Installation for Ubuntu

I am currently taking a Cyber Security Course online and the instructor uses both, JD-GUI and Boomerang Decompilers. Therefore, I would like to get help on how to install those for Ubuntu. I have ...
1
vote
2answers
292 views

How to get a working gcc 4.9 on an ARM system

I have an ARM system with ubuntu 14.0.4 and I need a working gcc 4.8 on it. I was sad to learn that according to http://ports.ubuntu.com/ubuntu-ports/dists/trusty/main/binary-armhf/Packages.gz the is ...
9
votes
2answers
14k views

How to compiler OpenMP program using clang?

My gcc compiles well, but clang fails with the following message: clang -fopenmp=libomp -o main main.c main.c:5:10: fatal error: 'omp.h' file not found I also installed libomp5 package and changed ...