'2021/04/05'에 해당되는 글 6건

  1. 2021.04.05 알뜰교통카드 2
  2. 2021.04.05 Floating point exception
  3. 2021.04.05 CI/CD - Continuous integration continuous delivery
  4. 2021.04.05 git submodule
  5. 2021.04.05 cunit
  6. 2021.04.05 실행파일 not fount, FATAL: kernel too old

국민은 없네 ㅠ

신한 20만원~30만원 실적 / 20만원 대중교통 2천원 할인

우리신용 30만 실적 / 월 1만원 한도 할인(할인 매출은 실적 제외)

우리체크 20~50만 / 1만 최대 캐시백

하나신용 50만 실적 / 1.5만 20% 교통 할인

하나체크 25만 실적 / 15% 캐시백, 3만 이상 이용시 5천

 

아따 조건 까다롭다 -_-

[링크 : http://www.alcard.kr/]

[링크 : http://1boon.daum.net/weekly/210305_1]

 

 

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

내가 운전을 이상하게 하는건가?  (0) 2021.04.18
구리 롯데마트 3월 말 영업종료  (0) 2021.04.17
공기 청정기 구매  (0) 2021.04.04
밥솥 압력패킹 교체  (0) 2021.04.03
4월 지름의 시작  (0) 2021.04.01
Posted by 구차니
Linux API/linux2021. 4. 5. 16:44

이런 에러 처음 겪네 -_-

 

runtime DIV/0 에러에 가깝다고 해야하나..

(문제는 전부 char 형인데 뜬금없이 float point..)

[링크 : https://stackoverflow.com/questions/4236853/floating-point-exception-c-why-and-what-is-it]

[링크 : https://kldp.org/node/122753]

[링크 : https://www.acmicpc.net/board/view/21892]

 

혹시나 해서 gdb 물려서 실행해보니

Program received signal SIGFPE, Arithmetic exception.

 

이름은 Floating Point Exception 에서 유래하긴 했는데

"0으로 나누기와 오버플로우를 포함한 모든 산술에러"에서 발생한다고 한다.

Macro: int SIGFPE

The SIGFPE signal reports a fatal arithmetic error. Although the name is derived from “floating-point exception”, this signal actually covers all arithmetic errors, including division by zero and overflow. If a program stores integer data in a location which is then used in a floating-point operation, this often causes an “invalid operation” exception, because the processor cannot recognize the data as a floating-point number.

Actual floating-point exceptions are a complicated subject because there are many types of exceptions with subtly different meanings, and the SIGFPE signal doesn’t distinguish between them. The IEEE Standard for Binary Floating-Point Arithmetic (ANSI/IEEE Std 754-1985 and ANSI/IEEE Std 854-1987) defines various floating-point exceptions and requires conforming computer systems to report their occurrences. However, this standard does not specify how the exceptions are reported, or what kinds of handling and control the operating system can offer to the programmer.

[링크 : https://www.gnu.org/software/libc/manual/html_node/Program-Error-Signals.html]

'Linux API > linux' 카테고리의 다른 글

Stopped (tty input)  (0) 2021.05.21
linux gpio interrupt poll?  (0) 2021.05.04
실행파일 not fount, FATAL: kernel too old  (0) 2021.04.05
spi 통신 예제(linux)  (0) 2021.01.28
linux USB bulk 통신  (0) 2020.10.21
Posted by 구차니
프로그램 사용/cunit2021. 4. 5. 14:45

devops랑도 키워드가 같이 나오긴 한데 개발방법론은 아닌것 같고..

[링크 : https://itholic.github.io/qa-cicd/]

[링크 : https://www.redhat.com/ko/topics/devops/what-is-ci-cd]

 

You want to write a modern CUnit test compatible with common CI/CD workflows?

[링크 : https://cunity.gitlab.io/cunit/]

[링크 : https://stackify.com/what-is-cicd-whats-important-and-how-to-get-it-right/]

 

'프로그램 사용 > cunit' 카테고리의 다른 글

cunit test mode - auto / basic / console / ncurse  (0) 2021.04.06
ubuntu에서 cunit  (0) 2021.04.06
cunit  (0) 2021.04.05
CUnit  (0) 2014.03.11
Posted by 구차니

'프로그램 사용 > Version Control' 카테고리의 다른 글

git 특정 디렉토리만 clone 하기  (0) 2021.04.07
git lfs  (0) 2021.04.06
git reset revert  (0) 2021.03.31
git error: RPC failed; curl ... remote end hung up  (0) 2021.01.11
git stash  (0) 2020.01.21
Posted by 구차니
프로그램 사용/cunit2021. 4. 5. 14:36

junit도 cunit도 듣기만 하고 써보려고 하는건 처음이네..

TDD 본건 기억이 나는데..

막상 cunit 적용하려니 함수 하나하나를 설계하는게 쉽지가 않네..

 

[링크 : http://dslab.konkuk.ac.kr/class/2017/17SE/Team_Project_B/A3/201411283_유병찬.pdf]

[링크 : https://blog.naver.com/zzeun/130104823706]

[링크 : http://cunit.sourceforge.net/example.html]

[링크 : https://cunity.gitlab.io/cunit/]

'프로그램 사용 > cunit' 카테고리의 다른 글

cunit test mode - auto / basic / console / ncurse  (0) 2021.04.06
ubuntu에서 cunit  (0) 2021.04.06
CI/CD - Continuous integration continuous delivery  (0) 2021.04.05
CUnit  (0) 2014.03.11
Posted by 구차니
Linux API/linux2021. 4. 5. 10:53

빌드해서 올리는데 파일이 있는데 없다고?!?!

혹시나 해서 보는데 target에 file도 없어 ㅠㅠㅠㅠ 아놔 -_-

아무튼 

파일이 없는건

zynq> ./test
-sh: ./test: not found

zynq> ls -al /lib/ld-
ld-2.13.so     ld-linux.so.3

zynq> ls -al /lib/ld-linux.so.3
lrwxrwxrwx    1 root     root            10 Nov 27  2012 /lib/ld-linux.so.3 -> ld-2.13.so

zynq> ./test
FATAL: kernel too old
Aborted

 

/lib/ld-linux-armhf.so.3 와 /lib/ld-linux.so 의 차이 -_-

아니 저정도면 실행시에 링크파일이 없다고 에러나와줘야지 ㅠㅠ

왜 자기 자신이 없다고 에러가 나는게야!!

$ file test
test: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 4.9.0, with debug_info, not stripped

 

아무튼 빡쳐서(!) static 링크해서 빌드하고 실행했더니

$ file test
test: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), statically linked, for GNU/Linux 4.9.0, with debug_info, not stripped

 

야이!!!

zynq> ./test
FATAL: kernel too old
Aborted

 

에라이 걍 컴파일러 바꿔 -_-

[링크 : https://ggpapa.tistory.com/36]

[링크 : https://blog.naver.com/calb30095/221005114736]

'Linux API > linux' 카테고리의 다른 글

linux gpio interrupt poll?  (0) 2021.05.04
Floating point exception  (0) 2021.04.05
spi 통신 예제(linux)  (0) 2021.01.28
linux USB bulk 통신  (0) 2020.10.21
linux open() 과 8진법  (0) 2020.09.28
Posted by 구차니