- Community Home
- >
- HPE Community, Korea
- >
- HP-UX
- >
- pth-2.0.3 을 컴파일하는데 문제가 생깁니다.
범주
Company
Local Language
포럼
토론 게시판
포럼
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
토론 게시판
토론 게시판
포럼
토론 게시판
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
포럼
블로그
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
날짜: 02-27-2008 11:00 PM
날짜: 02-27-2008 11:00 PM
pth-2.0.3 을 컴파일하는데 문제가 생깁니다.
configure 하면
Machine Context Implementation:
checking for ucontext.h... yes
checking for makecontext... yes
checking for swapcontext... yes
checking for getcontext... yes
checking for setcontext... yes
checking for usable SVR4/SUSv2 makecontext(2)/swapcontext(2)...
여기서 멈춰있습니다. 그래서 컴파일을 못하고 있는데요
소스를 추적해보니 무한루프가 걸려있더군요.
어떻게 해결하면 될까요?
=============================================================
OS : HP-UX B.11.31 ia64
gcc -v
Using built-in specs.
Target: ia64-hp-hpux11.31
Configured with: ../gcc/configure
Thread model: posix
gcc version 4.2.1
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
날짜: 02-27-2008 11:00 PM
날짜: 02-27-2008 11:00 PM
pth-2.0.3 을 컴파일하는데 문제가 생깁니다.
pth-2.0.3 이꼭 필요하신게 아니라면
http://hpux.cs.utah.edu/
위 사이트에 가면 pth-2.0.7 버전이 있습니다.
해당파일은 컴파일 하지 않고 depot 파일로 나오니
쉽게 설치 하실수 있을것 같습니다.
그럼.
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
날짜: 02-27-2008 11:00 PM
날짜: 02-27-2008 11:00 PM
pth-2.0.3 을 컴파일하는데 문제가 생깁니다.
제가 확인해 본 바로는 HP-UX에서
FD_SETSIZE가 디폴트로 2048로 되어 있어서
이부분을 4096으로 조정하고 싶습니다.
depot으로 이미 컴파일되어 있는 걸로 설치를 하게 되면
2048로 정해져 있어서 컴파일시에 변경을 해주고 싶습니다.
굳이 컴파일을 안하고, 설치되어 있는 lib의 FD_SETSIZE를
조정할 방법이 있다면 더더욱 좋구요
그런 방법이 없다면 소스코드를 다시 컴파일 해야 할 것 같습니다
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
날짜: 02-27-2008 11:00 PM
날짜: 02-27-2008 11:00 PM
pth-2.0.3 을 컴파일하는데 문제가 생깁니다.
일단 http://hpux.cs.utah.edu/hppd/hpux/Gnu/pth-2.0.7/
에 depot 파일을 설치하게 되시면
/usr/local/bin에 실행 파일등이 생성이 되구요
님께서 말씀하신
FD_SETSIZE 는
/usr/local/include/pth.h
위 header 파일을 vi 로 열으셔서 수정하시면 될듯 합니다
/* check if the user requests a bigger FD_SETSIZE than we can handle */
#if defined(FD_SETSIZE)
#if FD_SETSIZE > 2048
#error "FD_SETSIZE is larger than what GNU Pth can handle."
#endif
위부분을 4096정도로 수정하면 될것 같네요
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
날짜: 02-27-2008 11:00 PM
날짜: 02-27-2008 11:00 PM
pth-2.0.3 을 컴파일하는데 문제가 생깁니다.
application에 적용시키려면
컴파일 하면서 적용할수 밖에 없을것 같은데
우선 os가 11.31이라 테스트할 여건이 안되네요.
제가 알려준 사이트에 source도 있으니 그걸로 한번해보세요.
참고로 man select 하면 FD_SETSIZE 에 관련된 내용이 나옵니다.
그럼.