Bug 4600 - make python_ext fails for 3.0.25rc3
make python_ext fails for 3.0.25rc3
Status: RESOLVED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: python
3.0.25
All All
: P3 normal
: none
Assigned To: Tim Potter
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-05-08 08:46 UTC by Mark Pröhl
Modified: 2007-05-12 12:44 UTC (History)
0 users

See Also:


Attachments
update python bindings for 3.0.25rc3 (2.61 KB, patch)
2007-05-12 05:27 UTC, Steve Langasek
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Pröhl 2007-05-08 08:46:49 UTC
Building Python extension via make python_ext fails:

  ...
                   from python/py_spoolss_printers_conv.c:21:
/usr/include/features.h:150:1: warning: this is the location of the previous definition
python/py_spoolss_printers_conv.c:106: error: structure has no member named `flags'
python/py_spoolss_printers_conv.c:106: error: initializer element is not constant
python/py_spoolss_printers_conv.c:106: error: (near initialization for `py_PRINTER_INFO_3[0].offset')
python/py_spoolss_printers_conv.c:106: error: initializer element is not constant
python/py_spoolss_printers_conv.c:106: error: (near initialization for `py_PRINTER_INFO_3[0]')
python/py_spoolss_printers_conv.c:107: error: initializer element is not constant
python/py_spoolss_printers_conv.c:107: error: (near initialization for `py_PRINTER_INFO_3[1]')
error: command 'gcc' failed with exit status 1
Comment 1 Steve Langasek 2007-05-12 05:27:09 UTC
Created attachment 2689 [details]
update python bindings for 3.0.25rc3

the attached patch fixes make python_ext for me in 3.0.25rc3.
Comment 2 Volker Lendecke 2007-05-12 12:44:13 UTC
Checked in. Thanks!

Volker