Home > error 3696 d > error #3696-d

Error #3696-d

skipped after PEP393 Next message: [issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64 Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] New submission from Wong Wah Meng : 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 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". 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 detecte

Sign in Pricing Blog Support Search GitHub This repository Watch 9 Star 40 Fork 9 openntpd-portable/openntpd-portable Code Issues 6 Pull requests 0 Projects 0 Pulse Graphs New issue fallback functions request #5 Open kinichiro opened this Issue Jan 19, 2015 · 4 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 3 participants kinichiro commented Jan 19, 2015 Hi, I https://mail.python.org/pipermail/python-bugs-list/2011-September/148737.html would like to port openntpd to other than *bsd and linux. And I found that fallback functions below are needed in hpux environment. vsyslog() and prototype in stdarg.h [used in log.c] getifaddrs(), freeifaddrs() and ifaddrs.h [used in server.c] strsignal() and prototype in string.h [used in ntpd.c] daemon() and prototype in unistd.h [used https://github.com/openntpd-portable/openntpd-portable/issues/5 in ntpd.c] Can you add these functions like compat/bsd-asprintf.c ? Thanks. kinichiro referenced this issue Jan 20, 2015 Closed porting to other than *bsd and linux #4 OpenNTPD Portable member busterb commented Jul 18, 2015 daemon and getifaddrs are added now. strsignal probably needs to be written in an OS-dependent way - e.g. OpenBSD possibly has a different set of available signals than HP-UX, such as SIGINFO. pbhenson commented Jul 20, 2015 daemon I'd expect to work as is, it's pretty simple (although you'll need to copy it to daemon_hpux.c and twiddle some autoconf), the getifaddrs works under S10 but I'm not sure if it will work under hpux, you'll need to try it (with the same caveat of copying it to getifaddrs_hpux.c and tweaking autoconf). Here's a vsyslog for hpux: https://github.com/vincentbernat/lldpd/blob/master/src/compat/vsyslog.c It's under the ISC license which I believe is ok to pull in. As far as strsignal, that's just cosmetic. For a f

InBuy 99181 Homes for Sale99181 Open Houses99181 Foreclosures99181 New Homes99181 Recently SoldStevens County Homes for SaleStevens County Open HousesStevens County Recently SoldMost https://www.trulia.com/property/3229443181-3696-D-Waitts-Lake-Rd-Valley-WA-99181 Recent Washington ListingsAll Washington Homes for SaleAll Trulia Homes for SaleRent 99181 Apartments for Rent99181 Houses for Rent99181 Rooms for RentStevens County Apartments http://osdir.com/ml/python-compiler/2011-09/msg00002.html for RentStevens County Houses for RentStevens County Rooms for RentAll Washington RentalsSee the Newest ListingsAll Trulia RentalsCreate Your Rental ResumeMortgage Get Pre-ApprovedValley Mortgage error #3696-d RatesValley Refinance RatesWashington Mortgage RatesWashington Refinance RatesMortgage CalculatorRent vs Buy CalculatorValley Mortgage LendersAll Trulia Mortgage & Refi RatesSell What's My Home WorthFREE List your PropertyFREE List your RentalFind an Agent 99181 Real Estate Agents99181 Real Estate BrokersTrulia Agent DirectoryMore Trulia BlogsMaps by TruliaReal Estate Insurance GuidesLocal Info error #3696-d 99181 Real Estate Overview99181 Market Trends99181 Schools99181 CrimeAll Trulia Neighborhood GuidesGo Mobile with TruliaAdvice 99181 Q&AGuidesAsk a QuestionHelp CenterFor Professionals Get Leads by ZIPSeller LeadsTrulia ProSubmit ListingsSaved HomesSaved SearchesSign In Request More Info Get Pre-Qualified Find out what your home is worth. Get My Home Value Contact for estimate Refinance your home | Photos (19) View Map Photos (19) View Map Photos (19) Street View UNKNOWN 3696 D Waitts Lake Rd Valley, WA 99181 See your commute times Single-Family Home 1,100 sqft $105/sqft Lot size: 10.0 acres Built in 1977 180+ Days on Trulia Provided By: PARK STREET GROUP Edit Home Facts Property Details for 3696 D Waitts Lake Rd Sold > WA > Valley > 99181 > 3696 D Waitts Lake Rd 997 views Description provided by Trulia This Single-Family Home is located at 3696 D Waitts Lake

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 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:8548: result: no configure:8556: checking for pthread_create in -lpthread configure:8572: cc +DD64 -I/home/r32813/local/include -o conftest -g -L/home/r32813/local/lib -L/home/r32813/Build/2.7.1/Python-2.7.1 conftest.c -l nsl -lrt -ldld -ldl -lpthread >&5 Regards, Wah Meng Genesis Wafermap Support Ticket: To report a problem: http://dyno.freescale.net/Question/QuestionMain3.asp?location=zmy02&category=&tickettype=6820 To request a service: http://dyno.freescale.net/Question/Questio

 

Related content

error #3696-d cannot open source file

Error -d Cannot Open Source File p User List Committer List Help Tracker Documentation Tracker Development Report Tracker Problem relatedl Issue classification Title Thread not working for python built with HP Compiler on HP-UX ia Type compile error Stage resolved Components Build Versions Python Python Python Python 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 - - by wah meng last changed - - by py user This issue is now closed Files File name Uploaded Description Edit issue- diff