| [ CnUnix ] in KIDS 글 쓴 이(By): jacob (빠 ~ 빠 !) 날 짜 (Date): 1995년11월01일(수) 15시59분23초 KST 제 목(Title): [Q] elm 2.4h4 (메일 고수님들 보세요) 안녕하십니까? elm 을 설치하는 중에 몇가지 여쭤볼 것이 있어서 이렇게 메일을 뛰웁니다. 먼저 솔라리스 2.4 에서 sendmail version 8.6.12H1을 깔고 elm 2.4h4를 사용하는 환경에서는 한글 메일을 주고 받는데 아무런 문제가 없었습니다. 그런데 SunOS 4.1.3에서 sendmail version 8.6.12H1을 깐다음에 기존에 깔려있던 elm 2.4h3을 이용하여 solaris 기계로 한글 메일을 보내보니 제목에만 한글이 나오고 본문은 어느 한글 코드로도 알아 볼수 없는 문자로 깨져 나옵니다. 예를 들어 "한글 내용" 이란 본문이 "C7 D1 B1 DB 20 B3 BB BF EB" 이라고 하면 제가 받아 보는 것은 "^NGQ1[ 3;?k^O" 입니다. 이것을 dump 시켜보면 "0E 47 51 31 5B 20 33 3B 3F 6B 0F" 이 됩니다. 한편, SunOS 4.1.3 기계들 사이에선 elm 2.4h3을 이용해서 한글메일이 아무런 문제 없이 잘 됩니다. 그래서 제가 SunOS 4.1.3 기계에다 elm 2.4h4를 깔아 볼려고 했는데 컴파일 잘되고 마지막에 링크시킬때 다음과 같은 난관에 부딪혔습니다. % make [ 중략 ] gcc -o ../bin/elm addr_util.o alias.o ... 등등 addr_util.o(.text+0x5c4): undefined reference to `catgets' addr_util.o(.text+0x608): undefined reference to `catgets' addr_util.o(.text+0x69c): undefined reference to `catgets' addr_util.o(.text+0x6c8): undefined reference to `catgets' addr_util.o(.text+0x9b8): undefined reference to `catgets' alias.o(.text+0x28): more undefined references to `catgets' follow elm.o(.text+0x24): undefined reference to `catopen' elm.o(.text+0x80): undefined reference to `catgets' elm.o(.text+0x210): undefined reference to `catgets' elm.o(.text+0x270): undefined reference to `catgets' elm.o(.text+0x320): undefined reference to `catgets' elm.o(.text+0x344): undefined reference to `catgets' elm.o(.text+0x6b4): more undefined references to `catgets' follow collect2: ld returned 1 exit status 즉 다시 말해 catgets 나 catopen 같은 심볼을 못찾는 것이었습니다. 솔라리스 2.4 의 C library에는 있는데 SunOS 4.1.3의 C library는 없더군요. nl_types.h 하는 헤더 파일도 마찬가지구요. 이것을 어떻게 해결하면 좋을지 ... 조언 부탁드립니다. 미리 감사드려요. [35m======================================================= [41m[37m"Let everything that has breath praise the Lord!"[0m [35m=======================================================[0m |