Home > error 3696 d > error #3696-d cannot open source file

Error #3696-d Cannot Open Source File

User List Committer List Help Tracker Documentation Tracker Development Report Tracker Problem Issue13057 classification Title: Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64 Type: compile error Stage: resolved Components: Build Versions: Python 3.1, Python 3.2, Python 3.3, Python 2.7 process Status: closed Resolution: fixed Dependencies: Superseder: Assigned To: Nosy List: ezio.melotti, georg.brandl, py.user, python-dev, skrah, trent, wah meng Priority: normal Keywords: patch Created on 2011-09-29 02:38 by wah meng, last changed 2013-01-18 05:22 by py.user. This issue is now closed. Files File name Uploaded Description Edit issue-13057.diff skrah, 2011-09-29 19:45 Messages (24) msg144584 - (view) Author: Wong Wah Meng (wah meng) Date: 2011-09-29 02:38 Resending as my old alternative email ID wasn't registered under my account. =========================================================================== Hello there, I included --with-threads option into the configure script calling, which it failed to add the -D_REENTRANT into Makefile. So I manually added this into OPT of the Makefile. I ran make again and generated a new python binary. However, the new binary is still not able to start a new thread from the thread module. I reviewed the config.log file, I think this failure has caused the build with threads failed. Cthreads.h header file is missing. Should this be included in my HP UX Compiler or it comes from python source? In python source I only found pythread.h. Anyway, I am only guessing what is wrong. Hope to hear some feedback here, whether this is something missing or a bug. configure:8407: checking for --with-threads configure:8427: result: yes configure:8484: checking for _POSIX_THREADS in unistd.h configure:8503: result: yes configure:8508: checking cthreads.h usability configure:8508: cc +DD64 -I/home/r32813/local/include -c -g co

Perl Lists Python Lists PHP Lists Ruby Lists Tcl Lists ActiveState Lists Lists » python-list RE: python 2.7.1 HP-UX 11 ia64 built not supporting thread From: Wong Wah Meng-R32813 Wed, 28 Sep 2011 10:14:08 +0000 Hello there, I included --with-threads option into the configure script calling, which it failed to add the -D_REENTRANT into Makefile. So I manually added this into OPT of the Makefile. I ran make again and generated a new python binary. However, the new http://bugs.python.org/issue13057 binary is still not able to start a new thread from the thread module. I reviewed the config.log file, I think this failure has caused the build with threads failed. Cthreads.h header file is missing. Should this be included in my HP UX Compiler or it comes from python source? In python source I only found pythread.h. Anyway, I http://code.activestate.com/lists/python-list/609689/ am only guessing what is wrong. Hope to hear some feedback here, whether this is something missing or a bug. configure:8407: checking for --with-threads configure:8427: result: yes configure:8484: checking for _POSIX_THREADS in unistd.h configure:8503: result: yes configure:8508: checking cthreads.h usability configure:8508: cc +DD64 -I/home/r32813/local/include -c -g conftest.c >&5 "conftest.c", line 128: error #3696-D: cannot open source file "cthreads.h" #include ^ 1 error detected in the compilation of "conftest.c". | #define HAVE_LIBDLD 1 | #define _REENTRANT 1 | /* end confdefs.h. */ | #include configure:8508: result: no configure:8508: checking for cthreads.h configure:8508: result: no configure:8521: checking mach/cthreads.h usability configure:8521: cc +DD64 -I/home/r32813/local/include -c -g conftest.c >&5 "conftest.c", line 128: error #3696-D: cannot open source file "mach/cthreads.h" #include ^ 1 error detected in the compilation of "conftest.c". configure:8521: $? = 2 configure: failed program was: | /* confdefs.h */ | #define _GNU_SOURCE 1 | #define HAVE_LIBDLD 1 | #define _REENTRANT 1 | /* end confdefs.h. */ | #include configure:8521: result: no configure:8521: checking for mach/cthreads.h configure:8521: result: no configure:8533: checking for --with-pth configure:85

LearningModern CodeNetworkingOpen SourceStorageToolsDeveloper TypeEmbedded SystemsGame DevMediaTechnical, Enterprise, HPCWebOSAll ToolsAndroid*HTML5Linux*OS X*Windows*ResourcesCode SamplesContact SupportDocumentationFree SoftwareIntel Registration CenterProduct ForumsSDKsResourcesPartner with IntelAcademic ProgramPartner SpotlightBlack Belt DeveloperDeveloper MeshInnovator https://software.intel.com/en-us/forums/intel-threading-building-blocks/topic/290496 ProgramSuccess StoriesLearnBlogBusiness TipsEventsVideosSupportContact SupportDeveloper EvangelistsFAQsForums Search form Search You are hereHome › Forums › IntelĀ® Software Development Products › IntelĀ® Threading Building Blocks FacebookLinkedInTwitterDiggDeliciousGoogle Plus Defination of posix_memalign Defination of posix_memalign johnsonjthomas Tue, 04/06/2010 - 08:22 Hi, I am trying to port TBB error #3696-d 2.2 to HP-UX IA64 platform. I happen to encounter an error when I was building TBB 2.2. The error is regarding the undefining of posix_memalign in /src/test/test_malloc/test_malloc_compliance.cpp (line no: 257). I checked for the defination of posix_memalign and everywhere the defination is given as error #3696-d cannot int posix_memalign (void **__memptr, size_t __alignment, size_t __size) Line no: 257 in test_malloc_compliance.cpp is Rposix_memalign=posix_memalign; What is the above line supposed to mean (just giving posix_memalign without any parameters)?. Is there any other defination for posix_memalign such that it does not have any parameters?. Any help would be great! Thanks,Johnson RSS Top 8 posts / 0 new Last post For more complete information about compiler optimizations, see our Optimization Notice. Log in to post comments johnsonjthomas Tue, 04/06/2010 - 22:24 Hi, In order to bring more clarity about the problem that I posted in the above post, I have attached the build output file. Any help would be great! Thanks,Johnson Attachments: AttachmentSize Download build_output.txt112.91 KB Top Log in to post comments Alexandr Konovalov (Intel) Wed, 04/07/2010 - 00:04 Rposix_memalign=pos

 

Related content

error #3696-d

Error -d p skipped after PEP Next message issue Thread not working for python relatedl built with HP Compiler on HP-UX ia Messages sorted by date thread subject author New submission from Wong Wah Meng r at freescale com Resending as my old alternative email ID wasn't registered under my account Hello there I included --with-threads option into the configure script calling which it failed to add the -D REENTRANT into Makefile So I manually added this into OPT of the Makefile I ran make again and generated a new python binary However the new binary is still not able