c언어 빌드 질문드립니다.
273
작성한 질문수 2
c언어 빌드할 때 make를 치니까 없다고 떠서 $ sudo apt-get install build-essential 을 해봤는데 아래 사진처럼 오류가 떴습니다. 어떻게 해결해야 할까요??
답변 1
0
안녕하세요 :)
linux 의 install package 설정이 안되어 있는 것 같아요.
스크린샷 대신, text 도 올려주시면 검색에 도움이 될 것 같아요 :)
(구글링을 해봐야 할 것 같습니다.)
0
jeon@DESKTOP-PKFN6LS:~/work/inflearn/Matbi_VerilogHDL_Season1/chapter_14/test_c$ sudo apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
cpp-9 dpkg-dev fakeroot g++ g++-9 gcc-9 gcc-9-base libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan5 libdpkg-perl libfakeroot
libfile-fcntllock-perl libgcc-9-dev libstdc++-9-dev make
Suggested packages:
gcc-9-locales debian-keyring g++-multilib g++-9-multilib gcc-9-doc gcc-9-multilib bzr libstdc++-9-doc make-doc
The following NEW packages will be installed:
build-essential dpkg-dev fakeroot g++ g++-9 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl libfakeroot
libfile-fcntllock-perl libstdc++-9-dev make
The following packages will be upgraded:
cpp-9 gcc-9 gcc-9-base libasan5 libgcc-9-dev
5 upgraded, 13 newly installed, 0 to remove and 207 not upgraded.
1 not fully installed or removed.
Need to get 0 B/32.3 MB of archives.
After this operation, 66.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up libc-bin (2.31-0ubuntu9.2) ...
Aborted (core dumped)
/sbin/ldconfig.real: Can't stat /usr/local/lib/x86_64-linux-gnu: No such file or directory
/sbin/ldconfig.real: Path `/usr/lib/x86_64-linux-gnu' given more than once
/sbin/ldconfig.real: Path `/lib/x86_64-linux-gnu' given more than once
/sbin/ldconfig.real: Path `/usr/lib/x86_64-linux-gnu' given more than once
/sbin/ldconfig.real: Path `/usr/lib' given more than once
/usr/lib/wsl/lib:
/usr/local/lib:
/lib/x86_64-linux-gnu:
Aborted (core dumped)
dpkg: error processing package libc-bin (--configure):
installed libc-bin package post-installation script subprocess returned error exit status 134
Errors were encountered while processing:
libc-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
0
다음링크 try 해보시겠어요?
https://blog.miyu.pe.kr/i/entry/953
sudo apt-get clean sudo apt-get update sudo apt-get upgrade
git hub 404 error 도움 부탁드립니다.
0
12
1
latency 개념 구현
1
128
3
비바도 all os버전
1
96
2
초기화를 reset_n 이 '1'일 때가 아닌 '0' 일 때 실행시키는 이유 질문
1
103
2
다운로드용량
1
82
2
비바도리눅스설치
1
100
2
전체path복사넣기
1
75
2
Vivado 2025.2 리눅스 설치 후 실행 에러와 솔루션 (libxv_commontasks.so)
1
192
2
explorer.exe오류
1
121
3
mobaxterm설치오류
1
103
2
./build시, waveform 'divide color' 사용
1
63
2
Latch와 관련하여 (Time borrowing, Latch-based design)
1
154
2
clean 명령어가 안되는데, 따로 저장해줘야 하는지 궁금합니다.
0
73
1
안녕하세요 설치 관련 질문 드립니다.
1
73
3
16장 mealy 설계.
1
83
2
14장 Cycle 관련, Testbench 코드.
1
75
2
21강(16장) 초기값 설정이 적용되는 시점 질문
1
68
1
20강(15장) - 밀리 머신 관련하여 질문 드립니다.
1
77
2
build에러 질문
0
63
2
1장 ./build에서 에러가 나요
1
83
2
FPGA 강의 보드 문의 드립니다.
1
123
2
5장 DFF특성에 대한 질문
1
88
3
vivado linux 사용 이유.
1
155
2
메모리의 형태가 전체설계에 미치는 영향이 궁금합니다.
1
114
2





