웹프로그래밍
j/release/Collector.o: In function `JSC::Heap::markCurrentThreadConservativelyInternal(JSC::MarkStack&)': Collector.cpp:(.text._ZN3JSC4Heap39markCurrentThreadConservativelyInternalERNS_9MarkStackE+0x74): undefined reference to`__libc_stack_end' collect2: ld returned 1 exit status make[1]: *** [../../../../lib/libQtWebKit.so.4.6.3] 오류 1 make[1]: Leaving directory `/root/qt-everywhere-opensource-s..
Python2.6.5를 mips용으로 컴파일하는 과정을 정리하였다.참고한 사이트들 에서는 PowerPC, ARM용으로 크로스컴파일 하였고 나는 크로스 컴파일러 관련 스트링을 내 환경에 맞도록 mipsel-linux 로 변경하여 같은 절차를 따라감으로써 컴파일을 완료할 수 있었다. 이와같은 사실로 미루어 다른 아키텍쳐용 크로스 컴파일러에도 적용할 수 있을것으로 기대한다. 컴파일 가능한 파이썬 버젼은 다음 웹페이지에서 확인할 수 있으며 해당 버젼에 대한 패치파일도 제공한다.참고사이트 : http://randomsplat.com/id5-cross-compiling-python-for-embedded-linux.html 크로스 컴파일을 위해 어떠한 처리를 해야 하는지, 혹은 각 과정들이 어떠한 역할을 하는지 알..
'Pytthon embeddeding : 파이썬을 c언어에 내장하기 작업일지 1 - 모듈사용' 에 이어 이번에는 C,C++에서 직접 파이썬 모듈을 로드하여 전달인자와 함께 호출하고 리턴값을 받아오는 과정을 진행합니다. 이번에도 마찬가지로 제가 겪는 시행 착오와 이를 풀어가는 과정을 기록하겠습니다. 컴파일 옵션궁금하다면 이전 게시물을 참고하면 됩니다. 다음의 사이트에 소스 및 자세한 설명이 있으며 여기에서는 해당 사이트만 참고해서는 제대로 동작하지 않는 부분을 해결하는 과정만을 다룹니다. http://docs.python.org/extending/embedding.html 1. C에서 파이선모듈을 전달인자와 함께 호출하여 리턴값을 받는 과정에 대해 열심히 공부한다음, 코드들을 각각 main.c multip..