New answers tagged

0

If it were just GCC, you could just build it from source. Keep that in mind should you ever lose your discs or need a version you don't currently have.


0

Through trial and error, I learned that by right clicking on the DVD icon on my desktop > Selecting "COPY DISC" > Select the option to ISO. Once I have created the ISO I can then go to YaST > Software Management > Configuration > Repositories > Add the ISO to the repository list to search the catalog of program files to be installed.


6

In gcc –Werror this character: – is not a dash (-), but an en-dash. Replace that and/or use a different editor.


0

The best way is to install all the basic development tools by yourself , the compiler it is not installed by default on a greatest number of Linux distros because a lot of users dosn't need to compile anything.. Example 1: To set your devloppement environnement on based Debian distributions , you need to install build-essential . Example 2 : On RED HAT ...


1

Version 4 of gcc (Gnu C Compiler) is from 2005, I would guess any semi-recent distribution has that. Whether it's installed by default in any I don't know, but most linux distributions make it easy to install extra software after installation.


0

To solve it, I remove the existing symlink and replaced it by a new one pointing to fglrx's: sudo rm /usr/lib64/libGL.so sudo ln -s /usr/lib64/fglrx/fglrx-libGL.so.1.2 /usr/lib64/libGL.so The QT5 application got built successfully right after.


0

Any kernel older than 3.18 will not compile using gcc 5. Use an older compiler.


0

backup repository list cp /etc/apt/sources.list /etc/apt/sources.list.bak Add the Kali rolling repository to the list of repositories using : cat << EOF > /etc/apt/sources.list deb http://http.kali.org/kali kali-rolling main non-free contrib EOF Then comment the following line: deb http://http.kali.org/kali sana main non-free contrib deb ...


0

You do not have the kernel sources. The compiler is looking for that header file. This link will get you a version of the kernel source tree that should be mostly similar to what you are looking for. https://cdn.kernel.org/pub/linux/kernel/v2.6/longterm/v2.6.32/linux-2.6.32.71.tar.xz


0

http://docs.kali.org/general-use/kali-linux-sources-list-repositories Kali sana (2.0) is Retired as you can see from above kali doc link. To upgrade to rolling refer to this documentation: https://www.kali.org/news/kali-linux-rolling-edition-2016-1/ Where you will find the section "Transitioning From Kali 2.0 to Kali Rolling" As per their docs: ...


1

I've found the problem(s): as Munir staded, I had sh pointing to dash instead of bash; after that, gcc failed to compile because of the missing rpc/xdr.h header; this was fixed by rebuilding the glibc by adding the flag: --enable-obsolete-rpc; All is fine now.


4

The compiler flags used are a function of the debian/rules file, the package's build files (since the upstream author may specify flags there too), the build system used (dh, cdbs etc.), the default compiler settings. To see the flags used you effectively need to at least compile the package: debian/rules build Trying things like debian/rules -n ...



Top 50 recent answers are included