python / cpython

The Python programming language
https://www.python.org/
Other
59.73k stars 28.95k forks source link

Missing .h files and compiler warnings #34906

Closed 50eff062-408a-4098-b1b2-8222303b9d0c closed 22 years ago

50eff062-408a-4098-b1b2-8222303b9d0c commented 22 years ago
BPO 448481
Nosy @jackjansen

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields: ```python assignee = 'https://github.com/jackjansen' closed_at = created_at = labels = ['OS-mac'] title = 'Missing .h files and compiler warnings' updated_at = user = 'https://bugs.python.org/anonymous' ``` bugs.python.org fields: ```python activity = actor = 'nobody' assignee = 'jackjansen' closed = True closed_date = None closer = None components = ['macOS'] creation = creator = 'anonymous' dependencies = [] files = [] hgrepos = [] issue_num = 448481 keywords = [] message_count = 4.0 messages = ['5802', '5803', '5804', '5805'] nosy_count = 2.0 nosy_names = ['nobody', 'jackjansen'] pr_nums = [] priority = 'normal' resolution = None stage = None status = 'closed' superseder = None type = None url = 'https://bugs.python.org/issue448481' versions = ['Python 2.2'] ```

3772858d-27d8-44b0-a664-d68674859f36 commented 22 years ago

Attempted to build 2.2a1 on Mac OS X 10.0.4. Got a LOT of compiler warnings (mostly "function declaration not a prototype"), but make specifically stopped when trying the following: Python/dynload_next.c:30: header file 'mach-o/ rld.h' not found Python/dynload_next.c:51: undefined type, found `NXStream' cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode make: *** [Python/dynload_next.o] Error 1

I can redirect all warnings and errors to a .txt file and e-mail it to anyone who might want to have a look.

-John Buell

jackjansen commented 22 years ago

Logged In: YES user_id=45365

This should be fixed in the CVS repository as of this afternoon. Please let me know if there are more problems.

3772858d-27d8-44b0-a664-d68674859f36 commented 22 years ago

Logged In: NO

make got a lot further this time: cc -u __dummy -u _PyMac_Error -framework System - framework Foundation -framework Carbon -o python \ Modules/python.o \ libpython2.2.a -lpthread -ldl
/usr/bin/ld: can't create output file: python (Is a directory, errno = 21) make: *** [python] Error 1

Except for that bit about the output file. I'm wondering if anyone else is having that problem, or if it's unique to the way I set up my directories. I've got everything in / Users/jbuell/Documents/Python with the full cvs directories underneath that.

-John Buell

3772858d-27d8-44b0-a664-d68674859f36 commented 22 years ago

Logged In: NO

don't forget --with-dyld after ./configure to enable dynamic load see ./configure --help to have more information