gcc

  1. N

    /usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1 on centos

    [nobin@CentOS9 tc-dump]$ CGO_ENABLED=1 go build # github.com/Asphaltt/tc-dump /usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1 /usr/bin/ld: cannot find -lresolv /usr/bin/ld: cannot find -lpthread /usr/bin/ld: cannot find -lc collect2: error: ld returned 1 exit status...
  2. N

    No rule to make target '/home/pegasus/Documents/bpftime/third_party/bpftool/include/linux/err.h', needed by 'prog.o'. Stop

    I'm building a Docker image. docker build . Here's the Dockerfile FROM ubuntu:23.10 WORKDIR /bpftime RUN apt-get update && apt-get install -y --no-install-recommends \ libelf1 libelf-dev zlib1g-dev make cmake git libboost1.74-all-dev \ binutils-dev libyaml-cpp-dev gcc g++...
  3. K

    yum not responding

    'Yum' command returns to the command prompt without returning any output/report. /usr/bin does not has gcc executable file. How to fix the problem with yum and gcc? Below are few outputs: $ rpm -q rpm rpm-4.11.3-25.el7.x86_64 $ rpm -q yum yum-3.4.3-154.el7.noarch $ ps -ef|grep yum kanassu...
  4. C

    make: gcc: Permission denied -- what?

    henlo all I am having a bit of trouble getting gcc to run via make. I discovered this problem while trying to install a ruby gem, which invokes make to build the extensions, and got the "make: gcc: Permission denied" error. I have since experimented with a C++ hello world project and then a C...
  5. OstermanA

    Compiling GCC, not baking rpath correctly

    I am attempting to compile my own copy of gcc 9.2.0 on CentOS 8 in a non-standard path, ~/tools/system. I have local copies of automake, autoconf, libtool, gmc, mpc and mpfr in there and they all work fine. However, when I compile gcc the build artifacts are not baking in the rpath, and will...
  6. Trenix25

    Can cc or gcc produce an APK output file?

    What exactly is an APK file? Is it an acronym? Can I write C source code, perhaps including inline assembly, and then have cc or gcc produce an APK output file so I can transfer it to my Android tablet and run the newly written app on my tablet? I have both an ftp server and client on my...
Top