Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#1353 closed bug (fixed)

Missing symbol: confstr

Reported by: aldeck Owned by: axeld
Priority: normal Milestone: R1
Component: - General Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


Missing symbol: confstr

Trying to run the (R5 compiled) python interpreter on Haiku (

on R5:

nm | grep confstr

00015040 T confstr

Python can be conditionaly compiled without confstr but it's still a bug :) Quite mysterious nonetheless, on R5, i can't find it in any header! Should be in unistd.h . I could propose a patch but i'd like to know what others think.

Change History (5)

comment:1 by korli, 12 years ago

Resolution: fixed
Status: newclosed

Added an empty implementation in hrev21810. Please test to see if it works as is.

comment:2 by aldeck, 12 years ago

Tested, the python package on bebits works as is! Thanks. Should i file an enhancement ticket for an implementation of confstr ?

comment:3 by korli, 12 years ago

I don't know the actual BeOS behavior. Also have a look here

comment:4 by aldeck, 12 years ago

Yep, i had a look at this page, thanks for the effort anyway :)

I tried to investigate a maximum on my side, but really couldn't find any declaration of confstr (nor the accompanying _CS_* constants) on R5 (and i searched/greped a lot), i wonder how python could even compile on R5 if i can't find it in any header.

comment:5 by korli, 12 years ago

I created a test I did on BeOS and only the name "0" returns an empty string. Committed in revision 21840.

Note: See TracTickets for help on using tickets.