Python26 compilation problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mathew

    Python26 compilation problem

    I am getting
    Modules/config.c:39: error: expected declaration specifiers or '...'
    before numeric constant

    because of
    extern void initsocket(2)(v oid);

    in config.c

    What is this? How do I fix it?


    Mathew
  • M.-A. Lemburg

    #2
    Re: Python26 compilation problem

    On 2008-10-23 18:32, Mathew wrote:
    I am getting
    Modules/config.c:39: error: expected declaration specifiers or '...'
    before numeric constant
    >
    because of
    extern void initsocket(2)(v oid);
    >
    in config.c
    >
    What is this? How do I fix it?
    Without more information on platform, compiler, OS there's not
    a lot we can do to help.

    Note that you normally shouldn't have such a line in config.c,
    unless you've modified Modules/Setup.

    --
    Marc-Andre Lemburg
    eGenix.com

    Professional Python Services directly from the Source (#1, Oct 24 2008)
    >>Python/Zope Consulting and Support ... http://www.egenix.com/
    >>mxODBC.Zope.D atabase.Adapter ... http://zope.egenix.com/
    >>mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
    _______________ _______________ _______________ _______________ ____________

    :::: Try mxODBC.Zope.DA for Windows,Linux,S olaris,MacOSX for free ! ::::


    eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
    Registered at Amtsgericht Duesseldorf: HRB 46611

    Comment

    Working...