[질문] RedHat9.0 에서 isdigit

익명 사용자의 이미지

아~ 도저히 해결하지 못해서 글 씁니다.

RedHat 9으로 개발환경을 옮겨가던 중에

나타나는 일괄적인 현상으로 골머리를 섞고 있습니다.

바로 isdigit 함수를 사용한 모든 프로그램 (약 50여개)들이

링크 에러를 내는군요. 속상해 죽겠습니다.

소스 수정하는거는 안어려운데 이 많은것을 언제 다 수정해야 되는지...

혹시 이거 해결하는 방법 아시는분 꼬옥 댓글 달아주십시요.

분명히 RedHat8.0(한컴/와우/슬랙/...) 이하계열의 모든 배포판에서는 경고하나 없이

컴파일 깨끗하게 되는 소스들입니다.

cinsk의 이미지

sarah:~/src$ cat /etc/issue
Red Hat Linux release 9 (Shrike)
Kernel \r on an \m
 
sarah:~/src$ cat tmp.c
#include <stdio.h>
#include <ctype.h>
 
int
main(void)
{
        printf("isdigit('3') returns %d\n", isdigit('3'));
        return 0;
}
 
sarah:~/src$ gcc tmp.c
sarah:~/src$ ./a.out
isdigit('3') returns 2048
sarah:~/src$

뭐가 문제죠? :?:

익명 사용자의 이미지

참고로 저는 RHN 의 모든 package를 update하여 사용중인데요.
( 완전히 full install & full update )

아무튼 댓글 달아주신 위분은 에러가 안나는게 신기하군요.
저는 자주 배보판을 설치하고 지우고 하는데

다른데서는 저도 발생하지 않지만 RedHat9은 저만 그런건지 모르겠지만
에러납니다.

혹시 저 같은 경험 있는분 없나요?

펑키의 이미지

저 역시 사용했는데(지금은 8.0으로 내렸습니다) 그런 문제는 없었습니다. 내린 이유는 NPTL 쓰레드 때문이었는데 다른데서는 문제가 없었습니다. 해결하긴 했는데 CD 잃어 버려서 다시 굽기도 그렇고 해서 그냥 8.0으로 사용중입니다.

패키지에 포함된 버전들 문제일듯 하죠. 하나 하나 찾으시기 보다 걍 다시 까시면( 에구 에구 ) 어떨까요.? 죄송합니다. 깊은밤 도움도 못되고.......

즐거운 하루 되세요.

익명 사용자의 이미지

음... 그럼 하나 증거를 마련해보죠...
일단 저 역시 cinssk 님과 같은 상황에서는 발생하지 않습니다.

library openssl-0.9.7b

이것을 일단 첫번째 증거로 제시합니다.
한번 깨끗히 clean후에 컴파일에서 성공하는지 알려주세요.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.