Tag Info

New answers tagged

0

If you compile a pristine GCC from source downloaded from its site, the default prefix is /usr/local/, not /usr/. Use which gcc to understand what gcc is in your PATH then try gcc -v; then use echo $PATH to understand the current setting of your PATH So your gcc is /usr/local/bin/gcc but the system gcc is still /usr/bin/gcc (In some Linux distributions, ...


0

1) You need to locate where i686-cm-linux-gcc exists. 2) How are you building OpenWRT? I'm guessing through Make. For that you need to edit the Makefile and add the path there. There should be a statement in one of the Makefiles where they are assigning the compiler. Change CC=i686-cm-linux-gcc to CC=/path/to/i686-cm-linux-gcc


1

The configure script is trying to compile a test and failing. The config.log will contain the actual compilation error. The most likely cause is that you don't have one of libmpfr, libgmp, or libmpc installed on your host system. Make sure you install the -dev packages for these libraries using your host system's package manager. These contain the header ...


0

If you may get an error while installing FFMPEG on centOS 6.5, create repo : /etc/yum.repos.d/dag.repo # vi /etc/yum.repos.d/dag.repo add below lines into it, [dag] name=DAG RPM Repository baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag gpgcheck=1 enabled=1 GPG key for DAG, run the below command, # rpm --import ...


0

On AIX you can have 3 compilers: GCC newer XL C/C++ Enterprise Edition older VisualAge C++ Professional For GCC since late 2.x, syntax for creating shared libraries is: gcc -shared -Wl,-soname,your_soname -o library_name file_list library_list Example: gcc -fPIC -g -c -Wall a.c gcc -fPIC -g -c -Wall b.c gcc -shared -Wl,-soname,libmystuff.so.1 -o ...


5

Firstly, do not build it as root. Generally you will need root privilege with sudo only at the final step you install it in the system. ./configure make sudo make install According to config.log, you failed to build executables because libc and other libraries are missing on your system. On Debian based systems you can install essential tools and ...


9

Don't worry about these errors: gcc: error: unrecognized command line option '-V' and gcc: error: unrecognized command line option '-qversion' Those are unsuccessful probes but the configure script perseveres after them. Do worry about these: /usr/bin/ld: cannot find crt1.o: No such file or directory /usr/bin/ld: cannot find crti.o: No such file or ...


4

The libraries being linked to should be specified after there is a reference to them. Thus, you will change the command to: gcc -g -O2 -fopenmp -L/usr/lib -o lenstool_tab e_nfwg.o lenstool_tab.o midpnt.o nrutil.o polint.o qromo.o read_bin.o lenstool_tab.o -lcfitsio -lm This should fix your problem. You can possibly fix the problem in your Makefile so ...


2

Problem You've run into the circular dependency problem, in a big way. I copied this from another of my answers, because just linking it doesn't do this justice. The issue occurs whether you installed a binary version of GCC 5.1.0, or if you compiled it from source. The discussion below occurs because every package on your system, binary or not, ...


0

I'm exactly sure what you mean by "parameter for "exe_name" for openssl", but: afl-fuzz -i test -o findings ~/path/to/binary/to/fuzz @@ will fuzz the binary at ~/path/to/binary/to/fuzz, substituting @@ with the path the mutated test case generated from the seed files in test.



Top 50 recent answers are included